« Previous Next »

Thread: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Last post 09-30-2008 10:07 AM by tomkmvp. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 04-07-2008, 6:31 PM

    • dblount
    • Not Ranked
    • Joined on 04-07-2008, 10:23 PM
    • Posts 1

    Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    I came across this error today after restarting one of my production web servers. The issue only appeared when ASP.NET was initializing on the first request from a web browser. If you requested the website a second time, the application would finally kick-in and start. However, if you restarted the W3SVC service (effectively reloading IIS and ASP.NET), and request the site again, you'll get the error. I looked in C:\WINDOWS\assembly, and Microsoft.Jscript was in the GAC. I figured this might be a permission issue with the IIS worker process identity that ASP.NET uses but it has been working now for some time. We currently host our web-app over a network share, and have a separate identity access the network share. This is the error that we are getting. Any help would be greatly appreciated. Thanks in advance.

    Server Error in '/' Application.


     

    Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    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.Runtime.InteropServices.COMException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    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:

    [COMException (0x8000ffff): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))]
    
    [FileLoadException: Could not load file or assembly 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))]
       System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
       System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +78
       System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
       System.Type.GetType(String typeName) +48
       System.CodeDom.Compiler.CompilerInfo.get_IsCodeDomProviderTypeValid() +9
       System.Web.Compilation.CompilationUtil.GetRecompilationHash(CompilationSection ps) +1813
       System.Web.Configuration.CompilationSection.get_RecompilationHash() +70
       System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate2(StandardDiskBuildResultCache diskCache) +780
       System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(StandardDiskBuildResultCache diskCache) +46
       System.Web.Compilation.BuildManager.RegularAppRuntimeModeInitialize() +419
       System.Web.Compilation.BuildManager.Initialize() +235
       System.Web.Compilation.BuildManager.InitializeBuildManager() +228
       System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +329
    
    [HttpException (0x80004005): Could not load file or assembly 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279


     

    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

     

     

     

  • 07-09-2008, 1:48 PM In reply to

    Re: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    I am getting the exact same error and using the same setup for my application that you mentioned you are using for yours.

    We were getting this error first:

    Unable to get the private bytes memory limit for the W3WP process

    But then we ran both of the following:

        metaacl.vbs IIS://Localhost/W3SVC/AppPools IIS_WPG U

       and this

            aspnet_regiis -ga <WindowsUserAccount>

    We then noticed that the user account to connect to the network share where the application source files are located was not under the IIS_WPG group so we added it and now we see the warning you mentioned.

    Did you get or find anything on how to solve this?

     

  • 09-29-2008, 3:44 PM In reply to

    Re: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    Hi,

    Iam getting the same error when i try to invoke the classes from the .OCX object i am the error states that, "Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))" please help me to find the solution with the STEPS Basis for this. Thanks in Advance.

     

     

  • 09-30-2008, 10:07 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,079
    • IIS MVPs

    Re: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    sureshbalu:
    getting the same error when i try to invoke the classes from the .OCX object
    What?  An ocx is an ActiveX control typically used in client-side programming.  What are you doing exactly?

Page 1 of 1 (4 items)