我是ASP.Net的初学者WebForms.I在运行我的应用程序时遇到问题。ASP.NET WebForms
这是我的编译错误:
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: CS0433: The type 'ASP.global_asax' exists in both 'c:\Users\DELL\AppData\Local\Temp\Temporary ASP.NET Files\root\7b316ac0\74a3eae4\App_global.asax.nlr3yglh.dll' and 'c:\Users\DELL\AppData\Local\Temp\Temporary ASP.NET Files\root\7b316ac0\74a3eae4\assembly\dl3\c7339aea\6d83affb_aa85d001\App_global.asax.DLL'
源错误:
Line 165: }
Line 166:
Line 167: protected ASP.global_asax ApplicationInstance {
Line 168: get {
Line 169: return ((ASP.global_asax)(this.Context.ApplicationInstance));
源文件:C:\用户\ DELL \应用程序数据\本地的\ Temp \临时ASP.NET文件\根\ 7b316ac0 \ 74a3eae4 \ App_Web_userlogin.ascx.cdcab7d2.wpz3jgra.0.cs行:167
你的源代码在哪里? – warunapww
可能的重复[编译错误:类型'ASP.global \ _asax'存在于这两个DLL中](http://stackoverflow.com/questions/20852039/compilation-error-the-type-asp-global-asax-exists -in-both-dlls) –
检查您是否没有名为global.asax的2个文件。如果您不这样做,请尝试上述链接中的步骤。 –