A Slippery System.IO.FileLoadException

After installing the framework 3.5 SP1 (kb 951847) (which also updates framework 2.0) an asp.net web app occasionally began throwing the following exception, as reported by their custom error page: An error occurred attempting to process your request. Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401) MyCustomDll.MyCustomDllat MyCustomDll.MyCustomDll. This…

0

When VS2005 won’t Break on Breakpoints

  On a fully updated Vista workstation running Visual Studio 2005 SP1 a breakpoint would be set anywhere in a simple asp.net web application, debugging would begin, and the breakpoint would be missed.   It would not break on the breakpoint.  During troubleshooting it became clear that Visual Studio was installed onto an external USB drive…

0

ISS can lock the ASP.net Temp folder files

  Problem: If you’re browsing to an asp.net page and your browser reports “Sever Error in ‘/’ Application.” and “The current identity… ASPNET does not have write access to ‘c:Windows\microsoft.net\framework\v2.0.50727\Temporary ASP.net files’, you might naturally think of adjusting NTFS permissions for the ASPNet account or running aspnet_regiis -ga in the attempt to correct the problem….

0