Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
VB
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 'Default2' exists in both 'c:\windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e6254fd6\276f61bf\assembly\dl3\5d098602\1fccebc9_3817ce01\App_Web_pvhiggyi.DLL' and 'c:\windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e6254fd6\276f61bf\assembly\dl3\ecdf8ce7\df1bd4b3_3817ce01\App_Web_oroajjj2.DLL'



Getting Above Error in my asp.net website.
Website Runs ok on local server but when i host it on hosting server it throws above error on few pages.
Posted

1 solution

Hello friend,

please delete all temporary asp.net file from your hosted server and then try to redeploy your website and check it again.

you can find ASP.NET temporary files in below location

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

i have mention directly framework 4.0 files because your error message is targeting that files.

Note : you need to deploy your website on hosted server by publishing it from Visual studio and then host published version of your website to server.
 
Share this answer
 
Comments
nitin bhoyate 2-Mar-13 7:31am    
Dear Tejas Vaishnav Thanks for quick reply,
I tried the same you stated.. But not worked. Few pages are working fine but few are not.
You can check on http://www.ajantaelloracaves.info/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900