on 03-04-2005 7:58 AM
I have an application running that transfers data between SBO and my software.
The customer is upgrading to the lastest SBO version. I'm debugging my software in test enviroment and I get the following msg when connecting to the customer SBO : Class not registered error.
Here is the code snippet that has been workin over an year.
SAPbobsCOM.CompanyClass oCmp = new SAPbobsCOM.CompanyClass();
oCmp.Server = "servername";
oCmp.CompanyDB = "dbname";
oCmp.UserName = "username";
oCmp.Password = "pw";
oCmp.UseTrusted = false;
oCmp.Connect();
I'm connecting to SBO from workstation and the SAPobsCOM.dll (ver 6.7) is registered in my computer.
Has anyone faced the same problem?
Best regards,
Petteri
Hi,
Do you have have the same version in test enviroment and Client?
I think that you should have the same DI API version.
Try remove the API and re-install the same version i both enviroment.
Ribeiro Santos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pertti,
Why dont you use the object instead of the class, then you will have no problem connecting.
oCmp = New SAPbobsCOM.Company
Regards,
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Felipe,
Thank you for your reply.
I'm using C# and SAPbobsCOM.Company is an interface so it can not be instantiated. CompanyClass is the class that implements the Company interface. In VB it might not make any difference?
Anyway, the software has been running over an year with no problems until the customer updated latest SBO version.
I think that I'm missing some DLL.
Regards,
Petteri
User | Count |
---|---|
108 | |
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.