cancel
Showing results for 
Search instead for 
Did you mean: 

Connection error with SerialAndBatch sample

Former Member
0 Kudos

Hello there,

Whenever i'm trying to debug "SerialAndBatch" sample, i keep getting this error: "Failed to Connect to SBOCommon". the error code is: -111.

it happens only with this sample (and the Company object settings are all currect - server, companyDB, username and password).

does anyone have an idea what might be the problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I had similar problem.

If you are using SAP 2007B then you need to mention "DbServerType" to connect company...

-mrinal

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you for the answers.

I tried to do both, but the problem still didn't solved (I'm using the referenece DI API 2005, and the application SAP 2005A).

If you might have any more ideas, let me know.

Former Member
0 Kudos

Dear moshababo,

Please check if DI reference is correct in the sample.

You could delete the DI reference: SAPbobsCOM in sample and add it again to ensure correct version of DI reference is used.

Best Regards

Jane Jing

SAP Business One Forums team