1 Reply Latest reply on Jan 4, 2009 3:40 PM by aLTeReGo

    Orion 9.1 Jan Hotfix - Trouble?

    aLTeReGo

      I replaced the file in question and now receive the following error. Anyone else?

       

      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: Could not load file or assembly 'OrionWeb' or one of its dependencies. Access is denied.

      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 'OrionWeb' 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:

      [FileLoadException: Could not load file or assembly 'OrionWeb' or one of its dependencies. Access is denied.]
         System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
         System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
         System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
         System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
         System.Reflection.Assembly.Load(String assemblyString) +25
         System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32
      
      [ConfigurationErrorsException: Could not load file or assembly 'OrionWeb' or one of its dependencies. Access is denied.]
         System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
         System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +211
         System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46
         System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
         System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185
         System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +350
         System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
         System.Web.Compilation.BuildManager.CompileCodeDirectories() +525
         System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +448
      
      [HttpException (0x80004005): Could not load file or assembly 'OrionWeb' or one of its dependencies. Access is denied.]
         System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
         System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
         System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644
      
      [HttpException (0x80004005): Could not load file or assembly 'OrionWeb' or one of its dependencies. Access is denied.]
         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

      Server Error in '/' Application.

      Could not load file or assembly 'OrionWeb' or one of its dependencies. Access is denied.

        • Re: Orion 9.1 Jan Hotfix - Trouble?
          aLTeReGo

          Ok that was easy. I must have accidentally done a move instead of a copy. Moving a file takes the NTFS permissions with the file from it's original source. Copying a file inherits the permissions from the folder it's placed into.

          Hopefully this might help someone else who makes the same mistake.