Welcome to MSDN Blogs Sign in | Join | Help

ASP.NET 1.1, IIS 6.0 and 64-bit Windows

A few days ago, one of the many distribution lists I belong to was presented with the following requests: 

I’m trying to create a Web Service in Visual Studio .NET 2003 and am getting an error “Visual Studio .NET has detected that the specified Web server is not running ASP .NET version 1.1. You will be unable to run ASP .NET Web applications or services.”

The individual said that he had checked the script maps and everything seemed to be in order on the server.  They had installed and uninstalled the ASP.NET extensions several times using aspnet_regiis.exe.  After a few more communications the poster added:

(Potential complication: my machine is a 64-bit OS; does this change the equation?)

The answer is that running 64-bit Windows does have an affect on your ability to run ASP.NET 1.1 in IIS 6.  ASP.NET 1.1 only supports running in 32-bit mode.  Fortunately, IIS 6 on 64-bit Windows can run in either 64-bit mode or 32-bit mode.

The following steps to run IIS 6 in 32-bit mode can be found in our MSDN documentation:

    1. Click Start, click Run, type cmd, and then click OK.
    2. Type the following command to enable the 32-bit mode:
      cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
    3. Type the following command to install the version of ASP.NET 1.1 and to install the script maps at the IIS root and under:
      %SYSTEMROOT%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
    4. Make sure that the status of ASP.NET version 1.1.4322 is set to Allowed in the Web service extension list in Internet Information Services Manager.

After following these instructions, the issue still wasn't resolved.  In fact, the script maps for the web application were not being properly updated.  I had the customer execute the "aspnet_regiis -ua" which would remove all versions of ASP.NET from the machine.  To reinstall the ASP.NET 1.1 again, you then need to reissue the "aspnet_regiis -i" command (use "aspnet_regiis -i -enable" if you are using Windows 2003).  This should allow you to run ASP.NET 1.1 on IIS 6.

Keep in mind, however, that IIS 6.0 cannot run in both 64-bit mode and 32-bit mode at the same time. By running IIS 6.0 in 32-bit mode on 64-bit Windows, ASP.NET 2.0 applications will also run in 32-bit mode.

(This blog post was cross-posted from: http://blogs.iis.net/tobintitus/archive/2006/06/15/1315931.aspx )

Published Thursday, June 15, 2006 11:17 AM by Tobin Titus
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# ASP.NET 1.1, IIS 6.0 and 64-bit Windows

A few days ago, one of the many distribution lists I belong to was presented with the following requests: ...
Friday, June 16, 2006 4:18 PM by Tobin Titus

# re: ASP.NET 1.1, IIS 6.0 and 64-bit Windows

How to return in iis 64 bit mode after

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
Thursday, June 22, 2006 9:06 AM by Francois Daigle

# re: ASP.NET 1.1, IIS 6.0 and 64-bit Windows

Thanks, Francois
Monday, June 26, 2006 2:26 AM by Tobin Titus

# re: ASP.NET 1.1, IIS 6.0 and 64-bit Windows

Your blog note is far more practical and accurate than Microsoft Article ID 894435 since it is almost mandatory to uninstall ASP.NET previous versions to really get things cleaned when working in 32-bit mode.

I also found that for some installations, a web.config exists in the ..\wwwroot\ folder which points to version NET 2.0. Nonetheless, when this happens, the error page is quite clear.

Monday, April 16, 2007 6:50 PM by Héctor García Salas

# ASP . Net 1.1 with IIS server 6.0

Hi,

i am facing one problem with my IIS, i have two website on my win 2003 server. from last one week i m getting one strange error. my site page can not displayed and when i pass iisreset commond it also not works. the final step is i have restart the server.........

can u suggested me how to resolve this problem

Wednesday, April 18, 2007 5:34 PM by pappu

# re: ASP.NET 1.1, IIS 6.0 and 64-bit Windows

Hey Pappu,

I don't have a way to contact you other than through my blog, so I hope you get this.

Could you let me know what the strange error is? Also, can you tell me what you mean when you say that iisreset doesn't work for you? Do you mean that the server will not stop or start, or do you mean that resetting IIS doesn't fix your error?

Thanks.

Friday, April 20, 2007 1:13 PM by Tobin Titus

# re: ASP.NET 1.1, IIS 6.0 and 64-bit Windows

It worked!!!!!

This was key.

"I had the customer execute the "aspnet_regiis -ua" which would remove all versions of ASP.NET from the machine."

I've had the same problem for a week. Gave up after everything else failed and installed an XPPro VM just to do VS 2003 dev from it and tried so much more. Cost me nearly a week of productivity and headaches in untold ways. But removing ALL versions of ASP.NET did the trick. Thank you!!!!

Monday, April 23, 2007 11:18 PM by Jorge besada

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker