dbTalk Databases Forums  

Runs on one PC not on another

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Runs on one PC not on another in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robb Marr
 
Posts: n/a

Default Runs on one PC not on another - 10-30-2007 , 07:32 AM






I have a PB app using SQLAnywhere 10. The app runs fine in
development and fine from the executable on the development
machine. When I deploy it to another machine, I get syntax
errors in my SQL statements (either embedded or on a
datawindow). SQLSTATE 37000, Syntax error near 'item' on
line 1. Since this works on one machine and not the other,
I am assuming this has something to do with the ODBC
connection or setup. Can someone help? Thanks.

Reply With Quote
  #2  
Old   
Frank Ploessel
 
Posts: n/a

Default Re: Runs on one PC not on another - 10-30-2007 , 09:34 AM






Robb,

You need the PBODB105.ini (digit part of file name dependent on PB
version) file to be included in your deployment. Possibly you had to edit
this on your developer machine, as Sybase marketing decided to rename the
product from Adaptive Server Anywhere to SQL Anywhere, and thus PB was not
able to know the database specifics of ASA10. So, copying this file from
your developer PC to the deployment PC into the directory hosing the PBDK
files could solve your problem.

Frank

On Tue, 30 Oct 2007 14:32:49 +0100, Robb <Marr> wrote:

Quote:
I have a PB app using SQLAnywhere 10. The app runs fine in
development and fine from the executable on the development
machine. When I deploy it to another machine, I get syntax
errors in my SQL statements (either embedded or on a
datawindow). SQLSTATE 37000, Syntax error near 'item' on
line 1. Since this works on one machine and not the other,
I am assuming this has something to do with the ODBC
connection or setup. Can someone help? Thanks.


Reply With Quote
  #3  
Old   
Robb Marr
 
Posts: n/a

Default Re: Runs on one PC not on another - 10-30-2007 , 11:46 AM



That corrected the problem. Thank you.

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.