chitrakant sahu
chitrakant sahu

Reputation: 211

How to run .aspx page in IIS on Windows XP SP2

I want to set an ASP.Net Server (IIS) in my Desktop to run my asp.net .aspx pages. I'm currently using Win XP Service Pack 2. To install the IIS, first I inserted the XP cd to the disk drive and then I follow the following path Control Panel / Add or Remove Programs / Add/Remove Windows Components. I successfully installed IIS on this computer. Then for running the asp.net .aspx page I need to run the following code in Command Prompt:

%windir%\Microsoft.NET\Framework\v3.5\aspnet_regiis.exe -i

When I run this line in command prompt then it shows me the following error:

'C:\WINDOWS\Microsoft.Net\Framework\v3.5\aspnet_regiis.exe' is not recognized as an internal or external command, operable program or batch file.

After this I checked for the aspnet_regiis.exe in the path C:\WINDOWS\Microsoft.Net\Framework\v3.5\ but here aspnet_regiis.exe is not available in that folder. I'm not able to understand it.

Upvotes: 0

Views: 4304

Answers (3)

Damith
Damith

Reputation: 63065

You need to run from

%windir%\Microsoft.NET\Framework\v2.0.50727

check this

enter image description here

Upvotes: 0

Adamy
Adamy

Reputation: 2849

You need to install .NET Framework 3.5 first!

XP SP2 doesn't have it by default

Upvotes: 2

suff trek
suff trek

Reputation: 39777

You need to install .Net Framework first. You can download v3.5 here

Upvotes: 0

Related Questions