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.

Currently rated 2.0 by 2 people

  • Currently 2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5