FrontPage 2003

I installed IE 7 the other day, however when I then used FrontPage 2003 to "Preview" the page, I get a script error.

Un-installed IE 7, Frontpage works as normal

Anyone



Answer this question

FrontPage 2003

  • Dave Waterworth

    Hi,
    It seems that IE7 has changed the way Frontpage works with external javascript.
    I've found that if I use:
    <SCRIPT SRC="script.js" type="javascript"></SCRIPT> for example, I always receive the 'debug' errors.
    But if I remove the external javascript reference and put the script on the page the debug problem goes away.


    It seems others are also seeing this behavior but haven't found a solution yet.


  • progames25

    I've found that changing any external Javascript reference to an absolute address stops the script errors and allows the page to display normally in preview mode.

    i.e. replace <SCRIPT SRC="script.js"... with <SCRIPT SRC="http://mysite.com/script.js"...

    This works fine but is still a pain if you are working on code within the script as you have to FTP the script to the site.

    Turning off script debugging etc. in IE7 only changes the "script error / start debugging" dialogue, so this isn't the answer :(


  • Pankaj11

    I experienced the same problem a few minutes ago.

    There is some interesting discussion over on the "Visual Studio/VS Debugger/Javascript debugging with IE7" thread about similar problems.  It appears we can't expect much to be done about this - unless MS issues an update to Frontpage as it doesn't look like they will change IE7.

    To MSFT: The code still works in IE7.   So, why can't we still use FrontPage to preview the pages

    This is really frustrating!



  • jen0andy

    When you press "preview," Frontpage is actually hosting "Trident" (IE) inside of itself. When you upgraded to IE7, the old FrontPage behavior (IE6) was swapped out in favor of IE7--this is why you see a different behavior with Frontpage after upgrading.

    As to the script error, what exactly is being reported


  • polymorphicx

    I get the following:

    Internet Explorer Script Error
    An error has occurred in the script on this page
    Line: 2
    Char: 1
    Error: Invalid character
    Code: 0
    URL: file:///CP/Documents......../FrontPage TempDir/pvw2.htm
    Do you want to continue running scripts on this page



  • Martin00

    Hi,

    Here is the link:

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=850746&SiteID=1

    Don't see any sign of a solution here either.

    Ciao,

    Al



  • thukralz

    ..."Visual Studio/VS Debugger/Javascript debugging with IE7" thread...

    Hi,
    Any chance of a link to this thread I've tried searching without any luck...


  • FrontPage 2003