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

I am getting the following error using Visual Studio Express 2013 for the web. Previously, it worked on 32 bits. My laptop is 64-bit Windows.

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

I restored the solution with the selected 64-bit processor and without joy.

+5
source share
2 answers

If you go to Tools-> Options> Web Projects and make sure you have "Use the 64-bit version of IIS Express for websites and projects." this solves the problem.

+21
source

My project is 64-bit.

I had to change the link to the dll, adding a 64-bit version. Creating a folder in my project called "x64" and adding a dll with the property: Copy to output directory: Always copy


I found a solution in Oracle readme:

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

  • Right-click the Visual Studio project.
  • Choose Add → New Folder
  • Name the folder x64.
  • Right click on newly created x64 folder
  • Choose Add → Existing Item
  • Go to ... \ bin \ x64 in the directory of your solution project.
  • Choose .... 64bit.dll
  • Click the Add button
  • Left-click on the newly added .... dll in the x64 folder.
  • In the properties window, set "Copy to output directory" to "Always copy."

For x86 target applications, specify the x86 folder and add assemblies from ... \ bin \ x86.

+1
source

All Articles