cast error
Emanuele Croci
Dear all,
I implemented a new rule in customize...
this command:
Dim obj_BP As SAPbobsCOM.BusinessPartners = customize.B1Connector.GetB1Connector().Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
works in SAP B1 8.82 PL 05 and Coresuite 3.20
but it gives me an Exception in SAP B1 8.81 PL 09 and Coresuite 3.50 :
Error: System.Runtime.InteropServices.COMException (0xFFFFFB9E): Exception from HRESULT: 0xFFFFFB9E
at SAPbobsCOM.ICompany.GetBusinessObject(BoObjectTypes Object)
at COR_Utility.Helper.Run_FO_COR_CUS_00000039(CustomizeEve...............
Please, can someone give me a solution?
Best regards
Emanuele
Paolo Manfrin
Hi Emanuele,
please attach the whole debugLog exception
thanks
paolo
Emanuele Croci
Dear paolo,
how can I attach the file?
here the content.
....
<message level="2" date="17.07.2013" time="17:08:02">
<stacktrace>
<stackframe number="0" line="0" column="0">
<method>Helper.Run_FO_COR_CUS_00000039</method>
<file />
</stackframe>
<stackframe number="1" line="0" column="0">
<method>RuntimeMethodHandle._InvokeMethodFast</method>
<file />
</stackframe>
<stackframe number="2" line="0" column="0">
<method>RuntimeMethodHandle.InvokeMethodFast</method>
<file />
</stackframe>
<stackframe number="3" line="0" column="0">
<method>RuntimeMethodInfo.Invoke</method>
<file />
</stackframe>
<stackframe number="4" line="0" column="0">
<method>RuntimeMethodInfo.Invoke</method>
<file />
</stackframe>
<stackframe number="5" line="0" column="0">
<method>RuntimeType.InvokeMember</method>
<file />
</stackframe>
</stacktrace>
<description>Errore: Add_First_BP_Contact:System.Runtime.InteropServices.COMException (0xFFFFFB9E): Exception from HRESULT: 0xFFFFFB9E
at SAPbobsCOM.ICompany.GetBusinessObject(BoObjectTypes Object)
at COR_Utility.Helper.Run_FO_COR_CUS_00000039(CustomizeEvent pVal)</description>
</message>
Paolo Manfrin
Did you upgrade the SAP dlls? It seems like an error triggered by SAP and not by our AddOn.
Emanuele Croci
Dear Paolo,
what do you mean with "upgrade the SAP dlls"?
Where should I have to take these dlls and where should I have to copy them?
Best regards
Emanuele
Paolo Manfrin
You need to press "download update" and install via the coresuite administration the coresuiteSAPdlls which are matching your SAP version.
hth
paolo
Emanuele Croci
Dear Paolo,
I tryed to use download updates, but it downloads only these modules:
swissPayment
coresuite accounting
coresuite widgets
coresuite cloud report manager
It doesn't download any Framework or Customize module...
Emanuele Croci
Dear Paolo,
should I open a ticket to the support center?
what do you suggest?
Best regards
Emanuele
Paolo Manfrin
Hi Emanuele,
yes please open a ticket with our support.
Kind Regards,
paolo
Emanuele Croci
Dear Paolo,
reopening SAP B1 today, the issue has disappeared.
Now the procedure works.
Best regards
Emanuele
Paolo Manfrin
I am glad :-)
cheers
paolo
Please sign in to leave a comment.
Comments
0 comments