ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated

13

I'm getting the following error using visual Studio Express 2013 for Web. It previously work on 32 bit. My laptop is 64 bit Windows.

ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.

I've rebuild the solution with 64 bit cpu selected and no joy.

visual-studio
64-bit
visual-studio-exp-2013
asked on Stack Overflow Jun 18, 2015 by Shaun Roach • edited Jun 19, 2015 by Dukeling

3 Answers

36

If you go into Tools->Options>Web Projects and ensure your have "Use the 64 bit version of IIS Express for web sites and projects." this resolves the problem.

answered on Stack Overflow Oct 10, 2015 by Shaun Roach
2

My project is specificly 64bit.

I had to change a Reference to a dll, by adding the 64bit version. Creating a folder in my project called "x64" and adding the dll, with the property: Copy to Output Directory : Copy always


I found the solution in an Oracle readme:

Use the following steps for your application to use the 64-bit version of ....dll:

  1. Right click on the Visual Studio project.
  2. Select Add -> New Folder
  3. Name the folder x64.
  4. Right click on the newly created x64 folder
  5. Select Add -> Existing Item
  6. Browse to ...\bin\x64 under your project solution directory.
  7. Choose ....64bit.dll
  8. Click the 'Add' button
  9. Left click the newly added ....dll in the x64 folder
  10. In the properties window, set 'Copy To Output Directory' to 'Copy Always'.

For x86 targeted applications, name the folder x86 and add assemblies from the ...\bin\x86 folder.

1

My project/solution was the inverse of the fix here: I needed to un-check the "Use the 64 bit version of IIS Express for web sites and projects." I'm left assuming that the project is 32 bit, but the only release mode that broke for me was "debug". Viewing it in browser without debug never failed to compile.

I searched numerous questions for the solution, so I thought I would add my fix here. It does seem to work both ways (if it's checked, uncheck it!)

answered on Stack Overflow Jun 6, 2018 by TylerSmall19 • edited Jun 7, 2018 by Ryan The Leach

User contributions licensed under CC BY-SA 3.0