Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please!!! Error: 'thisPage' is undefined

Status
Not open for further replies.

wf

Programmer
Feb 1, 2001
32
US
When I run an ASP page after I've added the 'scripting object model enabled' I get the error:

A runtime error has occurred.
Do you wish to Debug?
Error: 'thisPage' is undefined


I've to finish my work in one week!!!

Thanks
 
If my memory is correct that was related to having a _ScriptLibrary folder directly under the Web sites 'root' folder. That problem is documented on MSDN I believe.

I think the solution is to have that folder one more (or greater) level removed from the root folder.

Hope this helps
-pete
 
Thanks a lot but I've tried that and it doesn't function.
 
> I've tried that

'that'? What have you tried? You looked up the article and followed the instructions to correct the problem?

-pete
 
Well. I found the article and If a understood well, I created a new folder under the root and there I put the folder _ScriptLibrary.

Isn't that what I am suposed to do?





PD: Sorry for my english, but I speak spanish.
 
wf,

Here is the resolution section of the article:

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.


That does not match your description of what you did in your previous post. I can't see your machine so I can only go by what you post in your messages. I CAN verify that I have had this same problem and that the resolution works.

-pete
 
Well that's the article I read but it seems that I did another thing. Can you explain me in simple words (This is my first project) what should I do.

Thanks
 
> Can you explain me in simple words

I certainly can not explain it in MORE simple words than the article does.

Sorry I can't be of more help.
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top