Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compilation error CompilerGlobalScopeAttribute

Status
Not open for further replies.

bereza

Technical User
Jun 14, 2006
105
0
0
EU
Hi all,

I have a litle asp.net application (.net 2.0 and VS 2008). When I run F5 in Visual Studio everything goes well but when I deploy it and run it generates following 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: CS0433: The type '_Default' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c4254010\b2850743\assembly\dl3\bd35e9bb\ee86cc9e_c3ffc801\App_Web__xh1haed.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c4254010\b2850743\assembly\dl3\ae57700a\388b6f9e_c3ffc801\App_Web_drcicgyp.DLL'

Source Error:


Line 116:
Line 117: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 118: public class default_aspx : global::_Default, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
Line 119:
Line 120: private static bool @__initialized;


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c4254010\b2850743\App_Web_default.aspx.cdcab7d2.vpppdgdc.0.cs Line: 118
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top