Can't install IIS7 and ASP.NET 3.5 on Win7 64-bit


Using Win7 32-bit for 3 months and didn't have problem with developing any .NET-based applications including ASP.NET apps.

Just upgraded my laptop's RAM 3 days ago and switched to 64-bit version of Win7.

When I'm working on installing IIS7 and .NET Framework 3.5 SP1, there's an error about not all features were installed for some unknown reason.

When I try to register ASP.NET using aspnet_regiis -ir in c:\Windows\Microsft.NET\Framework64\v2.0.50727\, a dialog box shows with this error message:

"Operation failed with 0x80070643" and after I close the dialog box, another error message on the console command shows with this message: "An error has occurred: 0x80004005 Unspecified error".
asked on Stack Overflow Aug 24, 2010 by eSPiYa • edited Aug 24, 2010 by p.campbell

4 Answers


I had the same problem and I did everything found on the internet but nothing was useful eventually I was able to solve it by using the following: note: do it on your own risk Add the following to you registry only if the doesn't exist (in my case they didn't exist):



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_2.0.50727\Performance] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64]






try installing 64 bit after that

answered on Stack Overflow Feb 10, 2013 by user1124902 • edited Jun 20, 2020 by Community

Configure IIS to run in 32 bit mode (assuming your apps are 32 bit mode, since that's what you originally developed on).

Try running aspnet_regiis after that is done. Use the 32 bit version of aspnet_regiis.

answered on Stack Overflow Sep 16, 2010 by Skeeterbug

I know this is a fairly old post, but I thought I'd share what I did to solve this problem on my machine running Windows 7 64-bit.

While IIS was installed on my computer, the ASP.NET features were not enabled.
To enable ASP.NET do the following:

Navigate to the Turn Windows features on or off dialog. It's located under
Control Panel --> Programs and Features.
Note: Typing 'features' in the Start Menu search will also get you there.

When the Turn Windows features on or off dialog appears, navigate to
World Wide Web Services --> Application Development Features
and make sure ASP.NET is checked.

Once this was done the aspnet_regiis -ir command worked perfectly and I could run and debug ASP.NET apps on my machine. Hope this helps.

answered on Stack Overflow Sep 20, 2013 by John C.

set IIS to run in 32 bit mode

Try running aspnet_regiis after that is done. Use the 32 bit version of aspnet_regiis.

بریده جراید

answered on Stack Overflow Jan 12, 2015 by saeid

User contributions licensed under CC BY-SA 3.0