Click here to Skip to main content
13,259,194 members (49,731 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
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 2-Mar-13 2:11am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01 | 2.8.171114.1 | Last Updated 2 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100