[疑难顽贴]不想对CSDN失望.但是这个问题没解决的办法..求求前辈们指点我....
我都不知道Line 118--Line 122的代码是哪的...
ContentRentIn页面中没这些代码...
页面传值给ContentRentIn这个页,报的错。
而且我感觉也不是虚拟服务器设置问题。
服务器和本机都是2.0
本机没问题 上传至服务器报错
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.contentrentin_aspx ' to 'System.Web.UI.WebControls.Content '
Source Error:
Line 118: public contentrentin_aspx() {
Line 119: string[] dependencies;
Line 120: ((Content)(this)).AppRelativeVirtualPath = "~/ContentRentIn.aspx ";
Line 121: if ((global::ASP.contentrentin_aspx.@__initialized == false)) {
Line 122: dependencies = new string[2];
Source File: c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2aacfb15\d01c0502\App_Web_contentrentin.aspx.cdcab7d2.9ztl_s2f.0.cs Line: 120
Compiler Warning Messages:
Warning: CS0108: 'ASP.contentrentin_aspx.Profile ' hides inherited member 'Content.Profile '. Use the new keyword if hiding was intended.
Source Error:
c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2aacfb15\d01c0502\App_Web_contentrentin.aspx.cdcab7d2.9ztl_s2f.0.cs
Line 129: }
Line 130:
Line 131: protected System.Web.Profile.DefaultProfile Profile {
Line 132: get {
Line 133: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
Warning: CS0108: 'ASP.contentrentin_aspx.ApplicationInstance ' hides inherited member 'Content.ApplicationInstance '. Use the new keyword if hiding was intended.
Source Error:
c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2aacfb15\d01c0502\App_Web_c