出现错误Cannot convert type 'ASP.content_master' to 'System.Web.UI.WebControls.Content'
xuyo 2006-09-05 11:38:16 下面是出错的信息
Errors:
Compilation Error
Compiler Error Message: CS0030: Cannot convert type 'ASP.content_master' to 'System.Web.UI.WebControls.Content'
Source Error:
Line 119:
Line 120: public content_master() {
Line 121: ((Content)(this)).AppRelativeVirtualPath = "~/Content.master";
Line 122: if ((global::ASP.content_master.@__initialized == false)) {
Line 123: global::ASP.content_master.@__stringResource = this.ReadStringResource();
我在这里时候找到答案了:http://forums.asp.net/3/1169996/ShowThread.aspx。
里面的方法说把Web.config里面的一个属性改成
<compilation batch="false"/>
但是我还是不行。不知道什么原因?我要怎么解决呢??
第二,好像微软也有针对这个问题的解决方案。
http://support.microsoft.com/kb/915782/zh-cn
说Runtime里面出错,特别是System.web.dll这个文件。
但是我怎么在那里去取得更新的补丁呢?