Server Error in '/' Application.
--------------------------------------------------------------------------------Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0030: Cannot convert type 'ASP.content_aspx' to 'System.Web.UI.WebControls.Content'Source Error: Line 120: public content_aspx() {
Line 121: string[] dependencies;
Line 122: ((Content)(this)).AppRelativeVirtualPath = "~/Content.aspx";(这一句报错)Line 123: if ((global::ASP.content_aspx.@__initialized == false)) {
Line 124: global::ASP.content_aspx.@__stringResource = this.ReadStringResource();
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a96c4037\92b38740\App_Web_content.aspx.cdcab7d2.tjp9cbqc.0.cs Line: 122 Compiler Warning Messages:
Warning: CS0108: 'ASP.content_aspx.Profile' hides inherited member 'Content.Profile'. Use the new keyword if hiding was intended.
Source Error:
--------------------------------------------------------------------------------Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0030: Cannot convert type 'ASP.content_aspx' to 'System.Web.UI.WebControls.Content'Source Error: Line 120: public content_aspx() {
Line 121: string[] dependencies;
Line 122: ((Content)(this)).AppRelativeVirtualPath = "~/Content.aspx";(这一句报错)Line 123: if ((global::ASP.content_aspx.@__initialized == false)) {
Line 124: global::ASP.content_aspx.@__stringResource = this.ReadStringResource();
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a96c4037\92b38740\App_Web_content.aspx.cdcab7d2.tjp9cbqc.0.cs Line: 122 Compiler Warning Messages:
Warning: CS0108: 'ASP.content_aspx.Profile' hides inherited member 'Content.Profile'. Use the new keyword if hiding was intended.
Source Error:
==============
转化出错,
应该是 this为 ASP.content_aspx,
但是 (Content)(this) 转化的时候 出错