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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

applyServerBehaviour - Javascript Error

Status
Not open for further replies.

Swazi

IS-IT--Management
Joined
Jan 8, 2003
Messages
1
Location
ZA
Every time I try to create a new recordset I am getting the following error: While executing applyServerBehaviour in Recordset, a Javascript error occured.

Any one know how to solve this problems bar from reinstalling?

Many thanks

Swazi
 
I had this happen to me once - and for me there was an error on some javascript that was placed prior to the recordset insertion section.

However, I researched Macromedia. Found a similiar situation where the cause was outdated ODBC drivers are installed. Here is their solution for this particuliar situation.


Solution
The following steps are known to fix many instances of this issue. Try one or both of the steps below:
Upgrade Microsoft Data Access Components (MDAC) to version 2.5. The installer MDAC 2.5 RTM is available from Microsoft's Web site. Download and install MDAC 2.5 RTM before installing MDAC 2.6 or any later versions of the MDAC.

Create a new DSN to use for your UltraDev connection: 1 Open Windows ODBC Data Source Administrator:


On Windows 95/98/NT, choose Start > Settings > Control Panel, then double-click the ODBC Data Sources icon. Depending on your system, the icon may be labeled 'ODBC' or '32bit ODBC'.

On Windows 2000, choose Start > Programs > Administrative Tools > Data Sources.

2 In the ODBC Data Source Administrator dialog box, click the System DSN tab.

Note: The tab should display a list of System DSNs that have already been created.

3
Click 'Add' to add a new DSN to the list.

4
Select a driver for your database from the list. For example, if your database is a Microsoft Access file, select Microsoft Access Driver (*.mdb). After selecting the driver, click 'Finish'.

Note: If a driver for your database does not appear in the list, contact the database vendor for information on obtaining and installing the driver.

5
Follow the onscreen instructions to create the DSN.

6
In UltraDev, create or modify the database connection to use the DSN created in step 5.



For the type of error that I encountered with bad Javascript. Remove the javascript - then create the recordset and re-put the javascript back in later.

First - I would do as they suggest to recreate a dsn connection on your computer.

If that fails - remove the javascript.

if that fails - download the MDAC.

Although - downloading the MDAC would not hurt in any case. However you may find yourself needing to recreate connections for any website you may have.





"If you feel a post has been helpful to you, click on the link at the bottom of their post to cast a vote for "TipMaster Of The Week". You don't need to be the one who asked the question to vote"

Stuart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top