Hope this helps somebody because I was tearing my hair out
Here's what I did to fix it.
1) Removed the temporary asp.net files for the application
2) Removed the dlls that are built by the application (not any 3rd party
dlls you may have like ajax that you don't build)
3) Rebuilt the application
4) Fix the programming errors that arise
You are likely to find that, despite the fact that the application compiled
ok before deplyment, there is some programming error to be resolved that
will show up now that the files have to be rebuilt completely.
Good hunting
Tony S.
"TonyS." <anthony dot small at btclick dot comwrote in message
news:h4******************************@bt.com...
Hello,
Can anyone comment on how to resolve this error below? I compile my site
locally and it works fine. I go to deploy it and the following error
appears. I can't seem to get past it. Any help would be greatly welcome.
Thanks a lot in advance
"error BC2000: compiler initialization failed unexpectedly: Project
already has a reference to assembly App_Code. A second reference to
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\MyCode\aba95704\e72e1c46\App_Code.dll' cannot be added."
Tony S.