Click here to Skip to main content
13,768,110 members
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 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
Please Sign up or sign in to vote.

Solution 1

Hello friend,

please delete all temporary 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.
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

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 | Cookies | Terms of Service
Web06-2016 | 2.8.181116.1 | Last Updated 2 Mar 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

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