How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

It's easy to enable 32bit ASP.NET on Windows Server 2003 64-bit 64 bit if you know the proper steps.

In this article i'll take you through step by step on enabling 32 bit / 32bit ASP.NET 2.0 on Windows Server 2003 64-bit 64

In order for you to execute the 32bit ASP.net 2.0 WebPages on a 64 Bit Windows 2003 you must do the following:

1) Make sure that Windows 32bit files area installed on the server
to accomplish this look for the following folders

c:\Windows\Micfosoft.Net\Framework\v2.0.50727    - or newer (this is the 32bit version)
c:\Windows\Microsoft.Net\Frameword64\v2.0.50727

If both these are not installed, go to [Add Remove Programs] uninstall asp.net 2.0 and reinstall, and then REBOOT
You should then have both of the folders listed above

2) In IIS Manager enable the Web Services Extensions as shown in the picture below.

If you only see ASP.NET 2.0 32bit in the Web Service Extensions then skip to step 4.

If you only see ASP.NET 2.0 in the Web Service Extensions (which is the 64bit version) that's ok because i'm going to tell you how to setup the 32bit version below.

Figure 1
Enable asp.net 32bit on 64bit server, Web Services Extention in IIS Manager

Note: Microsoft and IIS do not support 64bit & 32bit execution at the same time so you can only use one or the other you must set IIS to run in 32bit mode or 64bit mode, you can not have both.

Note: You cannot install ASP.NET 32bit DLL's until you set a switch in the registry on the server into 32bit mode.
Attempting to do so will result in an error stating that you cannot install a 32bit app on a 64 bit server or something like that.

3) Open a DOS window and change directories to the IIS server admin scripts folder

Which is usually C:\Inetpub\AdminScripts

Now execute the following command to switch the server and IIS into 32bit mode (true means 32bit false restores it to 64bit)

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true


After executing the script above you must register the 32bit version of ASP.NET 2.0.

Navigate to c:\Windows\Microsoft.Net\Framework\v2.0.50727  -or newer  - this is the 32bit version

Run aspnet_regiis.exe -i   to install asp.net 2.0 32bit
Note: You cannot install ASP.NET 32bit until you set the server into 32bit mode as show above
 
Executing the above script adds a new item in the IIS web server extensions which clearly states 32bit
See [Figure 1] Above

4) Now Open IIS Manager and click on Web Server Extensions [Click on ASP.Net v2.0.50727 (32-bit)]
then click the [ALLOW] button.

Now create your Website or virtual directory and set your permissions and you should now be able to execute your 32-bit ASP.NET 2.x webpages on a 64bit Windows 2003 64-bit web server.

Don't forget to set the website to run in asp.net 2.0 on the ASP.Net Tab
 Set Asp.net Version




posted @ Friday, June 15, 2007 12:00 AM

Print

Comments on this entry:

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Rüya Tabiri at 11/26/2008 1:34 PM
Gravatar
Thank You...

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Sebastià Prat at 12/23/2008 6:20 PM
Gravatar
Hello,

Thanks for your post!

Sebastià

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by smartant at 1/19/2009 11:29 PM
Gravatar
it's useful but it looks like the ASP tab is missing in my windows 2003 x64. So any instructions about how to enable that and configure the virtual server to uses specific web.config.

Thanks.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Larry at 1/30/2009 12:33 PM
Gravatar
Yes reinstall .net 2.x or 3.5 either with add repove programs or on the command line aspnet_regiis.exe /i to reinstall .net. it is usually located in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 or other folders.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Kevin at 2/5/2009 2:56 PM
Gravatar
Thanks this worked and solved my problem.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Saurabh at 5/12/2009 3:07 AM
Gravatar
Have u any about win-xp plateform..
I am getting
Could not load the assembly 'App_Web_l9k89pqf'. Make sure that it is compiled before accessing the page
error
after uploading my website.

# failed to enalble asp.net web extension

Left by om at 5/15/2009 5:39 AM
Gravatar
i have 64 bit win 2003 on which exchange server 2007 is installed , now i am going to install symantec mail security for exchange server,
during installation it gives error
"Failed enable asp.net web extension, installtion will not continue"

