Re: Random Product Display

Tech-Archive recommends: Speed Up your PC by fixing your registry



Ronx,

I read that somewhere about setting the server to run all htm pages as ASP,
and thought about doing that. Thanks for letting me know that this would
mess up my FP forms!

The asp code is not directly in the html page, the code comes from an
included page. (but not an fp include).

There are 4 "boxes", each one is set so that none show the same product at
the same time.

The errors only show up some of the time. You might have to refresh the page
10 or 15 times to get the error. It is:

Line 55
Error: Unterminated string constant

There are 2 other errors, they are the same except for the line number.


Thanks, J




"Ronx" <ronx917@xxxxxxxxxxx> wrote in message
news:OR00H$8fGHA.324@xxxxxxxxxxxxxxxxxxxxxxx
An HTML page will not work with ASP code unless the page has an .asp
extension, or the server is set to run ALL .htm and .html pages through
the ASP engine (which means run time FP components such as forms will not
work.)

What actual errors do you see?
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

"JA" <jarmour@xxxxxxxxx> wrote in message
news:x45dg.5899$3q2.2823@xxxxxxxxxxxxxxxxxxxxxxxx
Ok, I finally upgraded to FP2003, and it looks pretty neat. I'm wondering
if there is a way it can fix a problem that I'm having.

I have an asp script that is included in an html page - it shows product
image, name, short description, and links to the detail page. There are 4
products shown, drawn from a database, and each time you revisit or
refresh, the four products change. BUT, I get 3 different error
messages - sometimes - and the products don't load in the page.

I don't want to change the html page to asp - it has a decent page rank.
Also the script is used in an asp page, and still gets the errors, so
that really isn't the issue.

So, I'm wondering if there is a way to do this with some of the new
things in FP03 - like maybe the web parts?

Thanks for any ideas you might have~

J~





.



Relevant Pages

  • Re: Desperate Help Needed
    ... hundred K of output HTML. ... The queries take no time at all to execute, it is the sending the data to ... ASP for years with big pages. ... > basically buffers all the output on the server and then send it in one go. ...
    (microsoft.public.inetserver.iis)
  • Re: Treeviews
    ... On one side there is ASP, PHP, JSP. ... > server side code that executes to extract data base stuff. ... > html in ways that make then inseparable. ... You CAN intermingle client side ...
    (comp.lang.cobol)
  • Re: asp problem in IIS5.1
    ... > I have windows XP with IIS 5.1. ... > with HTML Pages.but it is not working with ASP pages. ... > Server Application Error ...
    (microsoft.public.inetserver.asp.components)
  • Re: WINXP PRO IIS runs HTML pages but NOT ASP pages
    ... Sonny wrote: ... > Server Application Error ... >>>> I can navigate to any html page on my site but it doesn't seem to ... >>>> any asp page at all. ...
    (microsoft.public.inetserver.iis)
  • Re: Web server ignoring ASP
    ... server-side script doesn't) all have the ".asp" extension. ... >>say that I know I should be addressing this with my ISP, ... >>web server that they claim supports ASP, ... >>only display the embedded HTML, ...
    (microsoft.public.inetserver.iis)