SQLCODE = 999
SQLERRTEXT = dbmSs not supported in curent installation
I receive no errors in Windows XP. The appliaction runs fine
on Windows XP Professional Client.
Any suggestions. Thanks
"rfalagan" wrote in message news:48e4ec2e.521...@sybase.com...
If the message is different, please post the exact message -- to do so,
make the message dialog the active window and press Ctrl+C. This will
copy the text and allow you to paste into this thread.
The following is an example of that:
---------------------------
Connect Error
---------------------------
(SQLCODE 999) DBMS is not supported in your current installation.
---------------------------
OK
---------------------------
--
Chris Keating
****************************************
Please only post to the newsgroup
SQL Anywhere Developer Community
http://www.sybase.com/developer/library/sql-anywhere-techcorner
SQL Anywhere Blog Center
http://www.sybase.com/sqlanyblogs
Maintenance releases and EBFs
http://downloads.sybase.com/swx/sdmain.stm
Use Case Express to report bugs
http://case-express.sybase.com
The DBMS property is populated with 'OLE DB'. I have the
application read it from the registry. It works fine on
Windows XP Clients.
The I have MS Sql client ntwdblib.DLL in the PB
application's directory.
---------------------------
Connect Error
---------------------------
(SQLCODE 999) DBMS OLE DB is not supported in your current installation.
---------------------------
OK
---------------------------
and there would be either a missing PB OLEDB database interface file or
missing support software for OLEDB either at the system level or driver
level.
Refer to Chris' other post. Your error only occurs when the application has
not set the dbms value of the transaction prior to connecting. You
indicated that your application reads the connection values from the
registry. Did you realize that MS has tightened the security for the
registry in Vista? I think some basic debugging in your registry access and
transaction population logic is needed at this point for anyone to provide
any useful suggestions.
public string f_debug_transaction_properties
value transaction trans
value boolean displayMsg
value string msgBoxTitle
string msgText
msgText = "DBMS:~t" + trans.dbms
msgText = msgText + "~n"
msgText = msgText + "DBParm:~t" + trans.dbparm
if displayMsg then MessageBox( msgBoxTitle, msgText )
return msgText
I would generally invoke this function (conditionally) as follows (lines
are wrapped for posting)
if debug then
f_debug_transaction_properties(
sqlca,
true,
"Transaction object properties"
)
connect using SQLCA;
end if
Turns out that the Windows Vista installed on the PC is the
64 Bit version. PowerBuilder's function RegistryGet is
returning blanks... I don't think it supports > 32 Bit
systems
--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com
<rfalagan> wrote in message news:48e655b0.7a6...@sybase.com...