Chúng tôi có một dự án ASP.NET trong công ty chạy cho 5/6 nhà phát triển. Tất cả Visual Studio 2017 và gỡ lỗi trên IIS Express, không có cài đặt điên hoặc bất cứ điều gì để làm cho nó chạy.Không thể tải tệp hoặc lắp ráp trong VS2017 với IIS express
1 đồng nghiệp không thể lấy nó để làm việc, ông luôn luôn được ngoại lệ sau đây:
Chúng tôi có vấn đề này một vài tháng trở lại, sau đó ra khỏi thất vọng máy tính đã được cài đặt lại và các vấn đề đã ra đi. Anh ấy không phát triển trong vài tuần và hôm nay vấn đề lại xuất hiện.
Tôi đã tìm kiếm lâu và xa nhưng đó là lỗi chung chung mà tôi không thể thực sự tìm ra điều này.
Khi tôi chạy người xem log fusion tôi thấy kết quả sau:
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) ***
Chỉ để cho vui, bạn có thể đi vào giải pháp> Tham chiếu> System.ServiceModel.Activities> Thuộc tính và xác minh rằng thuộc tính "Phiên bản cụ thể" được đặt thành false. –
@TravisActon có nó được đặt thành false. – YesMan85
Có điều gì khác tiếp tục theo dõi ngăn xếp không? Có lẽ một cái gì đó trong bản ghi sự kiện? –