七年开发,第一次遇到的怪问题,急助
点击查看错误链接: http://www.skzp.gd.cn/Control.aspx
错误截图
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: CS0117: 'System.Web.UI.Control' does not contain a definition for 'AppRelativeVirtualPath'
Source Error:
Line 120: public control_aspx() {
Line 121: string[] dependencies;
Line 122: ((Control)(this)).AppRelativeVirtualPath = "~/Control.aspx";
Line 123: if ((global::ASP.control_aspx.@__initialized == false)) {
Line 124: global::ASP.control_aspx.@__stringResource = this.ReadStringResource();
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\23f5c404\df370952\App_Web_control.aspx.cdcab7d2.lkskgfu2.0.cs Line: 122