cancel
Showing results for 
Search instead for 
Did you mean: 

SBOLoginContext

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Nussi
Active Contributor
0 Kudos

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

Answers (0)