Link to home
Start Free TrialLog in
Avatar of david_2911
david_2911Flag for Mexico

asked on

IIS and ASP.NET v2.0.50727 (32-bit)

I've installed a Windows 2003 R2 64bits, I added the .-net framework 1.1, framework 2.0 and framework 2.1 SP, after that I just installed the IIS 6.0, everything woithout error... If I startup the IIS and try to see the webservices extension services appear asp v1.1.4322 and asp v2.0.50727, but when I open the websites settings don't appear the ASP option to select what version I want to use... and If I try to run some program the IIS runs the asp v1.1.4322  version.... please what can I do?
Avatar of samtran0331
samtran0331
Flag of United States of America image

From a command prompt, go to:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

and then try to run:
aspnet_regiis.exe -i
Avatar of david_2911

ASKER

Ok, I'll do it, in other hand wheb I see the services configuration the asp.net services properties calls the follow command c:\windows\C:\WINDOWS\Microsoft.NET\Framework\ v1.1.4322 and also on this same path I have two directorys framework and framework64?
I haven't had to deal with a 64bit server...but I would guess that you run aspnet_regiis.exe from the frameworks64 folder.
Yes, run it from the 64 folder:

From the Microsoft site, here's more info on aspnet_regiis.exe:
http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx
Notice the "Note" box...

Once you run  the command, aspnet_regiis.exe -i

reboot and you should have the option in IIS to select the version.

Also note that when you create a new site or virtual directory, the ASP.Net version will inherit the root's settings...so if you change the root to run under ASP.Net 2.x, then you don't have to configure new stuff every time (that's assuming you want that behavior)
Do I need add the active server pages program from windows components wizard or just with the instruction aspnet_regiis.exe -i the service will be registered?
ok I read your last comment, but what happen if I need the framwork 3.0, Do I need run the aspnet_regiis.ex from this framework?
It's almost doing the same thing...it's been a while since I had to setup a server...but do it windows components wizard...reboot...if you still have problems run the command line...
alternately, run the command line, reboot...and I bet when you go back to windows components, the box will be checked..
There is no IIS option for Framework 3.x.

Even if your web app/service was created in Visual Studio 2008 and uses ASP.Net 3.5...in IIS, it will still run under the ASP.Net 2.x framework.

As long as framework 3.x is properly installed on your server...any app using framework 3.x will run correctly.

For web apps, it's all controlled/configured in the web.config file.

Reason is that as of right now "ASP.Net 3.5" is just enhancements to 2.x...the "core" of what is ASP.Net is still 2.x and 3.x just adds to that base functionality.
now the IIS runs with ASP.NET Version:2.0.50727.1433, even in the webservices extension appears ASP.NET Version:2.0.50727.1433 (32 bits)... still don't appear on Websites window the asp option (please check the image) in other hand when I try to run my programm, the webpage display the follow error:

Parser Error Message: Could not load file or assembly 'IBM.Data.Informix, Version=3.0.0.2, Culture=neutral, PublicKeyToken=7c307b91aa13d208' or one of its dependencies. The system cannot find the file specified.

I installed the informix client, but looks like IIS can't see the client installed
IIS1.gif
IIS2.gif
ASKER CERTIFIED SOLUTION
Avatar of samtran0331
samtran0331
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
for ASP I ran the command and reboot... If I added the asp net (dll) on 64 bits  and the asp 32 bits change to prohibited on webservices extension, the programm don't run...

for informix I will upgrade the version in few moments....
I update the informix client, the ASP settings on Web sites default properties don't appears, now the page display me the follo error:
Could not load file or assembly 'IBM.Data.Informix, Version=2.81.0.0, Culture=neutral, PublicKeyToken=7c307b91aa13d208' or one of its dependencies. The system cannot find the file specified.
I update the informix client and my programm runs ok
I update the informix client and my programm runs ok