on 09-23-2008 6:08 AM
I am getting an error from here
strConnectionContext = m_SboApplication.Company.GetConnectionContext(strCookie)
m_SboCompany.SetSboLoginContext(strConnectionContext)
Error:
System.Runtime.InteropServices.COMException (0xFFFFFC17): The Field is to small to accept the data
at SAPbobsCOM.CompanyClass.SetSboLoginContext(String conStr)
at SBO.SboAddOnBase.SBOAddOn.ConnectToDIAPI() in C:\Documents and Settings\Administrator1\My Documents\RD\TechDemoAddon\SAP TechDemo Addon 1.0\SboAddOnBase\SboAddOn.vb:line 303
Please Help
Edited by: Paul Finneran on Oct 1, 2008 2:10 PM
Hi,
this error you usually get when you have the (old) 2004 DIAPI library reference in your project
and you want to connect to SAP 2007.
remove your diapi reference and add (minimum) the DIAPI 2005 reference to your project.
recompile and the problem is solved - had the same problem with old addons
lg David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.