出错信息的例子:
下面这些出错信息,是你遇上这些编译问题时,你也许看到的运行时异常类型的例子:
Unable to cast object of type 'ASP.masterpage_master' to type 'ASP.masterpage_master'.
(无法将ASP.masterpage_master类型的对象转换成ASP.masterpage_master类型)
或者:
Could not load file or assembly 'App_Web_e9dbmaj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
(无法装载文件或程序集“App_Web_e9dbmaj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null”或它的依赖向。系统找不到指定的文件。)
或者:
Compiler Error Message: CS0006: Metadata file 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cms.web\44e73607\b028acb3\App_global.asax.fakktchx.dll' could not be found
(编译错误信息:CS0006:找不到元数据文件“C:\WINDOWS\Microsoft.NET\Framework\v2.0. 50727\Temporary ASP.NET Files\cms.web\44e73607\b028acb3\App_global.asax.fakktchx. dll”。)
或者:
System.InvalidOperationException: The resource class for this page was not found. Please check if the resource file exists and try again
(System.InvalidOperationException: 找不到当前页面的资源类。请检查资源文件确实存在,然后再试。)
相关
Visual Studio 2005 Express Edition 正式版下载地址
WPF最炫,而WCF最实用
值得推荐的asp.net 的在线代理脚本 ASproxy
查询及删除重复记录的方法
配置.net framework 3.0 vs2005开发环境
.NET Framework 3.0 常见问题 FAQ
浅析C#(.net)中的套接字socket编程
Request.Form和Request.QueryString的区别
LinqDataSource“LinqDataSource1”不支持 Select 属性。
C#.net 中的编码 -Encoding