on 06-19-2015 9:23 PM
Hello, I'm working on a windows service that connects to SAP via DI API using SAPBobsCOM.
To connect to the company, I load all the parameters in the normal way. Here's a part of the code:
oCompany = New SAPbobsCOM.Company
'Set settings
oCompany.Server = ConfigurationManager.AppSettings("DatabaseServerName")
oCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2014
I'm having a problem on just one machine, where when I run the service I'm getting the error "(-125) no database server type specified". If I print oCompany.DbServerType then I get as result a zero ( 0 ) .
This is not related at all with having or not SQL 2014 installed, as I already tested this on a machine runnnig SQL 2008 and I can see dst_MSSQL2014 even if it does not connect. It has to be related to that particular machine since on another machine of the same network the service runs OK. Maybe something important to mention is that this machine did not have anything related to SAP until I installed the DI API yesterday.
I compiled using SAPBobsCOM version 9.10.150, this machine has on its machine a version 9.10.105.
Any help would be greatly appreciated.
Thanks in advance,
Hi Sergio
When working in SCN, always check the Overview to see what the Space you are in "supports". In this case:
Based on the above, I think you posted your query in the wrong Space(?). To find the correct Space, please see the
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.