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

Error DBServerType SAP 9 DI API: Database server type not supported (-119)

$
0
0

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


Viewing all articles
Browse latest Browse all 9071

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


Rajasthan Board 10th Result 2016 Roll No wise & Name Wise


Moondru Mudichu 20-07-2016 – Polimer tv Serial


fs_older_downloads


Calaveras conflict results in shooting, 4 arrests


Guilty Pleasures


Black Angus Grilled Artichokes


Download: Rich Bizzy -Panono Ukwenda (Cover)


Muloraki Au


where in jaunpur randi khana



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