Real basic question

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I am reading Microsoft's ASP.NET Step by Step that states that I can create
an aspx file in notepad.

When I do this I get a an error message: "Server Application Unavailable"
when I try to view the file in a browser.

However, I can create and access an html file in a browser.

I am using XP SP2.

Does anyone have an idea why the apsx file is not accessible?
 
I think you've maybe missed the very basic point that .aspx files need to be
served by a web-server (such as IIS). Unlike .html files you can't simply
hope to view them as local files in a browser!

So you would first need to install IIS and then make your page available to
the server. You still have a fair bit of reading ahead of you..

Paul.
 
hmmmm....

did you follow the following steps ?

1. Create .aspx code in notepad.
2. save it in folder
3. create websharing / alias / virtual directory of folder specified in
step2, to ensure, IIS serves the .aspx'z

Well, thats what you need to hang around with those books out there,
striving to make mark for so called 'best sellers'.

Often, we all fall into 'myth' to go by titles, and not by content.

Here are few of my suggesstions, which you may find useful...
1. authors who are large contributors for community, like don box (my
personal fav.) etc are worth to buy !!
2. Read forewards carefully
3. Glance index
4. Read back cover - what others have to say about the book.
5. Off-the-shelf cheap books are often not worthy stuff.

regards,
venkat.Murthy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top