asp.net access is denied: … assembly could not be loaded

Wow, I didn’t think I’d run into conflicts with Index Server and ASP.NET, but I did.

http://support.microsoft.com/default.aspx?scid=kb;en-us;329065

There is really no need for Index Server to index the ASP.NET Temporary Files folder. Adding it to the Index Server exclude list is pretty easy. I’m just very surprised that this was the issue. I was guessing my error would be a CAS thing.

Oh well.

So if you get an ugly asp.net page error that says something about “Access is Denied: ‘YourClassNameHere’” and then some source junk to make you go down wrong paths, and eventually an “Assembly Load Trace: The following information can be helpful to determine why the assembly ‘YourAssemblyNameHere’ could not be loaded.“, and then some LOG: stuff, well then you probably need to follow the instructions in that there link.