How to get MVC 2 to work with IIS 7.5 on a 64 bit machine

Just in case anyone else is getting the following error when trying to run a MVC 2 application within IIS 7.5 on a 64 bit machine… after loads of searching i finally found a solution that worked for me.

httpErrorMessage

1. Open the visual studio x64 win64 command prompt:

2. Navigate to C:\Windows\Microsoft.NET\Framework64\v4.0.30319

3. Run the following: aspnet_regiis –i

 

If you’re still having issues after this, make sure you have all the correct IIS features installed such as Http Redirection.

 

Hope this helps, it was driving me crazy for a while.

 

Cheers,

 

Sean.

3 Comments

Comments have been disabled for this content.