navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Server Problem with ASP

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> Server Problem with ASP
Page: [1]
 
Dan Bonacorsi

 

Posts: 7
Joined: 1/21/2003
Status: offline

 
Server Problem with ASP - 1/21/2003 20:31:43   
I' m running a personal server under Windows ' 98. It appears as if ASP code is not being processed. When I try to embed a StoreFront link in a page (ex, a dynamic product page), the <%= Session(" DomainPath" ) %> ASP coding is not recognized by the browser. The closing " %>" closes the <a> tag, and the remainder of the link address is added to the text display for the link. Trying to run the page in Internet Explorer generates a " missing file" page.

If I remove the <%= Session(" DomainPath" ) %> code, I get a correct text
display and a correct link to an existing storefront asp file (since HTML
automatically fills in the domain path). However, when I try clicking on the
link, I get a temporary " file downloading" message and the storefront
dynamic products page (also in ASP) never displays.

Any ideas on what I' m doing wrong?
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: Server Problem with ASP - 1/21/2003 21:15:45   
You have to access the page using a localhost url, not by file location. Something like http://localhost/mypage.asp

The page must have an .asp extension

You need a asp-enabled web server. If you' re using the Frontpage PWS from FP97/98, asp is not included without a bunch of extra work. You can install PWS 4.0 from your Windows 98 CD if this is the case.


_____________________________

======
Doug G
======

(in reply to Dan Bonacorsi)
Dan Bonacorsi

 

Posts: 7
Joined: 1/21/2003
Status: offline

 
RE: Server Problem with ASP - 1/24/2003 23:24:00   
Doug,

Thank you for your help. When I originally tried to run the asp page by referencing it as " http://localhost/..." I received an error message box that it could not be accessed offline. So I switched over to referring to the page as a local file. After your advice confirmed that the page should be called using the " http://localhost/" format, the next time I got the " offline" error message, I clicked on the " retry" button, and the page ran correctly.

I also found out that if I was already on-line and referred to the localhost, the page ran correctly the first time.

I really appreciate your help. I spent a week spinning my wheels trying to find out what I was doing wrong.

Dan

(in reply to Doug G)
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: Server Problem with ASP - 1/25/2003 17:05:43   
Yep, if you' re not connected to the internet, IE won' t connect to localhost the first time. You' ll get an error message, just retry and the retry will initialize the TCP/IP stack locally and you' re off to the races!


_____________________________

======
Doug G
======

(in reply to Dan Bonacorsi)
Page:   [1]

All Forums >> Web Development >> Server Issues >> Server Problem with ASP
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts