这问题经常碰到
一般是web。config有问题。

解决方案 »

  1.   

    应该是iis配置问题
    看看安装后的iisbin目录下的dll没有执行
      

  2.   

    看看对应虚拟目录下bin文件夹下有没有MyApp.dll
      

  3.   

    是global.asax的问题,asp.net应用程序在运行时,会先检查应用程序根目录下是否存在global.asax文件,如果存在就先调用该文件,你的问题很明显,global.asax可能是后来加上去的,加上去后并没有编译它的后代码代码文件,你打开global.asax文件看看,上面应该有:
    <%@ Application Codebehind="Global.asax.cs" Inherits="MyApp.Global" %>
    这句,你把它删除了或者,如果global.asax没用的话,把这个文件删除了,然后运行就可以了。--------------------------------
    AspNetPager 免费分页控件4.2版发布,同时发布最新源代码,欢迎下载:http://www.webdiyer.com
      

  4.   

    应用程序缓存有问题。 Try to compile the WebApplication before viewing it (press F5 in the VS.NET IDE), or change<%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication1.Global" %>===><%@ Application src="Global.asax.cs" Inherits="WebApplication1.Global" %>