If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Unknown error -17

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-11, 05:30
arnib arnib is offline
Registered User
 
Join Date: Apr 2011
Posts: 5
Unknown error -17

Hi
The following error pops up randomly in my web application. The Application is written in C# and I use the Pervasive.Data.SqlClient.dll to connect to the Pervasive database. In this case I was using v. 3.2 of the dll to connect to a v11 Pervasive Database. I Use a perfectly valid SQL Statement and a PsqlConnection then a PsqlCommand which loads the result into a DataSet. Anyone know if there exists a documentation about error -17?

Error in RunQuery Select * from EmployeeProperties where PropertyName='MyMenLastPage' and RecId=3781 err is: Pervasive.Data.SqlClient.PsqlException: Pervasive.Data.SqlClient.Lna.l: Unknown error : -17 at Pervasive.Data.SqlClient.Lna.q.b(t A_0) at Pervasive.Data.SqlClient.Lna.v.a(String A_0, p A_1, ab A_2, d A_3, Boolean A_4) at Pervasive.Data.SqlClient.PsqlCommand.a(Boolean A_0, CommandBehavior A_1, Boolean A_2) at Pervasive.Data.SqlClient.PsqlCommand.ExecuteReader (CommandBehavior behavior) at CCData.returnPervasiveDataSet(String sql)
Reply With Quote
  #2 (permalink)  
Old 05-13-11, 11:19
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Haven't seen that error before. When you get the error, what do you do to resolve it? Does re-executing the query work or do you have to restart the application or the PSQL engines?
WHen you get the error, can you execute the same query through PCC or ODBC Test and does it throw any errors?
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On