Tuesday, October 5, 2010

Type exists in both App_Web_type.#.dll and App_Web_#.dll

Error:
The type ''type" exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_type.cdcab7d2.7qilrjrp.dll' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_a0xipze6.dll'

Solution:
Add batch="false" to web.config node compilation, i.e.
<system.web>...
<compilation batch="false">

References:
http://forums.asp.net/t/1249970.aspx

No comments:

Post a Comment

There was an error in this gadget