Click here to Skip to main content
15,922,155 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i received the source code from my friend and there was a precompiledapp.config file in that source code.I removed the precompiledapp.config.The code is of a website.But now whenever i try to run or build ,i am receiving an error.

CS0433: The type 'ProfileCommon' exists in both 'c:\Users\User\AppData\Local\Temp\Temporary ASP.NET Files\moople\2c77b65f\d372511\assembly\dl3\d6f80645\80bdf83c_9459cf01\App_Code.DLL' and 'c:\Users\User\AppData\Local\Temp\Temporary ASP.NET Files\moople\2c77b65f\d372511\App_Code.__aymstk.dll'

Even clearing the temporary files doesn't solves the problem.

How could it be resolved?
Posted
Updated 24-Apr-14 5:53am
v2

This can be caused by a variety of reasons. I would suggest searching google for it.

1. One reason can be multiple web.configs.
2. An extra dll in your bin you shouldn't have.
 
Share this answer
 
Go back to your friend and get him to give you the source code that he compiled to start with.
 
Share this answer
 
Comments
Sumit Bhargav 24-Apr-14 12:15pm    
it can't be,he himself have a compiled code.
OriginalGriff 24-Apr-14 12:44pm    
So what you are saying is that neither you nor your "friend" have access to the source code for this website?
Sumit Bhargav 24-Apr-14 21:50pm    
i have the source code,but there is a precompiledapp.config with the code and if i delete the file it gives that error.

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