on 07-10-2015 3:47 AM
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 ).
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
Hi Billy,
Looks like a Windows or SQL-Server issue, not a Business One.
On the client, may you run a SQL-Server Management STudio? Are you able to connect?
Did you setup the security on the SQL-Server, to allow TCP-IP communications and to allow the correct IP address?
Is the firewall (on both machines) active?
Regards,
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric:
Here's our testing teams' result:
Would you mind read it and give some other advises?
On the client, may you run a SQL-Server Management STudio? Are you able to connect?
-untested, integration works through "Server" configuration so I don't think this is a problem
Did you setup the security on the SQL-Server, to allow TCP-IP communications and to allow the correct IP address?
-SAP B1 requires TCP-IP to be enabled in sql for client communication anyway, so this is already enabled
Is the firewall (on both machines) active?
-unchecked, but functions in "Server" configuration without issue. Issue only exists when connecting TM Clients through IIS
Check again the installation of DI API in the client both 32 and 64bit.
-TM's only 32 bit, so customer only has 32 bit DI API installed. and again it connects and functions normally through "Server" configuration, this error is only being received when connecting TM from clients through IIS.
Thanks
Billy
Hi Billy,
Sorry for the delay, was travelling.
Issue with testing by connecting with the SSMS is to verify:
This has exactly nothing to do with integration working thru a server.
Firewall: again, issue is to check that communication is properly working from the client to the server, not that that the server is working.
DI API: same answer: the fact that it works on the server, doesn't mean it works on the client. In particular depending on how the client is installaed, what I asked to check.
Regards,
Eric
Just an addition to this problem; if you got -119 database server type not supported on web site UI screen, check out my solution here; https://answers.sap.com/answers/13724823/view.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts:
Here's our testing teams' result:
Would you mind read it and give some other advises?
On the client, may you run a SQL-Server Management STudio? Are you able to connect?
-untested, integration works through "Server" configuration so I don't think this is a problem
Did you setup the security on the SQL-Server, to allow TCP-IP communications and to allow the correct IP address?
-SAP B1 requires TCP-IP to be enabled in sql for client communication anyway, so this is already enabled
Is the firewall (on both machines) active?
-unchecked, but functions in "Server" configuration without issue. Issue only exists when connecting TM Clients through IIS
Check again the installation of DI API in the client both 32 and 64bit.
-TM's only 32 bit, so customer only has 32 bit DI API installed. and again it connects and functions normally through "Server" configuration, this error is only being received when connecting TM from clients through IIS.
Thanks
Billy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Billy,
Check again the installation of DI API in the client both 32 and 64bit.
Re- install if need be.
Also, just to be complete, remove the the %temp%\SM_OBS_DLL folder.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edy:
Here's our testing teams' result:
Would you mind read it and give some other advises?
On the client, may you run a SQL-Server Management STudio? Are you able to connect?
-untested, integration works through "Server" configuration so I don't think this is a problem
Did you setup the security on the SQL-Server, to allow TCP-IP communications and to allow the correct IP address?
-SAP B1 requires TCP-IP to be enabled in sql for client communication anyway, so this is already enabled
Is the firewall (on both machines) active?
-unchecked, but functions in "Server" configuration without issue. Issue only exists when connecting TM Clients through IIS
Check again the installation of DI API in the client both 32 and 64bit.
-TM's only 32 bit, so customer only has 32 bit DI API installed. and again it connects and functions normally through "Server" configuration, this error is only being received when connecting TM from clients through IIS.
Thanks
Billy
Hi Billy,
I still think this is a DI API installation problem.
I don't understand what you are referring as
functions normally through "Server" configuration,
If you are referring to SBO client, the connection between SBO Client and a DI API addon is using different way. SBO Client does not need a DI API to connect to the server.
Can you please re-install the DI API on the problem machine and see ?
Also, remove the SM_OBS_DLL folder.
Just to rule out the possibilities.
Regards
Edy
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.