Compilation Error: The type exists in both...

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi all,

I've been running into this problem a lot in recent days, and even after searching the web for a solution I haven't been able to permanently resolve it. When I visit a certain page on my site, the application crashes and I receive the following error:

Server Error in '/' Application:

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 '...' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0b66f482\64e4e48d\....dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0b66f482\64e4e48d\....dll'

I know what object the error is complaining about, but my site has been running steady without any of these errors up until recent, and I would like to know if there is a reliable solution for this.

Thank you.
6 years ago
I hope this was the right place to ask this type of question.
6 years ago
Can you please tell me which version are you using?
6 years ago
I'm using nopCommerce 3.9.
5 years ago
Same thing here, i followed a tutorial to add a table and it specified that i had to have the Model class in a folder both in Nop.Admin and Nop.Web, now when i try to use the Model class I get:
The type 'FeatureCommentsMasterModel' exists in both 'Nop.Admin, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null' and 'Nop.Web, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null'
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.