Run the 64-bit version of IIS Express 8 RC with Visual Studio 2010

I have a web application that uses the 64-bit version of SharpSvn , a managed DLL with unmanaged dependency. It will not work in IIS Express 7.0. Switching to the 32-bit version of the assembly works fine.

I installed the 64-bit version of IIS 8 RC . However, Visual Studio 2010 launches the 32-bit version of IIS Express.

IIS .

I can start the 64-bit version of IIS manually with the following command:

"C:\Program Files\IIS Express\iisexpress.exe" /config:"C:\Users\zippy\Documents\IISExpress\config\applicationhost.config" /site:"MrDVCS" /apppool:"Clr4IntegratedAppPool" 

In my WebProject.csproj, the Corresponding XML seems to be <UseIISExpress>true</UseIISExpress> . If I edit the file in Visual Studio, Intellisense will not offer a similar tag for 64 bits, and it does not offer me an attribute.

So, how do I get Visual Studio to run the 64-bit version of IIS Express RC?

+7
visual-studio-2010 iis-8 iis-express
Aug 19 '12 at 12:14
source share
3 answers

I am trying to do the same but cannot find how to start IIS Express in 64 bit mode.
The only way I can find for debugging in 64-bit mode is this:
Launch IIS Express as you are already above (in 64 bit mode).
In the properties of the Visual Studio project, switch the servers to indicate "Use a custom web server," and enter the URL.
Go to debugging | Join the process, and then select the executable instance of IISExpress.
Place a breakpoint and debug in 64 bit mode.
Good luck

+5
Sep 12
source share

This is for VS 2012. Check if it works during 2010.

Add registry key. Go to

HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ 11.0 \ WebProjects

Add a new key of type "DWORD (32-bit value)"

Name: Use64BitIISExpress Value: 1

However, this feature is not supported and has not been fully tested by Microsoft.

Link: http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3254745-allow-for-iis-express-64-bit-to-run-from-visual-st

+3
Apr 05 '13 at 10:26
source share

As Santos points out, you can set the registry key

HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ 11.0 \ WebProjects

Add a new key of type "DWORD (32-bit value)"

Name: Use64BitIISExpress Value: 1

However, be sure to delete or rename the IISExpress directory in the My Documents folder.

To get the registry key for me, it seems that the IISExpress configuration files created on first start up are different between x86 and x64 versions.

0
Jul 13 '13 at 3:02
source share



All Articles