X.dll是我的C++/CLI dll,放在网站的bin文件夹中.它在本地计算机上运行正常,最初它在服务器上运行正常.但我改变了托管帐户,突然间我收到了这个错误.我应该以某种方式在web.config中引用这个程序集吗?我听说有类似的问题与非托管dll,但有问题的程序集是管理的.完整信息:
无法加载文件或程序集"X.dll"或其依赖项之一.指定的模块无法找到.在System.Web.Configuration.CompilationSection.LoadAssemblyHelper(字符串的AssemblyName,布尔starDirective)在System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()在System.Web.Configuration.CompilationSection.LoadAssembly(集信息AI)在System.Web.Compilation. System.Web.Compos.HostingEnvironment.Initialize(ApplicationManager appManager,IApplicationHost appHost,IConfigMapPathFactory configMapPathFactory)上的System.Web.Comp.Manager.Compilation.BuildManager.CallPreStartInitMethods()中的System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()中的BuildManager.GetReferencedAssemblies(CompilationSection compConfig) ,HostingEnvironmentParameters hostingParameters,PolicyLevel policyLevel,Exception appDomainCreationException)无法加载文件或程序集"X.dll"或其依赖项之一.指定的模块无法找到.在System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName,String codeBase,Evidence assemblySecurity,RuntimeAssembly locationHint,StackCrawlMark&stackMark,Boolean throwOnFileNotFound,Boolean forIntrospection,Boolean suppressSecurityChecks)at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName,String codeBase,Evidence assemblySecurity) ,RuntimeAssembly locationHint,StackCrawlMark&stackMark,Boolean throwOnFileNotFound,Boolean forIntrospection,Boolean suppressSecurityChecks)System.Reflection.RuntimeAssembly.InternalLoad(String.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef,Evidence assemblySecurity,StackCrawlMark&stackMark,Boolean forIntrospection,Boolean suppressSecurityChecks)) assemblyString,证据assemblySecurity,StackCrawlMark&stackMark,布尔forIntrospection)在System.Reflection.Assembly.Load(字符串assemblyString)在System.Web.Configuration.CompilationSection.LoadAssemblyHelper(字符串assembl 系统中的System.Web.Configuration.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()中的System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)处的System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName,Boolean starDirective)处的yName,Boolean starDirective) System.Web.HostingEnvironment.Initialize上的System.Web.Compilation.BuildManager.CallPreStartInitMethods()中的System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()中的.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig),ApplicationManager appManager, IApplicationHost APPHOST,IConfigMapPathFactory configMapPathFactory,HostingEnvironmentParameters hostingParameters,PolicyLevel policyLevel,异常appDomainCreationException)
归档时间: |
|
查看次数: |
10557 次 |
最近记录: |