on 04-20-2009 12:18 PM
hi,
i just upgraded my system to 2007A pl48 and now an unhandled exception is thrown in my Addon:
the unhandled exception is thrown in second line:
StackTrace: at SAPbobsCOM.ICompany.GetBusinessObject(BoObjectTypes Object)
Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
oUserFieldsMD = moSBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
Is it a new bug of pl48 or did something changed?
best regards
Markus
Markus,
Did you install the DI API for PL 48 also?
Eddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I just encountered a similar error.
This happened to me because the DI API dll reference in the project I was working on supported an older SAP B1 server. Make sure the reference you include in your project matches your SAP server installation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Markus Rewak,
Please use Try, Catch statement to catch the exception and check what exception is get.
Best Regards
Jane Jing
SAP Business One
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jane,
this is the thrown exception:
System.Runtime.InteropServices.COMException (0x80010105): Ausnahmefehler des Servers. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
at SAPbobsCOM.ICompany.GetBusinessObject(BoObjectTypes Object)
Does the code above (oUserFieldsMD = moSBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields) works at your side within pl48?
best regards
Markus
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.