on 03-24-2017 4:03 PM
Hi everyone,
I've been with this a couple of days and I don´t know what else to do.
I'am working in c# with the Di API.
I have a web service on my testing enviroment that connect to a company and it works great.
then i did it on my productive server the same web service changing the IP's. When I execute my code from visual in the productive it works fine , but when I try to consume the web service I have the Error UNABLE TO ACCESS SBO-COMMON DATABASE.
this is my code
oCompany = new Company();
oCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2012;
oCompany.DbUserName = "sa";
oCompany.DbPassword = "XXXXXXXXXXXXX";
oCompany.Server = "169.55.25.181\\su3";/
oCompany.CompanyDB = "SERVERNAME";
oCompany.UserName = "sapuser";
oCompany.Password = "XXXX";
oCompany.LicenseServer = "CCC:30000";
oCompany.UseTrusted = false;
Thanks
Hi David,
Can you try to change the application pool to run on user 'Local System' ?
Is the server and webservice in the same box ?
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.