Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Duplicate type error?

We have been having a random issue with our live website. We're not sure what exactly is causing the issue. We tried clearing the temporary files but the issue happened again. We even killed the IIS app_pool so that it wouldn't be holding any of them in memory. As soon as we put the site back up we get this error again.

Compiler Error Message: CS0433: The type 'ASP.modules_dataentry_provider_orderhistory_ascx' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\44d35bd0\b13314db\App_Web_orderhistory.ascx.8106afdb.spsukqu_.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\44d35bd0\b13314db\App_Web_xg5e4m3x.dll'

like image 800
Chev Avatar asked Dec 09 '11 15:12

Chev


1 Answers

There is not a lot to work with but I think that your deployment of your website went wrong somewhere in the line. You probably only did a overwrite of the folder which could leave old assemblies there. Try to do a clean deploy by first deleting the old assemblies.

like image 83
Martijn B Avatar answered Sep 23 '22 19:09

Martijn B