Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2005, 01:05 PM
Authorized User
 
Join Date: Mar 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default JavaScript errors

All of a sudden, over the weekend, the following errors (and others like these came up) even though last week, things were working just fine! This is quite crazy! Once again, I'm thinking it's possessed. Here are the errors:

    While executing apply Server Behavior in Recordset.htm, the following JavaScript error(s) occurred:

    At line 266 of the file C:\Program Files\Macromedia\DreamweaverMX2004\Configuration\ etc. etc." Exception thrown in native function.

    While executing getComponentChildren in Connections.htm, the following JavaScript error(s) occurred:

    At line 65 of file D:\Dreamweaver\etc..." Exception thrown in native function.

This comes up when I'm setting up the connection to the database file (both ODBC and OLEDB) and also when I try to create a Recordset.

please help!
 
Old April 25th, 2005, 01:38 PM
Authorized User
 
Join Date: Mar 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This error when I try to create a RecordSet:

While executing onChange in ServerBeh4-SimpRS.htm, the following JavaScript error(s) occurred: At line 702 of file "C:\Program Files\Macromedia\Dreamwweaver MX 2004\...\etc...."
Exception thrown in native function

I'm ready to scrap the whole thing and start over! :(

 
Old April 25th, 2005, 01:46 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

What version of Dreamweaver are you running? Did you upgrade with the latest service pack?

I have seen a lot of these errors in DW; most of them hard to reproduce / seemingly random. The latest service pack fixes some, but not all of them.

This is Dreamweaver related (as some of the engine is built with JavaScript) and not with your own pages, although certain steps / behaviors seem to trigger these errors more often...


Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Somewhere Only We Know by Keane (Track 1 from the album: Hopes and Fears) What's This?
 
Old April 25th, 2005, 02:54 PM
Authorized User
 
Join Date: Mar 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm using version 7.01 already. Are there any updates (service packages) since?
 
Old April 25th, 2005, 04:24 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Nope, that's the latest version.....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Overcome by Tricky (Track 1 from the album: Maxinquaye) What's This?
 
Old April 25th, 2005, 05:05 PM
Authorized User
 
Join Date: Mar 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A glimmer of hope!!...

perhaps...

Here's a link I just discovered, describing the same error! http://www.macromedia.com/go/tn_19515 (scroll down to "Database connectivity fails with local ASP.NET and ASP servers")





I'll keep you..."posted"...
 
Old April 25th, 2005, 05:32 PM
Authorized User
 
Join Date: Mar 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

nope!!
same error exists...
I'll have to reinstall the whole kit & kaboodle...





 
Old April 26th, 2005, 02:29 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yeah, it might help, although this problem is quite persistent. It might come back after you reinstall.

I have seen many of those errors (I saw a *lot* when building TheSoccerSite) and I have never been able to find out what caused them. From what I understand from others, they see the same, unreproducible behavior, so it's hard to log a bug for this at Macromedia....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old April 26th, 2005, 04:40 PM
Authorized User
 
Join Date: Mar 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar, here is something I found: (source: http://www.flzone.net/forum/topic.as...in+native+funt)

Quote:
quote:Is anyone else seen this problem and know the solution.

I am receiving the following error when I attmept to connect a database to the asp page.

While executing getComponentChildren in Connections.htm, the following JavaScript error(s) occurred:

At line 65 of file “C:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration\Components\Common\Connection\Co nnections.js”: exception throw in native funtion

Condiitons are
Running IIE local on my pc
Windows XP Pro Just upgraded

My own reply to my own problem.. I seem to have resolved the issue with the help of microsoft. The solution was a re-install of the XP Pro operating system. It seems they (Microsoft) have some know issues with the upgrade corruption the MDAC 2.8. I at the suggtion of Microsoft tried installing the MDAC 2.8 from their downloads... Since this failed to resolve the issue. I re-installed windows XP Pro and completly wiped the machine. Once done I then installed IIS and then Dreamweaver MX. This seems to have resolved all the issues.
The question is, if I have Windows 2000, does the MDAC 2.8. issue still apply?

You are right, I've reinstalled the whole program and the same error came up right away!
 
Old May 1st, 2005, 05:25 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I don't know for sure, but I don't think this will work.

MDAC 2.8 can be installed on Win 2K without any problems, but I doubt that this will fix it. The errors you see occur not only when working with databases, but also when working with other server behaviors, client behaviors, templates etc.

So, I don't think that MDAC will fix them.....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: The Carny by Nick Cave & the Bad Seeds (Track 4 from the album: Your Funeral...My Trial) What's This?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Validator controls throwing JavaScript errors Bob Bedell ASP.NET 2.0 Professional 7 December 31st, 2007 06:05 AM
Javascript Errors Not Appearing itHighway Javascript How-To 1 October 13th, 2005 01:30 AM
XSLT + Javascript errors braindog_43 XSLT 0 February 3rd, 2005 09:04 AM
Javascript - Undetermined String Errors jethro Javascript How-To 3 July 11th, 2003 06:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.