These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Permissions issue on Windows Impersonation

I have installed the trial and have it working well until I decided to have a root folder on a network drive.  So I set up Windows impersonation as described in several other threads.  Now, when I log in, I get the following error:

[FileLoadException: Could not load file or assembly 'GleamTech.FileVista' or one of its dependencies. Access is denied.]

[FileLoadException: Could not load file or assembly 'GleamTech.FileVista, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null' 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.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 'GleamTech.FileVista, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied.]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +3479033
   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) +180
   System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +3446613
   System.Web.Compilation.BuildManager.CompileGlobalAsax() +51
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +462

[HttpException (0x80004005): Could not load file or assembly 'GleamTech.FileVista, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null' 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) +456

[HttpException (0x80004005): Could not load file or assembly 'GleamTech.FileVista, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3426839
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +149




I have granted modify permission to the entire C:\inetpub\wwwroot\filevista folder where the installation is and I still have this problem.  
Derek 6/29/2009 9:13 AM
Please check the permissions of the impersonated user on these folders:

c:\Windows\Temp
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary Asp.NET Files 
Cem Alacayir 7/21/2009 3:14 PM