BUG: Error "Thispage Is Undefined" When You View an ASP Page (190938)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
This article was previously published under Q190938 SYMPTOMS
You encounter one or both of the following errors when you view your Active Server Pages (ASP) page in a browser:
An error has occurred in the script on this page.
Line: 1
Char: 1
Error: Syntax error
Code: 0
A Runtime Error has occurred.
Do you wish to Debug?
Line: 1
Error: 'thisPage' is undefined
CAUSE
The scripting object model depends on the Pm.asp file. A line of text is
added to the top of your page when you enable the scripting object model to
include this file when you load it in a browser. If the file is not loaded for any reason, you encounter one or both of these error messages.
This problem can occur if the browser has a timing issue loading include files, or if the ASP file is in a subfolder of a root Web.
RESOLUTION
If your project is a root Web, and you have scripting object model-dependent ASP pages in a sub folder, copy the _ScriptLibrary folder and its contents to your subfolder.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbBug kbDSupport kbScript kbWebServer KB190938 |
---|
|