locked
why LT is trying to load 'msshrtmi' when I do not use Azure??? RRS feed

  • Question

  • Hi,

    I'm debugging LS Web application in VS2012 not using Azure and I'm getting this exception when I click delete button on data grid

    Could not load file or assembly 'msshrtmi' and Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment

    which freezes the app.  Can somebody advise why is it loading this Azure specific file?

    Should I install Azure SDK ?  below is the call stack

    thanks 

    

    System.ObjectDisposedException
    System.ObjectDisposedException
    System.ObjectDisposedException
    System.TypelnitializationException
    System.Configuration.ConfigurationErrorsException
    System.PlatformNotSupportedException
    System.TypelnitializationException
    SystemJO.FileNotFoundException
    SystemJO.FileNotFoundException
    System. NullReferenceException
    System.ServiceModel.CommunicationException
    System.Configuration.ConfigurationErrorsException
    System.PlatformNotSupportedException
    System.PlatformNotSupportedException
    Cannot access a disposed object.
    Cannot access a disposed object.
    Cannot access a disposed object.
    The type initializer for ‘Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment threw an exception.
    This element is not currently associated with any context
    This operation requires 115 integrated pipeline mode.
    The type initializer for ‘Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment’ threw an exception.
    Could not load file or assembly ‘msshrtmi, Versiontl.6.O.O, Culture=neutral, PublicKeyTokenz3lbf3856ad364e35 or one of its dependencies. The system cannot find the file specified.
    Could not load file or assembly msshrtmi, Version=1.6.O.O, Culturetneutral, PublicKeyToken=31bf3856ad364e35 or one of its dependencies. The system cannot find the file specified.
    Object reference not set to an instance of an object.
    No channel should ever be opened with this host.
    This element is not currently associated with any context
    This operation requires 115 integrated pipeline mode.
    This operation requires 115 integrated pipeline mode.

    call Stack:
    Ilicrosoft.WindowsAzure.ServiceRuntime.RoleEnvironment..cctor
    VlicrosoftLightSwitch.WebHostimplementation.Platform.HostEnvironment.RunninglnAzure
    ilicrosoft.LightSwitch.BaseServices.Loggingimplementation.LoggingServiceinitialize
    w’licrosoft.LightSwitch.BaseServices.Implementation.Loader.LoggingServiceLoader.OnLoadComplete
    Vlicrosoft.LightSwitch.BaseServices.SubsystemJmplementation.SubsystemService.Load
    vlicrosoft.LightSwitch.BaseServices.SubsystemJmplementation.SubsystemService.Load
    vlicrosoft.LightSwitch.WebHostingJnternal.WebHostBootstrapper.LoadComponents
    vlicrosoft.LightSwitch.WebHostingJnternal.WebHostBootstrapperinitialize
    ilicrosoft.LightSwitch.Security.ServerGenerated.Implementation.AuthenticationService..ctor
    šystem.RuntimeType.C reatelnsta nceSlow
    šystem.RuntimeType.Createlnsta nceDefaultCtor
    iystem.Activator.C reatelnstance
    ;ystem.Activator.Createlnstance

    Wednesday, December 2, 2015 2:31 AM

Answers