OK, this one is a real head scratcher.
I have a paticuarl application on my beta server that flips out almost every time I modify the source code. It gives me an error saying that the cached assembly doesnt exist. Sounds like a permission issue right But I've checked for all of that... and my other apps work just fine. So I google and find some info on app-pools, so i stick the app in its own app pool. Still.... same problems. I spent an entire day fighitng with this thing... all to no avail.
It is a win 2k3 server with .net 1.1, and 2.0 installed. I have currently ONLY .net 1.1 apps setup in IIS.
Could this be caused by a flaw in my code If so How
This is extremely frustrating because its preventing me from coding :| Someone please save me from my looming deadline!

Unable to locate Assembly asdlfkjasdfkljasd
WRuschhaupt
I had a web service that would crash due to a serialzation/pre-compilation issue that ASP.Net could not handle. During ASP.Net (under .Net 1.1) precompilation stage, a specific user structure which needed serialization had an internal construct that serialization could not handle would crash it on startup....later fixed in .Net 2...
You may have something similar....
Ankini
Ned Rise
Otherwise do you do an iisreset on the command line before accessing the site Does the error happen Thanks/Good luck.
Xadja
This sounds like the security issue on the temp folder, maybe exactly this or at least similar:
http://support.microsoft.com/kb/823196/en-us
Serialization sometimes generates a custom assembly, and this is compiled into the temp folder with a funny-looking name.
jsedlak
Anyway with both 1.1 or 2.0 I still have the same problem with the "missing assembly".
HellsChicken
1. I can wait a while, IE, goto lunch and come back, and its working until of course I update the file again.
2. I can restart the machine.
DuncanP
Rebooting seems to fix the problem... but rebooting everytime I update my source code is a down right pain.
The error almost always comes up when I update my source code (though not always).
Just a few minutes ago I got this,
Cannot find the assembly tfu9nhue, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.
Not to be outdone I logged into the server and ran:---------------------------------------------------
C:\>dir *tfu9nhue* /s
Volume in drive C has no label.
Volume Serial Number is 8433-48C8
Directory of C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\6a14841f\f50bbcb8
09/08/2006 12:05 PM 24,576 tfu9nhue.dll.delete
09/08/2006 12:05 PM 34,304 tfu9nhue.pdb.delete
2 File(s) 58,880 bytes
Total Files Listed:
2 File(s) 58,880 bytes
0 Dir(s) 14,569,046,016 bytes free
---------------------------------------------------
As you can see the files have been appeneded with .delete .. this makes SENSE because the cache dll is no longer relevant since I have updated the source. The question is why the heck is it still looking for it
Here is the stack trace:
tack Trace:
Yes, the server has been running fine for months... this is a sudden and unexpected occurance. It also only happens with this one application in so far as I can tell.
Thanks!
martona
Mitesh Shah923
It happens on 2 other machines as well... I have tested thoroughly. Somethings funky and not getting along with the CLR.