Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 993

Re: SAP Business One OnDemand connection failed from WCF service

$
0
0

Hi A. Kerremans,

 

Thanks for the replay, this is the code i'm using for the connect:

 

SAPbobsCOM.Company vCompany;
vCompany = new SAPbobsCOM.Company()
{  DbPassword = serverConfiguration.DatabasePassword,  DbUserName = serverConfiguration.DatabaseUsername,  Server = serverConfiguration.DatabaseServer,  LicenseServer = serverConfiguration.LicenseServer,  UserName = username,  Password = password,  CompanyDB = companyDB,  DbServerType = serverConfiguration.DatabaseServerType
};
vCompany.Connect();

I don't set the "UseTrusted" at all so it should be "False".

 

For the service, i tried to use Local System, and then i tried with Normal windows user from administrators group, also with no success


Viewing all articles
Browse latest Browse all 993