473,394 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Problem with IIS 5.1

I have just installed IIS 5.1, however I have done so *after* I have
installed the .NET Framework, and it therefore seems that IIS is not
configured to serve ASP.NET pages. Whenever I point my browser to an
..aspx page, it just prompts me to download that page, so the server
obviously doesn't process the file.

Is there any way to configure IIS so as to serve ASP.NET, or do I have
to reinstall the .NET Framework? I work from home and don't have all
the CDs readily available here.

Any answers are appreciated, thanks in advance.
Nov 17 '05 #1
2 1577
Clemens,

There is a .exe you may run that might fix this:

running "aspnet_regiis.exe -i" or "aspnet_regiis.exe -r" (from
c:\winnt\microsoft.net\framework\v1.0.3705)

It reregisters asp.net with IIS

I hope it works for you!

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Clemens" <cl****************@gmx.net> wrote in message
news:96*************************@posting.google.co m...
I have just installed IIS 5.1, however I have done so *after* I have
installed the .NET Framework, and it therefore seems that IIS is not
configured to serve ASP.NET pages. Whenever I point my browser to an
.aspx page, it just prompts me to download that page, so the server
obviously doesn't process the file.

Is there any way to configure IIS so as to serve ASP.NET, or do I have
to reinstall the .NET Framework? I work from home and don't have all
the CDs readily available here.

Any answers are appreciated, thanks in advance.

Nov 17 '05 #2
To fix IIS mappings for ASP.NET, follow these steps:
1.. Run the Aspnet_regiis.exe utility:
1.. Click Start, and then click Run.
2.. In the Open text box, type cmd, and then press ENTER.
3.. At the command prompt, type the following, and then press ENTER:
"%windir%\Microsoft.NET\Framework\version\aspnet_r egiis.exe" -i

In this path, version represents the version number of the .NET
Framework that you installed on your server. You must replace this
placeholder with the actual version number when you type the command.
2.. Register the Aspnet_isapi.dll:
1.. Click Start, and then click Run.
2.. In the Open text box, type the following, and then press ENTER:
regsvr32 %windir%\Microsoft.NET\Framework\version\aspnet_is api.dll

Regsvr32 returns the results of the registration.

Good Luck
Ali Nasir
"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:OX**************@TK2MSFTNGP12.phx.gbl...
Clemens,

There is a .exe you may run that might fix this:

running "aspnet_regiis.exe -i" or "aspnet_regiis.exe -r" (from
c:\winnt\microsoft.net\framework\v1.0.3705)

It reregisters asp.net with IIS

I hope it works for you!

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Clemens" <cl****************@gmx.net> wrote in message
news:96*************************@posting.google.co m...
I have just installed IIS 5.1, however I have done so *after* I have
installed the .NET Framework, and it therefore seems that IIS is not
configured to serve ASP.NET pages. Whenever I point my browser to an
.aspx page, it just prompts me to download that page, so the server
obviously doesn't process the file.

Is there any way to configure IIS so as to serve ASP.NET, or do I have
to reinstall the .NET Framework? I work from home and don't have all
the CDs readily available here.

Any answers are appreciated, thanks in advance.


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.