473,320 Members | 2,104 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,320 software developers and data experts.

Problems running asp.net on IIS

Hi I know I may be repeating some past questions but i wasnt sure if i added on to these if they would appear in the 'new list'! I have IIS 5 installed, IE 6 and visual studio .net 2003. When i create an aspx page under iis, when i try to run it via localhost i get the 'Open/Save' screen, i.e. it is not running the code but just ends up opening it in visual studio. I went to the downloads (thinking i may not have installed the SDK for .net) but it says go to control panel, add/remove and if you have .net framework 1.1 you dont need to do anything, and I have, but aspx's wont run. It does say that visual studio installs the SDK automatically so it appears I do have it. Another odd thing is that if I simply create test.html under IIS that doesnt run either, just takes hours to open in IE and appears to be hanging (but if i double click on it and bypass the localhost it opens fine and pops up the hello world alert that i scripted). What have I missed? Is it something obvious?
Nov 18 '05 #1
4 1352
Try running the command-line utility:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_regiis.exe -i

This installs ASP.net on your web server.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"louise raisbeck" <louise ra******@discussions.microsoft.com> wrote in
message news:32**********************************@microsof t.com...
Hi I know I may be repeating some past questions but i wasnt sure if i

added on to these if they would appear in the 'new list'! I have IIS 5
installed, IE 6 and visual studio .net 2003. When i create an aspx page
under iis, when i try to run it via localhost i get the 'Open/Save' screen,
i.e. it is not running the code but just ends up opening it in visual
studio. I went to the downloads (thinking i may not have installed the SDK
for .net) but it says go to control panel, add/remove and if you have .net
framework 1.1 you dont need to do anything, and I have, but aspx's wont run.
It does say that visual studio installs the SDK automatically so it appears
I do have it. Another odd thing is that if I simply create test.html under
IIS that doesnt run either, just takes hours to open in IE and appears to be
hanging (but if i double click on it and bypass the localhost it opens fine
and pops up the hello world alert that i scripted). What have I missed? Is
it something obvious?
Nov 18 '05 #2
Was VS installed before or after IIS?
It may not have made the necessary configurations for the ASPX file types.
You can try to add it manually but it's ugly. Try reinstalling VS if you
can.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"louise raisbeck" <louise ra******@discussions.microsoft.com> wrote in
message news:32**********************************@microsof t.com...
Hi I know I may be repeating some past questions but i wasnt sure if i

added on to these if they would appear in the 'new list'! I have IIS 5
installed, IE 6 and visual studio .net 2003. When i create an aspx page
under iis, when i try to run it via localhost i get the 'Open/Save' screen,
i.e. it is not running the code but just ends up opening it in visual
studio. I went to the downloads (thinking i may not have installed the SDK
for .net) but it says go to control panel, add/remove and if you have .net
framework 1.1 you dont need to do anything, and I have, but aspx's wont run.
It does say that visual studio installs the SDK automatically so it appears
I do have it. Another odd thing is that if I simply create test.html under
IIS that doesnt run either, just takes hours to open in IE and appears to be
hanging (but if i double click on it and bypass the localhost it opens fine
and pops up the hello world alert that i scripted). What have I missed? Is
it something obvious?
Nov 18 '05 #3
the aspnet_regiis command sets up the sites/vd's to use ASP.NET but if the
core level functionality isn't there then you may have bigger issues.
Personally it sounds like you got lots messed up. Firewalls, AV
Scriptblocking, etc. Dont envy you in this one. Do some cleanup though an
you may get lucky. Uninstall VS and IIS. Then install IIS and VS again. If
you are lucky it should all work again.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Louise Raisbeck" <Louise Ra******@discussions.microsoft.com> wrote in
message news:1B**********************************@microsof t.com...
I have just run the command line prompt that kevin suggested, thanks kevin, and it appears not to ask me to open or save aspx files again which
is a start..although.. i still appear to have a problem with IIS. I still
can't run a simple html file through IIS (http://localhost/test.html), it
just hangs, similarly i have just tried to create a web application in VS
and it has been hanging at the point where it tries to contact the web
server, no response whatsoever. I installed Visual Studio a while ago, then
removed and re-installed IIS a couple of days ago.
"Curt_C [MVP]" wrote:
Was VS installed before or after IIS?
It may not have made the necessary configurations for the ASPX file types. You can try to add it manually but it's ugly. Try reinstalling VS if you
can.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"louise raisbeck" <louise ra******@discussions.microsoft.com> wrote in
message news:32**********************************@microsof t.com...
Hi I know I may be repeating some past questions but i wasnt sure if i

