Skip to content

Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

March 1, 2012
Error:

Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

Solution:

Performing an iisreset solved the problem 🙂

Here is the full error with call stack:

Server Error in ‘/’ Application.
________________________________________
Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)]
System.Web.UI.Control.OnInit(EventArgs e) +137
System.Web.UI.Page.OnInit(EventArgs e) +16
System.Web.UI.Control.InitRecursive(Control namingContainer) +524
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1520

________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.4963; ASP.NET Version:2.0.50727.4971

Advertisements

From → MOSS 2007, WSS 3.0

2 Comments
  1. abdala saieg permalink

    im getting this error when i try to add a new page and i restart the iis and still giving me the same error

  2. Eric permalink

    I get this problem when attempting to do anything with tasks.
    An IISRestart does temporarily fix the problem but it comes back after a couple days. Without scheduling a daily IISRestart, is there a permanent fix?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: