ASP.NET Error: Could not load file or assembly App_Web_z9w33txs

asp.net

How did you get rid of these annoying ASP.NET errors:
Could not load file or assembly 'App_Web_z9w33txs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

This has only happened to me once before. It seems like it is related to ASP.NET caching some assembly dynamically, but not recompiling it for some reason. Thoughts? How do you fix this? What causes it?

More Info:
This is happening to a WCF Service being called via Ajax from my Default.aspx page.
The Default.aspx page loads fine.

removed stack trace

Final Update:
So this is happening to me at least 5 times a day now.
I have to shutdown the app pool.
Go into C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
and deleted the files here
Then restart the app pool.
Anybody else run into something like this? Should I just break down and create a support case with Microsoft.

Best Answer

Close your solution, shutdown IIS, go to:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\

And delete all of those files. Then restart IIS and try it all again.