Problems opening asp page with parameters

T

Thomas A. Rowe

Are trying to open this in FP or the browser, if FP then it will not include the QueryString.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Thomas A. Rowe

When you say open in FP, how? Preview in browser or Preview tab, and do you have the site open at
http://localhost or http://servername which is required for Preview in Browser to work with pages
that need to be processed on the server, such as .asp pages?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Ivan Leben said:
I'm trying to open it in FP. It works in FP2000 I checked it out again a minute ago. I need it
because I'm working on FP automation and I have to change the automation server from FP2000 to
FP2003, but it doesnt work either in standalone FP. The program already works fine with FP2000. (the
code: fpApp.LocatePage("[URL with parameters]", fpPageViewNormal)
 
I

Ivan Leben

I mean in FP choose File->Open... and write the address of the ASP. In fact it's a help page. It contains a TOC window and according to links in TOC it opens pages saved in a SQL database. Links look like this: "http://www.datalab.si/ph50/data.asp?T=0&I=x", where "x" is the desired page's index. I want to open these pages in FP in order to edit them and to save them into database again. It all worked fine with FP2000.
 
I

Ivan Leben

To be more specific...if there are no parameters this ASP page returns main page containing frames, TOC etc. If T and I are set it returns a page or an image according to values of T and I. These pages and images are saved in an SQL database. The problem is because FP2003 doesn't want to process ASP to show pages and images, but tries to open just "data.asp" no matter what parameters you give.
 
T

Thomas A. Rowe

First you must be opening a web / site not just a page. When you open the page correctly in FP, and
then save the page, the page is saved into your current open web / site, it has nothing to do with
the database at that point.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Ivan Leben said:
I mean in FP choose File->Open... and write the address of the ASP. In fact it's a help page. It
contains a TOC window and according to links in TOC it opens pages saved in a SQL database. Links
look like this: "http://www.datalab.si/ph50/data.asp?T=0&I=x", where "x" is the desired page's
index. I want to open these pages in FP in order to edit them and to save them into database again.
It all worked fine with FP2000.
 
T

Thomas A. Rowe

No version of FP has ever processed any server-side script while in design/normal, HTML/Code or
Preview tab mode/view.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Ivan Leben said:
To be more specific...if there are no parameters this ASP page returns main page containing
frames, TOC etc. If T and I are set it returns a page or an image according to values of T and I.
These pages and images are saved in an SQL database. The problem is because FP2003 doesn't want to
process ASP to show pages and images, but tries to open just "data.asp" no matter what parameters
you give.
 
I

Ivan Leben

Yes I know, because it's a sever-side and not client-side script. But there must be a way otherwise it wouldn't work in FP2000, would it....Why does it work in earlier version but not in newer one?

btw: I know it doesn't have to do anything with database I just wanted to say that my ASP reads HTML and image data from fields in a database table.
 
T

Thomas A. Rowe

I use FP2000 and work with ASP code every day, and I have never been able to run ASP code in FP
without using File Menu | Preview in browser from a web open in FP against a web server.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Ivan Leben said:
Yes I know, because it's a sever-side and not client-side script. But there must be a way
otherwise it wouldn't work in FP2000, would it....Why does it work in earlier version but not in
newer one?!
btw: I know it doesn't have to do anything with database I just wanted to say that my ASP reads
HTML and image data from fields in a database table.
 
Top