我们公司有一个ASP.NET项目,由5/6个开发人员负责。所有人都使用Visual Studio 2017进行调试,使用IIS Express,没有任何疯狂的设置或其他操作来使其运行。
但是其中一位同事无法运行该项目,他总是收到以下异常信息: 我们几个月前就遇到了这个问题,后来由于沮丧,重新安装了电脑,问题消失了。他没有开发几个星期,今天问题再次出现。
我搜索了很久,但这是一个非常通用的错误,我真的无法解决这个问题。
当我运行融合日志查看器时,我看到以下结果:
但是其中一位同事无法运行该项目,他总是收到以下异常信息: 我们几个月前就遇到了这个问题,后来由于沮丧,重新安装了电脑,问题消失了。他没有开发几个星期,今天问题再次出现。
我搜索了很久,但这是一个非常通用的错误,我真的无法解决这个问题。
当我运行融合日志查看器时,我看到以下结果:
The operation failed.
Bind result: hr = 0x80131018. No description available.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable C:\Program Files\IIS Express\iisexpress.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = System.ServiceModel.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/Users/User/Projects/project/project.UserSite/
LOG: Initial PrivatePath = C:\Users\User\Projects\project\project.UserSite\bin
LOG: Dynamic Base = C:\Users\User\AppData\Local\Temp\Temporary ASP.NET Files\vs\e0254dae
LOG: Cache Base = C:\Users\User\AppData\Local\Temp\Temporary ASP.NET Files\vs\e0254dae
LOG: AppName = 38c6ff11
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\User\Projects\project\project.UserSite\web.config
LOG: Using host configuration file: C:\Users\User\Documents\IISExpress\config\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Binding succeeds. Returns assembly from C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll.
LOG: Assembly is loaded in default load context.
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80131018).
*** Assembly Binder Log Entry (7/18/2017 @ 8:55:15 AM) ***