Friday, 19 December 2008

Loading this assembly would produce a different grant set from other instances

If you get this exception message when trying to browse an ASP.NET site you are developing, first stop the site in IIS, then clear out the ASP.NET Temporary Files folder that relate to your site (default location is under C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files). Then start IIS and try browsing the site.

3 comments:

gameirow said...

Thanks, Neil!
Saved my bacon...

Victor said...

Thanks for the post. Got our site up and back running too.

jaymanika said...

Thanks very much Neil, this works.