kindly, give me suggetions to solve this problem

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Coupon Codes at 5/15/2009 10:52 AM
Gravatar
This is just the information I was looking for. Great resource, site bookmarked.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by eee pc at 7/10/2009 3:45 PM
Gravatar
cheers that was useful getting windows to run on my pc

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by ecar insurance at 7/10/2009 4:16 PM
Gravatar
cheers i got that to work

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Oleg at 7/24/2009 12:14 PM
Gravatar
Wneh I do aspnet_regiis I get an error:

The error indicates that IIS is not installed on the machine. Please install IIS before using this tool.
Finished installing ASP.NET (2.0.50727).

I'm using windows 2008 64-bits. does it matter?

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by sw at 9/10/2009 7:44 AM
Gravatar
C:\Inetpub\AdminScripts is missing but I have found it on another server (32bit). Can I copy it across and use it on the 64 bit server sucessfully?

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Dana at 11/17/2009 6:54 AM
Gravatar
I have both problems listed above - my server is windows 2008 64-bits and when I try to run aspnet_regiis I see an error:

The error indicates that IIS is not installed on the machine. Please install IIS before using this tool.
Finished installing ASP.NET (2.0.50727).


Also there is not C:\Inetpub\AdminScripts folder on my server after installing.

then, I have IIS 7.0 - how to work with it? Thanks in advance

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Shriram Kanade at 2/25/2010 12:57 AM
Gravatar
I like the article provided by you.
Thank you very much.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Website SEO at 3/2/2010 8:56 AM
Gravatar
I really appreciate the kind of topics you post here. Thanks for sharing

I would like to thank you for the efforts you have made in writing this article.

I like your post & I will always be coming frequently to read more of your post.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Cloth Diaper at 4/26/2010 5:07 AM
Gravatar
Hello I like to ask the dout about the ASP that i got the error like The error indicates that IIS is not installed on the machine. Please install IIS before using this tool.

# nice blog

Left by TUNGSTEN CARBIDE RINGS at 4/26/2010 11:34 PM
Gravatar
Nice information. looks like a great site.It is easy to see that you are passionate about your writing.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by ONLINE SWEEPSTAKES at 4/29/2010 1:44 AM
Gravatar
I have tried, it's useful but it looks like the ASP tab is missing in my windows 2003 x64. The error indicates that IIS is not installed on the machine.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by lifestation at 5/2/2010 9:26 PM
Gravatar
I gave it a try, but I'm still getting errors I'm afraid :(

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by DISASTER RECOVERY SOLUTIONS at 5/3/2010 2:44 AM
Gravatar
Interesting article. You make some good points. Thank you again.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by HAWAII TATTOO PARLOR at 5/3/2010 4:35 AM
Gravatar
I like your writing style....Waiting for your next updates..

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by Magic Tricks at 5/3/2010 5:15 AM
Gravatar
Well i was just go through the different sites. And so i got your blog. Well you have very high knowledge topic here and i really came to know that i have very less knowledge about it. thanks a lot for the valuable topic you share.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by HAWAII TATTOO PARLOR at 5/3/2010 7:25 AM
Gravatar
If you intend to run 32-bit ASP.NET applications on 64-bit Windows, you must configure IIS to create 32-bit worker processes. For more information about running 32-bit applications on 64-bit Windows, see Running 32-bit Applications on 64-bit Windows.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by MARIN MOUNTAINBIKES at 5/6/2010 2:02 AM
Gravatar
Windows Server 2003, Web Edition is mainly for building and hosting Web applications, Web pages, and XML web services. It is designed to be used primarily as an IIS 6.0 Web server and provides a platform for rapidly developing and deploying XML Web services and applications that use ASP.NET technology, a key part of the .NET Framework.

# re: How to Enable 32 bit ASP.NET on Windows Server 2003 64-bit 64 bit

Left by SEO Services India at 5/15/2010 6:20 AM
Gravatar
Hello,

Beautiful blog with nice posting.This is really very fantastic post.Thanks for this sharing with us.

# Hi

Left by exploretalent at 5/26/2010 2:17 AM
Gravatar
Thanks for sharing info . Very interesting & helpful. keep posting

Your comment:



 (will not be displayed)


 
 
 
Please add 6 and 1 and type the answer here:
 

Live Comment Preview:

 
«July»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567