Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 5th, 2006, 04:12 AM
poita poita is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 6 poita User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 41 sec
Reputation Power: 0
Viewing ASP page locally

I've just started learning ASP and I'm wondering if there is anyway I can preview my pages locally.

This is the page that I am testing:

Code:
<html>
<body bgcolor="yellow">
<center>
<h2>Hello W3Schools!</h2>
<p><%Response.Write(now())%></p>
</center>
</body>
</html>


So I've got that saved as an .asp file on my computer and I want to view it without having to upload it to my web host.

I've downloaded the microsoft .net framework sdk, is there anything else I need or anything I can use or enable or something?

Sorry for such a simple question. I'm a pretty experienced programmer and I can use html fine, I'm just clueless when it comes to internet, servers and all that stuff.

Thanks in advance

Reply With Quote
  #2  
Old June 5th, 2006, 04:20 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,186 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 36 m 24 sec
Reputation Power: 699
you need to install IIS if you are running a windows XP Pro machine,
you can install it from the add/remove windows components screen
in the CP.

have a look at this site:
http://www.webwizguide.com/asp/tuto...s_winXP_pro.asp
hope this helps
__________________
Look! Its a ShemZilla



Reply With Quote
  #3  
Old June 5th, 2006, 05:05 AM
poita poita is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 6 poita User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 41 sec
Reputation Power: 0
Quote:
Originally Posted by nofriends
you need to install IIS if you are running a windows XP Pro machine,
you can install it from the add/remove windows components screen
in the CP.

have a look at this site:
http://www.webwizguide.com/asp/tuto...s_winXP_pro.asp
hope this helps


Hmmm, I've installed that now and done everything on that site but it still doesn't work :-/

Internet explorer just opens the .asp file as a plain text file and firefox opens it right but the <%Response.Write(now())%> does nothing... (It did this before installing too btw)

Any ideas?

Reply With Quote
  #4  
Old June 5th, 2006, 09:55 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,186 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1Folding Points: 107805 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 36 m 24 sec
Reputation Power: 699
if you site is under this folder:
Code:
c:\inetpub\wwwroot\siteOne\page.asp

then use this in the URL bar:
Code:
http://localhost/siteOne/page.asp

hope this helps

Reply With Quote
  #5  
Old June 7th, 2006, 11:53 AM
poita poita is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 6 poita User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 41 sec
Reputation Power: 0
Quote:
Originally Posted by nofriends
if you site is under this folder:
Code:
c:\inetpub\wwwroot\siteOne\page.asp

then use this in the URL bar:
Code:
http://localhost/siteOne/page.asp

hope this helps


Thanks so much, that worked.

But now I'm having another (small but annoying) problem.

I can't seem to clear IEs cache. When I edit a page and go to load it back, it keeps coming up as the original (un-editted) page. I've tried going to InternetOptions->Delete Files, and I've also tried removing files manually and even using Disk Cleanup but none of them seem to fully clear the cache, I restart IE everytime I do one of these as well!

If I simply change the name of the editted file then it works but it's really annoying to have to do that to see every change.

Reply With Quote
  #6  
Old June 30th, 2006, 07:53 AM
Estanuk Estanuk is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 58 Estanuk User rank is Private First Class (20 - 50 Reputation Level)Estanuk User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 3 h 36 m 31 sec
Reputation Power: 3
Quote:
Originally Posted by poita
Thanks so much, that worked.

But now I'm having another (small but annoying) problem.

I can't seem to clear IEs cache. When I edit a page and go to load it back, it keeps coming up as the original (un-editted) page. I've tried going to InternetOptions->Delete Files, and I've also tried removing files manually and even using Disk Cleanup but none of them seem to fully clear the cache, I restart IE everytime I do one of these as well!

If I simply change the name of the editted file then it works but it's really annoying to have to do that to see every change.


Tools > internet options > temp internet files > settings > "check for newer versions of stored pages" try selecting every visit to the page. It could just be that your deleting the wrong cache in windows depending on a few things

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Viewing ASP page locally


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT