我有一个不再运行的Web服务的问题.它以前安装了64位版本,但现在安装了32位版本.但是,它似乎正在寻找一个64位版本的ChilkatDotNet2.dll,这很奇怪.MSI包安装的版本是X86.
C:\ Program Files(x86)\ Sipp\Market Server\bin> asminfo.exe ChilkatDotNet2.dll ChilkatDotNet2,Version = 9.3.0.0,Culture = neutral,PublicKeyToken = eb5fc1fc52ef09b d | X86
我启用了FusionLog,它提供了以下输出:
描述:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息.
异常详细信息:System.BadImageFormatException:无法加载文件或程序集"ChilkatDotNet2"或其依赖项之一.尝试加载格式不正确的程序.
来源错误:
在执行当前Web请求期间生成了未处理的异常.可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息.
装配负载跟踪:以下信息有助于确定无法装入装配"ChilkatDotNet2"的原因.
===预绑定状态信息===日志:用户= SF\sonsupport日志:DisplayName = ChilkatDotNet2(部分)日志:Appbase =文件:/// C:/ Program Files(x86)/ Sipp/Market Server/LOG :初始PrivatePath = C:\ Program Files(x86)\ Sipp\Market Server\bin调用程序集:(未知).===日志:此绑定在默认加载上下文中启动.日志:使用应用程序配置文件:C:\ Program Files(x86)\ Sipp\Market Server\web.config日志:使用主机配置文件:C:\ Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config LOG :使用C:\ Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config中的计算机配置文件.日志:此时策略未应用于引用(私有,自定义,部分或基于位置的程序集绑定).日志:尝试下载新的URL文件:/// C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/server/b8e4736f/d41d574d/ChilkatDotNet2.DLL.日志:尝试下载新的URL文件:/// C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/server/b8e4736f/d41d574d/ChilkatDotNet2/ChilkatDotNet2.DLL.日志:尝试下载新的URL文件:/// C:/ Program Files(x86)/ Sipp/Market Server/bin/ChilkatDotNet2.DLL.错误:无法完成程序集的设置(hr = 0x8007000b).探测终止.
堆栈跟踪:
[BadImageFormatException:无法加载文件或程序集'ChilkatDotNet2'或其依赖项之一.尝试加载格式不正确的程序.]
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)+416
System.Reflection.Assembly.InternalLoad(String assemblyString,Evidence assemblySecurity,StackCrawlMark&stackMark,Boolean forIntrospection)+166 System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName,Boolean starDirective)+190[ConfigurationErrorsException:无法加载文件或程序集'ChilkatDotNet2'或其依赖项之一.尝试加载格式不正确的程序.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName,Boolean starDirective)+11241896
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()+388 System.Web.Configuration .CompilationSection.LoadAssembly(AssemblyInfo ai)+232
System.Web.Configuration.AssemblyInfo.get_AssemblyInternal()+48
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)+210
System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir)+191
System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir,Boolean ignoreErrors)+54
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)+295
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild,Boolean allowCrossApp,Boolean allowBuildInPrecompile)+476
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context,VirtualPath virtualPath,Boolean noBuild,Boolean allowCrossApp,Boolean allowBuildInPrecompile)+116
System.Web.Compilation.BuildManager.GetCompiledCustomString(String virtualPath)+39
System.ServiceModel.HostingManager.GetCompiledCustomString(String normalizedVirtualPath)+202
System.ServiceModel .HostingManager.CreateService(String normalizedVirtualPath)+33
System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath)+46
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)+654[ServiceActivationException:由于编译期间发生异常,无法激活服务'/server/service.svc'.异常消息是:无法加载文件或程序集"ChilkatDotNet2"或其依赖项之一.尝试加载格式不正确的程序.]
System.ServiceModel.AsyncResult.End(IAsyncResult result)+15778592
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)+15698937
System.ServiceModel.Activation.HostedHttpRequestAsyncResult .ExecuteSynchronous(HttpApplication context,Boolean flowContext)+265
System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender,EventArgs e)+227
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+80 System. Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean&completedSynchronously)+171
| 归档时间: |
|
| 查看次数: |
4031 次 |
| 最近记录: |