FrontPage Server Extensions for Windows - problem w/ shtml.dll and relative links

This is Interesting: Free IT Magazines  
Home > Archive > FrontPage Server Extensions for Windows > November 2004 > problem w/ shtml.dll and relative links





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author problem w/ shtml.dll and relative links
fpDreg

2004-11-08, 5:47 pm

I’ve created a save results form confirmation page “ opens as
…vti_bin/shtml.dll/mypage.htm” that has a link that opens a pop-up window.
The FrontPage Form Handler works fine, sends the form results via email and
displays the confirmation page. However, when I try the pop-up hyperlink, I
get the following error:

Cannot run the FrontPage Server Extensions on this page:
“http:/www.myserver.com/mypopup.htm”

The pop-up works correctly on the confirmation page if it is not called by
the shtml.dll form hander stub. After some checking, I found that I can get
the pop-up to work if I use an absolute reference for the page hyperlink
rather than a relative link. I thought this was strange as shtml.dll was
able to supply the full path of the requested file in the error message. The
system is a win 2003 server w/ FP 2002 extensions running IIS 6. Both files
(mypage and mypopup) are in the same folder of the same sub web.

Is there any IIS or extensions settings that need to be made (checked) for
the shtml.dll to work with the relative link? While it does work with the
absolute links, on our intranet we go through dev, test, and production
servers. The links would need to be changed on each box. I use an include
for this, but still would like to see if there is a better way to handle this.

Thanks in advance

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com