AddOn debug with SBO 2005 Client only istalled

I have 2003 .Net Visual Studio and SBO 2005 SDK installed localy. I also have only SBO 2005A (pl 12) Client instalation.
I get a wrong connection string error when connecting with Application object to an instance of SBO Client;
Is it possible to debug a C# AddOn project if I have only SBO 2005 Client istalled (no Server installation)?

private string[] commandArgs;
private string appPath;
private string connectionString;
private SBOApplication     uiConnection;
commandArgs = System.Environment.GetCommandLineArgs();
if(commandArgs != null)
  if(commandArgs.Length == 2)
     appPath = commandArgs[0];
     connectionString = commandArgs[1];
try
  uiConnection = new SBOApplication(connectionString);
catch(Exception e)
  MessageBox.Show(this, e.Message);
  this.Close();
  Application.ExitThread();

Similar Messages

  • Issues with SBO 2005 form load which has been created using  XML

    Am converting SBO 2004A addon into SBO 2005 addon, am loading a wizard form (wizard.xml)using following code.
       Dim oXMLDoc As MSXML2.DOMDocument
        Dim sXMLString As String
        Set oXMLDoc = New MSXML2.DOMDocument
        oXMLDoc.Load (App.Path & "FILESWizard2.xml")
        Dim strXml As String
        strXml = oXMLDoc.xml
        mobjSBOApplication.LoadBatchActions strXml
    But when we runs above code in SBO 2005, LoadBatchActions display error "Invalid Form - Item" "3006".
    It seems there are some change in the UI for the loadBatchActions to read the XML file.
    Would appreciate if you could advise on the same urgently.

    Hi Adele,
    Thanks for your reply.
    But this is the error comes with LoadBatchActions method of application object. I have check the same in debug mode but this is not item event error because i followed the loading event in form but action does not move ahead after the LoadBatchActions..
    I have also written GetLastBatchResults just below the LoadBatchActions and the same shows the below error message.
    <?xml version=""1.0"" encoding=""UTF-16""?><result><errors><error code=""-7037"" descr=""Argument is out of Range""/><error code=""-7037"" descr=""Argument is out of Range""/><error code=""-7037"" descr=""Argument is out of Range""/><error code=""-7037"" descr=""Argument is out of Range""/><error code=""-7037"" descr=""Argument is out of Range""/><error code=""-7037"" descr=""Argument is out of Range""/><error code=""3006"" descr=""<b>Form - Invalid Form Item""/><error descr=""Could not recover from previous errors""/</b>></errors></result>"
    but the same is working perfectly ok with 2004A.. would appreciate if you could advise on the same.

  • Addon is blocked SBO 2005 SP01 PL04

    Hi,
    We have an addon that runs perfectly on SBO 2005 SP0 PL11, but on SP01 PL04 I get the error "Addon is blocked, restart, logoff, go on without addon".
    Has anyone noticed this?
    Regards
    Ad

    Hi Ad,
    Well, as you certainly saw, this is the standard message coming up whenever an Add-On stopped.
    Does it still happen - or did you resolve the issue in my absence?
    If not:
    From your question I suppose it happens when you start the Add-On right?
    Did you use VB .NET or C#(.NET)? - If yes, did you check the logs of the B1TE .NET Profiler?
    Any chance to find out more precisely when the Add-On stops working?
    What happens if you recompile your Add-On on SP01 + reinstall it?
    Regards,
    Frank

  • Install SBO 2005 SP00 with SQL Server 2005

    Hi all,
    Can I install SBO 2005 Sp00 on SqlServer 2005 ?
    and the addon developed with Framework.NET 1.1 can work under .NET 2.0?
    Thank a lot
    Dimitri

    Hi Dimitri,
    SQL Server 2005 is NOT support by SBO 2005 SP0 only SP01 and after
    An addon developed with .NET 1.1 should work under 2.0, but I advise you to load .NET 1.1 if possible.
    Regards
    Ad

  • SBO 2005 combo box does not update value at first time

    Hi!I developed an addon for sbo 2004 with a combo box populated with the months of the year, and it works. The same code run on SBO 2005 works only after the second selection. Has anyone found the same problem?

    definition of the item:
    item = form.Items.Add("oMese", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
                    item.Left = 245
                    item.Top = 5
                    item.Width = 80
                    item.DisplayDesc = True
                    combo = item.Specific
                    combo.DataBind.SetBound(True, "", "uMese")
                    combo.ValidValues.Add(1, "Gennaio")
                    combo.ValidValues.Add(2, "Febbraio")
    event handling:
    inside ItemEvent in case the item is selected
    Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
                        Select Case pVal.FormUID
                            Case "PRG_UFM_0002_RegIVAAcq"
                                retCode = oTy_RACQ.FormComboSelect(pVal, BubbleEvent)
      Public Shared Function FormComboSelect(ByVal pVal As SAPbouiCOM.ItemEvent, _
                                               ByRef BubbleEvent As Boolean, _
                                               ByRef funCaller As Object, _
                                               ByVal funCallerID As Integer, _
                                               ByRef aForm As SAPbouiCOM.Form) _
                                               As Integer
            Dim msg As String
            Dim edt As SAPbouiCOM.EditText
            Dim cmb As SAPbouiCOM.ComboBox
            Dim obt As SAPbouiCOM.OptionBtn
            Dim cbx As SAPbouiCOM.CheckBox
            Dim mtx As SAPbouiCOM.Matrix
            Try
                If pVal.Before_Action = True Then
                    Select Case pVal.ItemUID
                        Case "oMese"
                            Dim stre As New strEstremi
                            cmb = aForm.Items.Item("oMese").Specific
                            edt = aForm.Items.Item("anno").Specific
                            If Not cmb.Selected Is Nothing Then
                                GetEstremiPeriod(edt.Value, cmb.Selected.Value, "M", stre)
                                edt = aForm.Items.Item("dtFrom").Specific
                                edt.String = stre.dtFrom
                                edt = aForm.Items.Item("dtTo").Specific
                                edt.String = stre.dtTo
                            End If
    end function
    thank you I hope is enough otherwise please tell me

  • SBO 2005 Print document

    Hi,
    I've been finding information about "print documents with API's" with SBO 2005 SDK, and I found some reference to ReportLayoutService (in Documentation and in the forum),
    although I`ve read some documentation about ReportLayoutService I'm still wondering how to print documents.
    Can anyone help me or post some sample-code?
    Thanks all

    Hello,
    Here a sample code for printing orders from a query (it's not perfect but it wills give you an idea how to make):
    oForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE;
                SAPbobsCOM.UserQueries oUserQueries;
                SAPbobsCOM.Documents oDocuments;
                SAPbouiCOM.ComboBox oComboBox;
                SAPbouiCOM.ComboBox oComboBox2;
                SAPbouiCOM.EditText oEditText;
                SAPbouiCOM.Form oOrderForm;
                SAPbouiCOM.EditText oEditTemp;
                SAPbouiCOM.MenuItem mItem;
                string Query;
                ChangeDeliveryCode();
                oComboBox = (SAPbouiCOM.ComboBox)oForm.Items.Item("PTC001").Specific;
                oComboBox2 = (SAPbouiCOM.ComboBox)oForm.Items.Item("PTC002").Specific;
                oEditText = (SAPbouiCOM.EditText)oForm.Items.Item("PTT001").Specific;
                oDocuments = (SAPbobsCOM.Documents)(vCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders));
                Query = "SELECT DocEntry FROM ORDR T0 LEFT OUTER JOIN [@MTF002] T1 ON T0.CardCode = T1.U_MTF002 "; 
                Query = Query + "WHERE T0.DocStatus = 'O' AND T0.U_MTF001 = '" + oComboBox.Selected.Value + "' ";
                Query = Query + "AND T0.DocDueDate='" + oEditText.Value + "' ";
                Query = Query + "AND T0.OwnerCode='" + oComboBox2.Selected.Value + "' ";
                Query = Query + "AND T0.Printed='N' ";
                Query = Query + "ORDER BY str(T1.U_MTF004) DESC";
                try { oRecordset.DoQuery(Query); }
                catch (Exception e)
                    SBO_Application.MessageBox(System.Convert.ToString(e), 1, "Ok", "", "");
                    Application.Exit();
                oRecordset.MoveFirst();
                SBO_Application.ActivateMenuItem("2050");
                oOrderForm = SBO_Application.Forms.GetForm("139", 1);
                for (int i = 0; i < oRecordset.RecordCount; i++)
                    oDocuments.GetByKey(System.Convert.ToInt32(oRecordset.Fields.Item(0).Value));
                    oOrderForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
                    oEditTemp = (SAPbouiCOM.EditText)oOrderForm.Items.Item("8").Specific;
                    oEditTemp.Value = System.Convert.ToString(oDocuments.DocNum);
                    oOrderForm.Items.Item("1").Click(0);
                    mItem = SBO_Application.Menus.Item("520");
                    mItem.Activate();
                    oRecordset.MoveNext();
                oOrderForm.Close();

  • Problems installing SBO 2005 B Client (from CD or Server)

    Hello,
    I set up SBO 2005 B on an SQL Server, applied the latest patches and tried to install the client on some maschines.
    After I installed the Client (either from CD or the Server Share) and started it it tries to perform an upgrade which fails with the following errormessage:
    "An error has occured while upgrading your application, A full recovery will be performed".
    Tried the client installation with local admin rights.
    Is there a solution for that?

    Hello,
    you said you perform an upgrade, so from what and to wahat patch level that you want to upgrade ? Is there a valid license ? what SQL version you are used ?
    There is pdf file installation and upgrade in the poduct CD. try to read it carefully.
    Rgds,

  • Client OS - MS Windows XP Professional SP2 with SBO 2007 B

    Dear All,
         Is there any compatibility issue with the client OS - MS Windows XP Professional SP2 with SBO 2007 B?

    Hi Narottam,
    Yes, I did face problem with it. Once we upgrade XP with SP3 it works fine now.
    Hope this help.
    BR
    Samir Gandhi

  • Error Compiling php 5.1.6 with Oracle Instant Client 10.1.0.5 on Fedora 5

    Hello
    I have Oracle 10.1.0 enterprise database installed on a Windows 2003 server.
    I have another machine that has Fedora Core 5 installed on it. I downloaded:
    Apache 2.2.3
    Php 5.1.6
    OracleInstantClient 10.1.0.5 (base and skdk packages) from technet.oracle.com
    I created a directory called /usr/lib/instantclient10_1 in which I unzipped
    the files for the Oracle Instant Client and the SDK into /usr/lib/instantclient10_1.
    So inside /usr/lib/instantclient10_1 I have:
    all the unzipped filed from the base for the instant client as well as
    a directory called sdk with files inside this subdirectory.
    I compiled and installed Apache.
    I then tried to configure php using the instantclient with the configure option
    --with-oci8=instantclient/usr/lib/instantclient10_1
    The first time I did this I got the error: "link from
    /usr/lib/instantclient10_1/libclntsh.so to libclntsh.so.10
    not found"
    Well I had the libclntsh.so.10 but no such link. So I did the following:
    ln -s libclntsh.so.10.1 libclntsh.so
    I assume this was OK to do but I found it strange that I had to do this.
    Question #1 - why should I have to do this?
    I then tried to configure php again but got an error that I paste in from
    the debug.log. From this debug log you can see the configure options I gave for
    php as well as the error. It says "cannot find -lirc". Now I did put into
    /etc/ld.so.conf the line /usr/lib/gaim since that is where libirc.so is and ran
    ldconfig but it still complained. When I copied libirc.so into /usr/lib it then said there were
    lots of errors in that libirc.so. The only item in the configure options depending on lirc is
    the with-oci8.  Why does with-oci8 depend on lirc?
    I also tried the above on Red Hat AS 4.0 and got the same errors.
    Question #2 -- what do I do?
    Thank You
    Gail Lange
    Here is the debug.log in the case when libirc.so is just in /usr/lib/gaim:
    CONFIGURE: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-track-vars'
    '--enable-inline-optimization' '--with-gd' '--with-zlib' '--enable-debug'
    '--with-oci8=instantclient,/usr/lib/instantclient10_1' '--enable-sigchild'
    CC: gcc
    CFLAGS: -I/usr/include -g -O2
    CPPFLAGS:
    CXX:
    CXXFLAGS:
    INCLUDES: -I/usr/include/libxml2 -I/home/gail/php/php-5.1.6/ext/date/lib
    -I/usr/lib/instantclient10_1/sdk/include
    LDFLAGS: -L/usr/lib -Wl,-rpath,/usr/lib/instantclient10_1 -L/usr/lib/instantclient10_1
    LIBS: -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl
    -lirc -lclntsh -lxml2 -lz -lm
    DLIBS:
    SAPI: apache2handler
    PHP_RPATHS: /usr/lib/instantclient10_1
    uname -a: Linux localhost.localdomain 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006
    i686 i686 i386 GNU/Linux
    gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -Wl,-rpath,/usr/lib/instantclient10_1
    -L/usr/lib/instantclient10_1 conftest.c -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm
    -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm 1>&5
    conftest.c: In function 'main':
    conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit'
    /usr/bin/ld: cannot find -lirc
    collect2: ld returned 1 exit status
    Thanks

    To be perfectly honest, I'm not sure. Everything I could find on it had to do with IRC or some kind of remote control thing (for controlling audio/media players). Maybe if Ivan stops by he'll know what it means... he knows quite a lot about the inner workings of many of these libraries.
    http://us3.php.net/install.unix was the most useful info I could find.
    There's also this thread:
    Cannot find ld -lirc PHP Linux
    ~Jer

  • Microsoft Outlook utility with SBO

    Hi Experts
    Any one can tell me how we can integrate microsoft outlook with SBO. plz send me Any help document  for this. Can we send any document by MS outlook to any BP and Can we send simple mailing to BP be SBO . So give me link for such information.
    Thanks
    regards
    Gorge

    Hi Gorge,
    Please follow these steps:
    1. Boot the affected PC, if not done already.
    2. Login as Administrator into Windows.
    3. Login into SAP Business One as a Superuser
    4. De-register the Add-on Outlook Integration
    5. Logout from Business One and Login again.
    6. Deinstallation will be triggered automatically via Windows Installshield. Close Business One.
    7. Launch Regedit, make a complete export of Registry.
    8. If exist, delete the entry 'Outlook Integration' under HKEY_CURRENT_USER\Software\SAP\...\Addons.
    9. If exist, delete the entry 'Outlook Integration' under HKEY_LOCAL_MACHINE\Software\SAP\...\Addons.
    10. Close Regedit and open Windows Explorer. Navigate to the folder where 'SAP Business One.exe' is located. In the very same folder there should be two *.sbo files. Delete both.
    11. Afterwards type into the Adressbar of Windows Explorer %temp%. After pressing ENTER the folder TEMP will be opened. Make sure there are no manually saved files there, which might be needed later. Then delete all files and folders. Some files cannot be deleted (Windows won't allow you).
    12. Open Add / Remove Programs (Vista: Programs and Features) and make sure no entry for Add-on Outlook Integration exists.
    13. Make sure that on the Server where the SAP Business Server application is installed, you also have the Outlook Integration Server installation done. There should be an entry under Add or Remove Programs.
    14. Back on SAP Business One Client, reboot the PC and login as Windows Administrator and Superuser into SAP Business One. Make sure that Microsoft Outlook is already installed on the Workstation and is NOT launched. Register Outlook Integration Add-on again. Set start option 'Manual' for it. Log off an in from / SAP Business One.
    Installation of the Add-on via Windows Installshield will be triggered
    14. Launch the Add-on manually. This will trigger the so called Initialisation. Some UDF will created.
    15. If this went successfully you can adjust the start option for the Add-on to your needs.
    If this should not solve the issue, please let us know
    a) Version of SAP Business One + Servicepack + Patchlevel
    b) Used SQL Server
    Kind regards
    Mario

  • SBO 2005 y W7 Professional

    Buenas tardes,
    Estoy realizando la instalación de SBO2005 en una laptop con W7 Professional. Por lo visto a la hora de hacer la instalación hay alguna incompatibilidad con la instalación del propio cliente y de los addons, que he solucionando activando la compatibilidad con XP SP3. El programa lo he estado testeando y funciona correctamente pero a la hora de desplegar un menú o una ventana lo hace lentamente (le lleva unos 3-4 segundos). No es problema de ram (tiene 3Gb.) ya que en otro equipo igual a ese corriendo con XP va perfecto.
    Me gustaría saber si hay alguna opción gráfica de configuración que lo solucione o algún parche o ejecutable del cliente que arregle este inconveniente.
    Muchas gracias,
    Un saludo.

    Hola.
    SBO 2005 no es totalmente compatible con Windows Vista/7 y tiene problemas de performance. Los problemas que normalmente se encuentran están relacionados con las nuevas caracterrísticas gráficas y las de seguridad de Vista y 7.
    Para mejorar en algo lo anterior, se recomienda desactivar todos los efectos visuales (incluso cambiar la apariencia del escritorio al estilo clásico) y el control de acceso de cuentas de usuario (UAC).
    ¿No han pensado migrar a la versión 2007?. Considero que sería lo mejor.
    Por favor revisar los siguientes links:
    - SUPPORTED PLATFORMS OVERVIEW - RELEASE 2005 AND HIGHER.
    - es compatible SAP bo 2007 con Windows 7.
    - Re: SAP Business One y Windows 7.
    Saludos.
    Edited by: Hector Daniel Hernandez Bacca on Apr 5, 2010 9:00 AM

  • How to debug sercued web service client ?

    I ususally use TCPMon or Jdeveloper Http analyzer to debug non-secured Java SE web service client application . however, how do I debug secured web service client, e.g. web service with OWSM policy enable service?
    I tried and got bad certificate error since the TCPMon or Jdeveloper Http analyzer act as proxy.
    BTW, I'm not able to install any such proxy on server side.
    Thanks

    Hi,
      As far as i know. the only way to debug a webservice is from SE80.
    open your webservice from se80,
    Give your REQUEST as an XML file,(put a break point in side ur web-class)and analyis ur RESPONSE.
    you are using RFC but it seams that problem is not in that function module else you can use SRDEBUG tcode to debug remote enabled function module.
    If you are getting error in CALL TRANSFORMATION.
    The only posibility is the data u r passing it for converting it in XML.
    just post your code with CALL TRANSFORMATION or the point which is going into dump....
    Regards,
    Raj

  • Mavericks VPN dropouts with native VPN client and Cisco IPSec

    Since update to Maverics I am experiencing VPN dropouts with native VPN client and Cisco IPSec
    I am connecting via a WIFI router to a remote VPN server
    The conenction is good for a while but eventually it drops out.
    I had Zero issues in mountain lion and only have issues since the update to 10.9
    I had similar issues in teh past with an unrelaibel wifi router but i am using a Verizon Fios router and it has worked impecably until mavericks
    My thoughts are:
    1 -issue with mavericks  ( maybe the app sleep funciton affecting eithe VPN or WIFI daemons)
    2- Issue with  cisco router compaitibility or timing with Cisco IPSEC
    3- Issue with WIFI itself on mavericks - some sort of WIFI software bug
    Any thousuggestions?

    Since update to Maverics I am experiencing VPN dropouts with native VPN client and Cisco IPSec
    I am connecting via a WIFI router to a remote VPN server
    The conenction is good for a while but eventually it drops out.
    I had Zero issues in mountain lion and only have issues since the update to 10.9
    I had similar issues in teh past with an unrelaibel wifi router but i am using a Verizon Fios router and it has worked impecably until mavericks
    My thoughts are:
    1 -issue with mavericks  ( maybe the app sleep funciton affecting eithe VPN or WIFI daemons)
    2- Issue with  cisco router compaitibility or timing with Cisco IPSEC
    3- Issue with WIFI itself on mavericks - some sort of WIFI software bug
    Any thousuggestions?

  • Office files protected with AD RMS Client / SDK and Office

    Hello,
    I'm facing a strange issue when it comes to open an office file that was protected with AD RMS Client (to be precise, with an application built with AD RMS SDK 2.1). I would like to understand the reasons behind this issue (maybe some missing or wrong configuration)
    or if this is just a gui only problem that does not affect the correct behaviour of the whole suite.
    I'm not using templates.
    If I protect an office file directly from MS Word (for example, but we have the same with Excel and Powerpoint) and save it, then I can close it and re-open it. The following infobar is displayed:
    Now with AD RMS SDK 2.1 we have developed a standalone program that applies the same permissions on office files via the AD RMS Client. When the file is re-opened, the following infobar is displayed:
    "Do Not Forward" is shown, no reference to email permissions was added by the client. The description is wrong too, as print permission has been granted, for example.
    Is this behaviour correct?
    How is this infobar created?
    Is there a setting (either in client or in server) that may be wrong, and that leads to this issue?
    Thank you,
     Massimiliano

    Thanks to Microsoft response, this issue has been resolved.
    The license handle needs some additional properties to be set, in order for Office to display this information correctly.
    IpcSetLicenseProperty(licenseHandle, FALSE, IPC_LI_DESCRIPTOR, pIpcTemplateInfo);
    The last parameter is a PIPC_TEMPLATE_INFO pointer to a structure of type IPC_TEMPLATE_INFO where
    wszName and wszDescription are filled with valid values.

  • How to set time zone for a session in Client Only installation

    Environment:
    OS : Unix (HP-UX 11.0)
    Oracle DB : Ver 8.0.5
    Developer : Ver 1.6 ( Client only Installation)
    Developer also on Unix.
    RDBMS and Developer Installed on different
    home directories.
    Our development is Forms 4.5 on X windows.
    Runtime is forms character mode.
    Probelm Description:
    To run the application I am using TWO_TASK to connect to the database. In our application we have to take care of time zones. For that in previous versions(NO TWO_TASK used) I used TZ unix environment variable, to get time zone dependent time wherever sysdate is used.
    Now because I am using TWO_TASK, oracle is no more using users TZ settings.
    Question : Is there any way I can make oracle to use the TZ environment setting

    Thanks for replying Johnny!
    What you are referring to is adding a city. I need to know how to set the time zone in settings -> Date & Time -> Timezone. Unless & untill this is set properly the iPod will never show me the right time. Please help me with it.
    I will definately use your advice on the second query.
    Thanks once again!
    Windows XP Pro

Maybe you are looking for

  • Address book entries reversed

    Anyone know of an applescript that will reverse the name fields of selected names? Not sure why but probably had something to do with sync to a motorola phone but a significant number of address book entries have first and family reversed.

  • Safari 2.0.3 page moves on restart

    Usualy after restart my Safari window has moved to the right a bit, so I have to reposition it. Corrupted preferences? Is there a way I can fix this without losing all my settings and bokmarks?

  • Managing Music list on iPod via PC

    Have a new iPod as old one died. Have transferred songs from PC to iPod, but when I go into Music list on Devices and iPod, the complete list is greyed out and I cannot play or delete any of them. Also having problems copying some music newly purchas

  • Cisco Prime SNMP Traps Best Pratice

    The Cisco Prime documentation recommends configuring switches to send SNMP traps. However it does not give any more details. I was wondering what sorts of SNMP traps people in the community are using with Cisco Prime 2.1. I'm looking for some sort of

  • Elements don't line up in safari/ cells expand

    Hi, My page www.bethhockley.com/sperm.htm looks fine in IE, firefox and netscape however, when it is viewed in safari the cell with the descriptive text in it elongates and does not line up with the other elements (to see how I wish it to look please