locked
Failed to grant permission to execute (Exception from Hresult: 0x80131418) RRS feed

  • Question

  • SharePoint 2007 x64, running on server 2008 SP2.

    2 times now, I have been called because our main SharePoint Portal 2007 application is not accessable.

    Users get an this error when accessing the page.(in the standard stack trace looking page)

    "Failed to grant permission to execute (Exception from Hresult: 0x80131418)"

    This is only happening on one server in a 2WFE farm.  The other WFE seems fine. 

    Digging into the ULS logs, I see alot of these entries start at about the same time as the error,

    While initializing navigation, found Page placeholder but object was not found at: /PAGES/RECOGNITION.ASPX.

    While initializing navigation, found Page placeholder but object was not found at: /PAGES/INFORMATION.ASPX.

    There are many of these errors, one for each page in the /PAGES library.

    After those errors, I see many of these errors in ULS:

    Unable to open config regkey, using defaults

    AppDomainUnloadListener.RegisterSelf() entered lock(this=39086322)

    And then tons of these,

    The SPPersistedObject with Name SPContentDB, Id 61a61f65-2b2c-4392-8a42-9ed81b37ce0b, Parent b3edf5e4-1558-4c09-b8a4-0eeb34e6238d failed to initialize with the following error: System.TypeInitializationException: The type initializer for '<Module>' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'msvcm80, Version=8.0.50727.5592, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) File name: 'msvcm80, Version=8.0.50727.5592, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.Security.Policy.PolicyException: Execution permission cannot be acquired. at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPse

    AND

    The SPPersistedObject with Name SPAppPool01, Id bb18cbdd-ae75-4729-b0b1-677597db44d4, Parent 43a2fc83-7b42-41f5-9d95-80d445ce3cc6 failed to initialize with the following error: System.TypeInitializationException: The type initializer for '<Module>' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'msvcm80, Version=8.0.50727.5592, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) File name: 'msvcm80, Version=8.0.50727.5592, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.Security.Policy.PolicyException: Execution permission cannot be acquired. at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, P

    I did a search for msvcm80, and I see it in,

    D:\oracle\product\11.2.0\client_1\inventory\Scripts\ext\bin

    C:\hp\hpdiags\Microsoft.VC80.CRT

    C:\ecc\exec\MNR610

    Is this an issue with the Oracle client?


    Joshua Fuente

    Thursday, August 30, 2012 1:44 PM

Answers

All replies

  • Hi,

    Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.

    Thanks,

    Entan Ming

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contacttnmff@microsoft.com.


    Entan Ming

    TechNet Community Support

    Friday, August 31, 2012 6:08 AM
    Moderator
  • Hello Joshua,

    It seems that the assembly does not have Full Trust permissions to load. You can use Assembly Binding Log Viewer http://msdn.microsoft.com/en-us/library/e74a18c4(VS.80).aspx and  identify the location from where the assembly is getting loaded and reason of the assembly load failure. If it is a trust issue, you can follow the article http://msdn.microsoft.com/en-us/library/zdc263t0(VS.90).aspx To grant full trust to an assembly or folder.

    Thanks,


    Regards,
    Manas Biswas
    Microsoft Online Community Support


    Please remember to click 'Mark as Answer' on the post that helps you or click 'Unmark as Answer' if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, September 4, 2012 6:38 AM
  • We have opened a case with MS on this, seems like a memory leak.  And its happening more frequesntly now.

    Will respond when I have more info.


    Joshua Fuente

    Wednesday, September 5, 2012 5:22 PM
  • After working with MS support, we installed the following hotfix, and it seems to have fixed the issue.

    No App Pool failures since installing.

    http://support.microsoft.com/kb/2481343


    Joshua Fuente

    Thursday, October 25, 2012 1:34 PM