Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 17th, 2005, 12:52 PM
Registered User
 
Join Date: Mar 2005
Location: Bowling Green, KY, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to run asp pages in IIS

Hi,
I am trying to run asp.net pages( .aspx) in another system that runs IIS. I am able to access all other pages using http://localhost/abc.htm but i am unable to access files like http://localhost/def.aspx Do i need to change settings in IIS in-order to run the aspx pages ?
Please help me..
Thank you ppl.

Femina
  #2 (permalink)  
Old March 17th, 2005, 02:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Have you loaded .NET on the machine?

  #3 (permalink)  
Old March 17th, 2005, 06:20 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

are you getting any error messages ? is the server configured to run .Net pages ? is .Net installed on the server?
  #4 (permalink)  
Old March 17th, 2005, 09:35 PM
Authorized User
 
Join Date: Mar 2004
Location: Rawang, Selangor, Malaysia.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you install .NET Framework in your machine that host your aspx file? Please attached the error message that you get from your system.

  #5 (permalink)  
Old March 18th, 2005, 12:51 AM
Registered User
 
Join Date: Mar 2005
Location: Bowling Green, KY, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
  I havent installed .net on the machine but i have installed .net framework 1.1 on the machine. Is it necessary to install .net on the machine to run the aspx pages in IIS? It is not showing any error message..its just displaying page not found..but the page is in that folder..i am able to access other html pages in the folder but not the aspx pages.
    Thank you,

Femina
  #6 (permalink)  
Old March 18th, 2005, 09:13 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
Thanks: 0
Thanked 3 Times in 3 Posts
Default

What OS are you running?

  #7 (permalink)  
Old March 18th, 2005, 01:13 PM
Registered User
 
Join Date: Mar 2005
Location: Bowling Green, KY, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am running on a xp proff.

Femina
  #8 (permalink)  
Old March 18th, 2005, 01:18 PM
Registered User
 
Join Date: Mar 2005
Location: Thunder Bay, , Canada.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm in the same boat as femina: The aspx page I created doesn't execute the asp code. I don't get any error messages whatsoever. The html shows up but not the output that is supposed to be generated by asp.net.

I've coded some basic asp.net pages in vb in the past, but never on my own home machine, so I want to set up my environment to get back into asp.net development and learn it some more.

I am running Windows2000 Pro, installed the .NET Framework 1.1, installed the .NET Framework SDK 1.1, and installed the SQL Server Desktop Environment.

There was mention of installing .NET. What is that exactly? Isn't it the .NET Framework 1.1 that I already installed?

I checked the permissions to the folder and I added the "ASP.NET" user and made sure it has write permission.

I also made sure that the virtual folder was set up to execute scripts.

Greg Griffiths asked femina if the server is configured to run aspx pages. What exactly does that mean, to configure the server to run aspx pages?

What could I be missing? Maybe I have to start from scratch again to make sure I didn't miss anything that I claim to have done properly. What do you think?

Your help on this matter will be much appreciated.

  #9 (permalink)  
Old March 18th, 2005, 02:42 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

I thikn the problem here is that IIS has been installed prior to .Net on the server in question, so all the mappings - the links which tell IIS what to do with .aspx files - are missing. Try running the following on the server :

aspnet_regiis.exe -i
  #10 (permalink)  
Old March 18th, 2005, 03:03 PM
Authorized User
 
Join Date: Mar 2005
Location: Mumbai, Maharastra, India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

dear if u r using xp-proffessional u need not to worry only the requirement is ur iis shold be configured before installing .net and u dont whole package only frame work is enough

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Developing pages with IIS Clem BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 November 25th, 2008 12:02 AM
Cannot view asp pages with Win XP Pro (IIS 5.1) amonte Classic ASP Basics 6 January 23rd, 2005 06:16 PM
Hosting ASP .NET pages outside IIS sureshsundar007 General .NET 6 June 9th, 2004 12:09 AM
IIS Problem with ASP Pages rodmcleay Classic ASP Basics 2 April 18th, 2004 08:47 PM
Problems displaying web pages using IIS kathryne Classic ASP Professional 1 November 14th, 2003 12:48 PM



All times are GMT -4. The time now is 08:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.