INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

pervasive sql 9.x odbc error

pervasive sql 9.x odbc error

(OP)
We have been trying to get the pervasive sql 9.x to work but are getting the following error.

[Pervasive][ODBC CLient Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager} You are not authorized to perform this operation (#-1810)
ODBC - Update on a linked table failed.

Has anyone received this error?

Thanks
Kevin

RE: pervasive sql 9.x odbc error

That means your database has security enabled and you are either passing and incorrect, invalid, or no username/password on the connection.  You need to specify the username/password for the PSQL database that has rights to do the operation you are trying to perform.

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: pervasive sql 9.x odbc error

(OP)
Thanks!

We checked and the password is included.  We even tried creating a non-password protected database. We still could open and query but could not edit the database on either one.

RE: pervasive sql 9.x odbc error

A few more questions:
- Can you edit the database through the Pervasive Control Center?  
- Are the data files in v6.x (or later) format?  If they are in v5.x (or previous), PSQL v9 will not write to the file.  
- Are you getting the same exact error on the non-password database?

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: pervasive sql 9.x odbc error

(OP)
Thanks mirtheil,

It looks like we don't have Pervasive Control Center in the version supplied with BusinessWorks.

We are running Pervasive 9.61, and the data files were converted by a BusinessWorks conversion program into BW version 8.0.  I assume that the pervasive data tables are in
version 9.61.

I get the same error even in a non-password database.

This is the connection string stored in Access (except that I changed the
password).

DSN=NCRM2008_ODBC;ServerName=SERVER2N.1583;ServerDSN=NCRM2008_ODBC;UID=MANAG
ER;PWD=PASSWORD;ArrayFetchOn=1;ArrayBufferSize=8;TransportHint=TCP:SPX;Clien
tVersion=9.61.012.000;CodePageConvert=1252;AutoDoubleQuote=0;


RE: pervasive sql 9.x odbc error

Here's a link to a free SQL tool that can be used to execute SQL statements:
[url]http://www.pervasive.com/ComponentZone/Component/Lookup.asp?Function=ShowDetail&ID=290&Component=PvQuery&AuthorID=1132&CategoryID=6&Page=3&CategoryName=Tools+%2F+Utilities[/url]
Try updating a table in one of the databases using the tool.  Does it give the same error?  
Also, I don't know if BusinessWorks creates it but there is a sample database with PSQL called DEMODATA.  You might try using that one to see if there's an error.
You might also try a different username/password.  If you've got the "Master" password, you might try that to see if it works.  If it does, then the problem may be the username being used ("MANAGER").

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close