Share via


BindingFailure occurred Message: Managed Debugging Assistant ;BindingFailure&; has detected a problem in ;C:\Program Files (x86)\IIS Express\iisexpress.exe

Question

Monday, January 25, 2016 5:38 PM

Hi Friend, i am facing an issue while running the application. During Debug there is no issue. I am using VS 2013 version 4.5
Can someone please help?

BindingFailure occurred
Message: Managed Debugging Assistant ;BindingFailure&; has detected a problem in ;C:\Program Files (x86)\IIS Express\iisexpress.exe'.
Additional information: The assembly with display name 'Microsoft.VisualStudio.Web.PageInspector.Runtime' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Web.PageInspector.Runtime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

All replies (1)

Wednesday, January 27, 2016 4:08 AM âś…Answered

Hi Sadikul,

Thanks for your post.

>>System.IO.FileNotFoundException: Could not load file or assembly

>>The system cannot find the file specified.

From the error message you offered. I think the cause is that the specified assembly can no be loaded successfully and a FileNotFoundException or FileLoadException is thrown.

So install the request assembly or copy the assembly to the application directory then try it again. 

Meanwhile, I suppose you have no required permissions to read the file. I suggest you could run your visual studio as administrator then try it again.

On the other hand, please take a loot at the following document about "bindingFailure " for your reference:

https://msdn.microsoft.com/en-us/library/ms172215(v=vs.110).aspx

If still suggestions still no help. I suppose there might be some problem in your Visual Studio.

In this case, I suggest you could try to repair your VS or install VS2013 Update5 then try it again.

Hope that could be helpful to you.

Best Regards,

Lake Xiao