473,785 Members | 2,423 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1384
Try running the command-line utility:

C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_regiis.e xe -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******@discus sions.microsoft .com> wrote in
message news:32******** *************** ***********@mic rosoft.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******@discus sions.microsoft .com> wrote in
message news:32******** *************** ***********@mic rosoft.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******@discus sions.microsoft .com> wrote in
message news:1B******** *************** ***********@mic rosoft.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******@discus sions.microsoft .com> wrote in
message news:32******** *************** ***********@mic rosoft.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%\micros oft.net\framewo rk\v1.1.4322\as pnet_regiis -i

This will register the aspnet_isapi.dl l 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: AcRwwLPjtZFPBl5 XQbGgI6a1hT5nMA ==
X-WBNR-Posting-Host: 217.42.146.95
From: =?Utf-8?B?bG91aXNlIHJ haXNiZWNr?= <louise ra******@discus sions.microsoft .com>
Subject: Problems running asp.net on IIS
Date: Fri, 23 Jul 2004 07:24:02 -0700
Lines: 1
Message-ID: <32************ *************** *******@microso ft.com>
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.publi c.dotnet.framew ork.aspnet
NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.157
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG XA01.phx.gbl!TK 2MSFTNGXA03.phx .gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:2494 09
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
2050
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>'; ?> </body>
6
3444
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 jakarta-tomcat-4.1.27 3) Java NetBeans "cobundle" installed in the default directory (j2sdk_nb\j2sdk1.4.2) 4) JSP environment variables set (JAVA_HOME and CATALINA_HOME) WHen I run Internet Explorer and enter the address http://localhost:8080/ I
1
4203
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 the transaction and run it against an object it might fail. If I rerun the same transaction again it might work. But on trying again it might fail. If I disable transactions <Transaction(TransactionOption.Disabled)> the app runs and all the data...
3
2850
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 access to the ASP Session data to run correctly. In order to achieve this I create my own HTTP request for a certain ASP page with the name of Session variable that I want is stored in the query string of the request. The requested ASP page...
2
2326
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 multiple times/day. Data that exists in the db is not returned with a select *, but is returned when a where clause with a primary key value is specified. There are other problems, including the db crashing in the middle of a simple query.
7
2004
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 what will happens if i start the target database ? Will there be problems with the source database or the target database (decreasing performance or other kinds of problem )?
2
5260
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 instance on lpar13 for now. lpar4 -> db name dwdb lpar13 -> db name IBMEDGE On lpar13, I have a userid that has DBADMIN authority.
8
1730
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 me uninstall... It gets stuck about 2/3rds of the way through the uninstall (based on the progress bar) and hangs for a very, very long time (a few hours last time). Then it seems to give up and returns an error message stating that it cannot...
3
2472
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 Database I have about 6 to 7 reports that show me all the data from different tables. When I open any Report in 'Print Preview' Mode everything looks fine and the Reports open just fine. But once in a while, for some strange reason and I don't know why,...
0
10157
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10096
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5514
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.