Many objects were "shut down" in FP 2003 preview (i.e. JAVA) for various reasons (including security) - sounds like .htc (DHTML) may
be one of them
- FP preview has never been a full fledged browser w/ respect to script objects
- always use File Preview in Browsers for pages containing scripts
| The message is "access is denied to: file///C:/location/filename.htc"
|
| This file is referenced from a css.
|
| It only fails when trying to preview directly in Frontpage 2003 - it
| works perfectly when previewed in browser, whether as a file or
| through the web server.
|
| Frontpage creates a temp file, and this is what seems to be causing
| the problem:
|
| the temp file is:
| file://C:\Documents and Settings\username\Local Settings\Temporary
| Internet Files\FrontPageTempDir\pvw4.htm
| When I open this file in the browser, it also fails. I've tried
| putting a copy of the file "filename.htc" in this folder, but that
| doesn't work either.
|
| I've tried moving the reference to "filename.htc" out of the css, and
| into the html, but that doesn't make any difference either.
|
| Thanks for your help,
| Joe
|
| > >-----Original Message-----
| > >I have a site where the javascript worked just fine in
| > >the preview in Frontpage 2000, but gives errors in
| > >Frontpage 2003. It says that access to a .htc file is
| > >denied. The file is there, and "preview in browser"
| > >works just fine.
| >
| > 1. What's the exact message?
| >
| > 2. How are you viewing the page when the error occurs?
| > For example:
| > o By choosing Preview in Browser, and thereby
| > browsing a local disk location?
| > o By choosing Preview in Browser, and thereby
| > browsing a local Web server?
| > o By browsing your published Web site using an
| > http:// URL?
| >
| > 3. What's the URL?
| >
| > Jim Buyens
| > Microsoft FrontPage MVP
| >
http://www.interlacken.com
| > Author of:
| > *----------------------------------------------------
| > |\---------------------------------------------------
| > || Microsoft Office FrontPage 2003 Inside Out
| > ||---------------------------------------------------
| > || Web Database Development Step by Step .NET Edition
| > || Microsoft FrontPage Version 2002 Inside Out
| > || Faster Smarter Beginning Programming
| > || (All from Microsoft Press)
| > |/---------------------------------------------------
| > *----------------------------------------------------