Hello,
I have the following problem;
...in DI API version 8.82 PL11 can usually connect via PHP:
$oComp = new COM("SAPbobsCOM.Company") or die("No connection");
$oComp->Server="IP\\INSTANCE";
$oComp->LicenseServer = "IP:Port";
$oComp->DbUserName = "user";
$oComp->DbPassword = "****";
$oComp->DBServerType = "7";
$oComp->UserName = "user";
$oComp->Password = "****";
$oComp->CompanyDB = "SBODemoUS";
try {
echo $oComp->Connect;
echo "<br><br>";
$oComp->StartTransaction();
} catch (com_exception $expt) {
echo $expt->getMessage();
echo "<br><br>" . $oComp->GetLastErrorDescription;
}
Note: MSSQL2012
In the case DI API 9.0 PL13 features the same connection the following error:
-119
Source: SAPbobsCOM.Company.90.0
Description: You are not connected to a company
Database server type not supported
Note: Both cases IIS environment