升级.net framework v1.0 to 2.0

今天升级一个旧的程序从v1.0到2.0,更新到服务器上的时候居然出错了.出错信息如下:

类型“web.Global”不明确: 它可能来自程序集“D:\web\TMS\bin\TMS.web.DLL”或程序集“C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\tms\6b0a4f65\596fddb8\App_Code.jhi2gqkh.DLL”。请在类型名称中显式指定程序集。

该程序在本机及测试环境都非常正常,所以排除是程序本身的问题,应该是跟服务器环境有关.

由于是覆盖式更新,原来bin目录下面的dll文件并没有被删除.该项目的在v1.0下面的编译文件TMS.dll并没有被删除,把该文件删除后,一切正常.

This entry was posted in ASP.NET and tagged , , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word