Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

SAP B1 DIAPI remote connection error: Database server type not supported

$
0
0

Hi Experts!

 

It did worked when I tried to work locally.

 

But I got an error: Database server type not supported when I tried to connect the SAP by DI-API remotely.

 

I'm using the SAP B1(9.0).


My SAP database was on "SQL1"(MS SQL 2012) and the license server was on "APP1".


And my client machine is "CLIENT1".


Here's a piece of C#  code I used to open the connection:

            Company oCompany = new Company();

            oCompany.Server = "SQL1";

            oCompany.CompanyDB = "companyXX";

            oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2012;

            oCompany.DbUserName = "sa";

            oCompany.DbPassword = "password";

            oCompany.UseTrusted = false;

            oCompany.UserName = "manager";

            oCompany.Password = "manager";

            oCompany.LicenseServer = "APP1:30000";

            oCompany.Connect();

 

I did install the Native SQL Server Client 2012 on my client machine, using the correct SAPbobsCOM.dll

and I confirmed I have set the admin account in IIS (did the operations in this ticket Database server type not supported).

 

But I still got the error:Database server type not supported.

 

Could you please suggest what I can do to solve this error?

 

Thank you very much in advance!

Billy


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>