Compiler Error Message CS0433

Compiler Error Message CS0433
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 'ASP.documentation_documentpermissions_ascx' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\qds\ef40a6d0\76319578\App_Web_bbvyki4z.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\qds\ef40a6d0\76319578\App_Web_documentpermissions.ascx.e4d502b5.p0lnb3jd.dll'
Source Error:
Line 865:       
Line 866:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 867:        private global::ASP.documentation_documentpermissions_ascx @__BuildControlDocumentPermissions() {
Line 868:            global::ASP.documentation_documentpermissions_ascx @__ctrl;
Line 869:      


To remove above error you might have taken following actions.    
 


Delete temporary files (Not worked)

Restart App dev server (Not worked).

Reboot the entire system (not worked)


Solution:

In web.config file, under compilation tag add batch="false" as an attribute.

<compilation batch="false" debug="true" targetFramework="4.0"/>




Or Organize the diectory structure of web solution properly to avoid circular referances.

Tags:

Error The SSIS Runtime has failed to start the distributed transaction due to error 0x8004D01B The Transaction Manager is not available The DTC transaction failed to start This could occur because the MSDTC Service is not runningIt is an error to use a section registered as allowDefinition3dMachineToApplication beyond application level This error can be caused by a virtual directory not being configured as an application in IISSql Server MirroringConfiguration ErrorHTTP Error 404 File or directory not foundYouTube Edit Video 500 Internal Server Error Highly Trained MonkeysOLE DB provider SQLNCLI for linked server returned message The partner transaction manager has disabled its support for remotenetwork transactionsOLE DB provider SQLNCLI for linked server returned message Cannot start more transactions on this sessionMembership ProviderCreate contact us formHow to check image is loaded using JQuery

Author

My name is Satalaj, but people call me Sat. Here is my homepage: . I live in Pune, PN and work as a Software Engineer. I'm former MVP in ASP.net year 2010.
Disclaimer: Views or opinion expressed here are my personal research and it has nothing to do with my employer. You are free to use the code, ideas/hints in your projects. However, you should not copy and paste my original content to other web sites. Feel free to copy or extend the code.
If you want to fight with me, this website is not for you.
 

I'm Satalaj.