added on to these if they would appear in the 'new list'! I have IIS 5
installed, IE 6 and visual studio .net 2003. When i create an aspx page
under iis, when i try to run it via localhost i get the 'Open/Save' screen, i.e. it is not running the code but just ends up opening it in visual
studio. I went to the downloads (thinking i may not have installed the SDK for .net) but it says go to control panel, add/remove and if you have ..net framework 1.1 you dont need to do anything, and I have, but aspx's wont run. It does say that visual studio installs the SDK automatically so it appears I do have it. Another odd thing is that if I simply create test.html under IIS that doesnt run either, just takes hours to open in IE and appears to be hanging (but if i double click on it and bypass the localhost it opens fine and pops up the hello world alert that i scripted). What have I missed? Is it something obvious?

Nov 18 '05 #4
This might have already been mentioned, but have you tried running:
%windir%\microsoft.net\framework\v1.1.4322\aspnet_ regiis -i

This will register the aspnet_isapi.dll with IIS (which might not have been done, depending on whether you installed IIS before VS) so that it can process
aspx pages.

HTH,
Chris

--------------------
Thread-Topic: Problems running asp.net on IIS
thread-index: AcRwwLPjtZFPBl5XQbGgI6a1hT5nMA==
X-WBNR-Posting-Host: 217.42.146.95
From: =?Utf-8?B?bG91aXNlIHJhaXNiZWNr?= <louise ra******@discussions.microsoft.com>
Subject: Problems running asp.net on IIS
Date: Fri, 23 Jul 2004 07:24:02 -0700
Lines: 1
Message-ID: <32**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.157
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:249409
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi I know I may be repeating some past questions but i wasnt sure if i added on to these if they would appear in the 'new list'! I have IIS 5 installed, IE 6 and visual studio .net 2003. When i create an aspx page under iis, when i try to run it via localhost i get the 'Open/Save' screen, i.e. it is not running the code but
just ends up opening it in visual studio. I went to the downloads (thinking i may not have installed the SDK for .net) but it says go to control panel,
add/remove and if you have .net framework 1.1 you dont need to do anything, and I have, but aspx's wont run. It does say that visual studio installs the SDK
automatically so it appears I do have it. Another odd thing is that if I simply create test.html under IIS that doesnt run either, just takes hours to open in IE and
appears to be hanging (but if i double click on it and bypass the localhost it opens fine and pops up the hello world alert that i scripted). What have I
missed? Is it something obvious?

Nov 18 '05 #5

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

Similar topics

9
by: leke | last post by:
Hi, I am trying to learn PHP but am having some problems getting my code running in Explorer 6. <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?>...
6
by: Ed | last post by:
Here's the scene: 1) XP Pro, with IIS installed and running, as well as complete .NET Architect Enterprise development environment 2) Tomcat server 4.1.27 in the default directory...
1
by: Rick | last post by:
I'm having problems with EnterpriseServices transactions running against Oracle 9iR2. I am inconsistently getting Oracle ORA-24761: Transaction Rolled Back results mid-transaction. If I start...
3
by: headware | last post by:
I have an issue that I've been encountering in an ASP application I'm working on. Most of the application is written in ASP, but there is one page written in ASP.NET. The ASP.NET page needs to have...
2
by: Ellen Graves | last post by:
I am having a lot of problems with DB2 8.3.1 on RH Linux AS2.1. Installing and running stored procedures is problematic. Stored procedures I have used for years on V7 on WinNT are now failing...
7
by: Andy K | last post by:
Hi , I have an existing database (on a Linux Red Hat ES3) where the replication function exists but does not work because the target database has been shutdown months ago . My question is...
2
by: Tim V. | last post by:
Here's the layout: AIX v5.2, DB2 v8 fp8 running in 64bit I've got a Multi-partitioned db running on lpar4 and I want to connect it to 2 instances running on lpar13. We'll deal with just 1...
8
by: Michael C | last post by:
Hi all, I'm still having problems with VS.NET 2003 running on my XP machine. I finally decided I might as well uninstall completely and reinstall from scratch. But lo and behold it won't let...
3
by: k2storm | last post by:
I'm having problems with Reports and I'm seeking some help, or advice on how to solve this problem. Any help will be much appriciated! It’s hard to explain but I will try to do my best: In my...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.