Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John 115 posts 150 karma points
    Dec 02, 2011 @ 06:10
    John
    0

    This broke my 4.6.1 install. I should have read the instructions :)

    Hello there.

    Silly me didn't read properly that this is for 4.7 only. I am now getting the following error below. I can't log in or do anything to the site :|

    I will report back when I figure out how to fix it. I have things to learn!

    Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 
    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.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    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.


    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


    Stack Trace:

    [FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
    Our.Umbraco.DisableTimeout.Events.ApplicationEventsHandler.RegisterModules() +0

    [InvalidOperationException: The pre-application start initialization method RegisterModules on type Our.Umbraco.DisableTimeout.Events.ApplicationEventsHandler threw an exception with the following error message: Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
    System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +11697998
    System.Web.Compilation.BuildManager.CallPreStartInitMethods() +465
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1167

    [HttpException (0x80004005): The pre-application start initialization method RegisterModules on type Our.Umbraco.DisableTimeout.Events.ApplicationEventsHandler threw an exception with the following error message: Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11686928
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4863749
  • John 115 posts 150 karma points
    Dec 02, 2011 @ 06:36
    John
    0

    Back again.

    Renaming \bin\Our.Umbraco.DisableTimeout.dll did the trick to get me back in.

    Hope this helps someone.

    Thank you 

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Dec 02, 2011 @ 11:41
    Lee Kelleher
    0

    Hi John, glad you sorted it. You can just delete that DLL.

Please Sign in or register to post replies

Write your reply to:

Draft