B1DE Problem

Hi everybody, I created a program that add a menu and a menu item, if I work with the visual studio without creating the installer, the system works fine. But if I want to create the installer with B1DE, I have a lot of problems. It creates me the .exe but not the .ard file. If I create the .ard later, with the sdk tool, when I try to install the addon in sap b1 the system shows me an access denied error. Do you any idea of that? Regards.

Hi Fernando
The best place to post this question is the SDK forum and not the Business One Forum.
Kind regards
Peter Juby

Similar Messages

  • Problem in creation of ARD using B1DE 1.5

    Hi Experts
    I have develop an AddOn using B1DE 1.5. It is working properly. Now I want to create ARD file of addon . I use 'SAP B1 AddOnInstaller.Net wizard to create ARD file. I follow all the setps of wizard. It finish without any error. But it does not create ARD file in Bin folder. What can be problem ? Please suggest me.
    Thanks
    Regards
    Jitender

    Jitender,
    You could manually create the ARD file by using the AddOnRegDataGen.exe.  If you search the SDK Help file for "Create a Registration Data File", you will find the documentation that tells you how to do this.
    With respect to B1DE ... if you actually go to the folder where you save your projects and open the installer project you created, as an example ...\Documents\Visual Studio 2008\Projects\B1AddOnInstallerNET1\B1AddOnInstallerNET1\B1AddOnInstallerNET1\
    ... in the ...\AddOnRegDataGenFile there should be an AddOnRegDataGen.bat file.  You can try to also manually execute this to see if the .ARD file gets created.  If it still does not it could be due to a pathing issue .bat file.  You may want to check that the paths are correct.
    Again ... worst case you can manually create the .ARD file as stated above.
    Eddy

  • Problem in B1DE Installation

    I have installed B1DE and got the message "Sucessfully Installed" But when i Open VS.net 2003 , B1-Addon Template is not available when i select the New project(Vb.net/ C#). But in Help file says as given below.
    1. Open the Microsoft Visual Studio .NET environment.
    2. Choose New Project.
    3. Select the Visual Basic project type and the SAP B1 AddOnInstaller .NET Wizard template. Show
    4. Enter a name for your installer project and select a location. The installer's .exe file inherits its name from the project.
    Please help me to solve the above Issue?
    i am using SAP B1 2005 B..
    regards
    Suresh

    Another person had a similar problem when having VS.NET installed in another disk than B1DE or B1. Is this your case?
    Re: B1DE & .NET 2003 ( master HDD is D not the standard C)
    Otherwise you can follow the steps in the thread bellow and copy the templates inside VS.NET by hand.
    Regards
    Trinidad.

  • B1DE installer = signature problem

    Hi all,
    Sorry to bother you and I really did read dozens and dozens of entries in this forum about this already, but to no avail.
    I've been running a vb6 created addon for a while (it even runs nicely in debug mode and in 2004 with new license key). Now I'm deploying it against an sbo2005 using the B1DE. The deployment now finally works, but I cannot get the addon running: wrong digital signiture according to sbo.
    The .ard file is recreated <b>several</b> times, version of vb6 executable file is 1.4.0.0 as well as vb.net installer version created through b1de in VS2005 is 1.4.0.0. Ard file generator has as input in batch file version 1.4.0.0, in sari table entry in common-db is created with version 1.4.0.0. When I look at properties of .exe file of final installer in windows it reads version 1.4.0.0. indeed.
    File addonslocalregistration.sbo looks fine as well.
    So... why am I still getting problem with signature when I trying to run addon?
    Thanks for your input !
    Regards,
    Jacques

    Hi Jacques,
    Could it be that the AddOnRegDataGen executable isn't the 2005, but the 2004 version?
    Guessing wildly,
     OC.

  • Problem Connecting B1DE UDO Form Generator in SAP 8.8

    Hello All,
    I have installed the B1DE Tool for SAP 8.8 Patch - 17 machine but while running the UDO Form Generator
    when i am ginving the User Name & Password of the selected company then system throws an error
    "ERROR - Connection to Company Failed ; Resource Error "
    and i am not able to use the UDO Form Generator .
    Please suggest how to resolve this problem,
    Thanks
    Amit

    Hi AmitSharma_061985
    you can download B1DE UDO new version here http://www.sdn.sap.com/irj/sdn/downloads?rid=/webcontent/uuid/a175fb62-0c01-0010-a8b5-fa58a13b1cf7 [original link is broken]
    1.change name server (server database)
    2.user name and password must have lincence.
    Regards
    H

  • Problem with B1DE 2.0 on Vista with VS2008

    I just installed B1DE 2.0.  I use Visual Studio 2008 on Vista.
    When creating a B1 addon project I get an error.  I describe the steps I perform:
    I choose File > New > Project
    I choose Visual Basic > VB B1 AddOn Wizard
    I get an error: "Connection error: Connection - Could not find SBO that match the connection string".
    However, when clicking ok, I can specify the connection settings.  So, I assume the error box message is no problem.
    After I click "connect", I choose for SSO and I just click Next to go to the following screen.
    When I click "finish" on the last screen, I get the following error: "Access to the path 'C:\Program Files\SAP\SAP Business One Development Environment\SAP Business One AddOn Wizard\project templates\VS2008\VBAddOnTemplate.vbproj' is denied".
    In the statusbar of VS2008 you can read: "Creating project 'ProjectName'... project creation failed"
    What should I do to make an add-on for SAP B1 2007 in VS2008?

    >
    Yatsea Li wrote:
    > When I click "finish" on the last screen, I get the following error: "Access to the path 'C:\Program Files\SAP\SAP Business One Development Environment\SAP Business One AddOn Wizard\project templates\VS2008\VBAddOnTemplate.vbproj' is denied".
    >
    > -- the problem is the strict permission setting in vista, you may runas admin to open the VS2008 and create the addon again.
    When I run VS2008 as admin, and I click "VB B1 AddOn Wizard" and then on "OK" to create a new AddOn project, the statusbar simply just shows "Creating project ProjectName... project creation failed ".
    Then I realized that B1DE was installed as "just for me" instead of "everyone".  Now, problem is solved by running VS2008 as admin and installing B1DE for everyone.  Thanks for your help.

  • B1DE Professional Installer Problem on win 2008 srv

    Hi all, I found a problem in the B1DE 2.1 Professional Installer, B1 8.8.
    In some machine with win2008 server installed, you need to run B1 as Administrator, and the Setup fails because Custom Actions runs as NT AUTHORITY\SYSTEM instead as the logged user
    So:
    1) SubMain in the Installer project creates the registry Key under HKEY_CURRENT_USER\SOFTWARE\SAP\SAP Manage\SAP Business One\InstallAddOn\MyPartner\MyAddOn key, as the logged user. In this key SubMain stores two path separated by the u201C|u201C  character.
    2) CustomInstallerClass is executed at the end of the setup, try to read the previous written key but as NT AUTHORITY\SYSTEM user, and obviously fails to read because HKEY_CURRENT_USER key is different than HKEY_CURRENT_USER at step 1)
    3) You have an error u201DIndex out of Rangeu201D because the CustomInstallerClass try to split the readed string and to return the second path, but the readed string is an empty string
    I modified the CustomInstallerClass to search other keys (e.g. HKEY_CLASSES_ROOT\TypeLib\{6048236A-956D-498D-A6F1-9C81C13AB6E8}\8.8\0\win32) if the requested key was not found, but this is a dirty solution I donu2019t like much.
    Any other Ideas?
    Regards
    Marco

    Hi Marco,
    Just my two cents worth but I never use the 'Professional' installer due to issues with getting it to install on terminal services. I always use the more primitive project (called 'SAP B1 AddonInstaller .NET Wizard') . The installer screens do look a bit ugly (though with the source code you can of course invest the time to make it look more professional). I've never had issues with this installer as long as I've compiled for a x86 target CPU.
    Kind Regards,
    Owen

  • Problems compiling B1DE

    Hello,
    I have modified some code on the B1DE and I'm trying to compile it. Some of the projects have references to UI and DI API and when I add the references from the COM objects I have no errors in references folder, but in the code doesn't recognize SAPbouiCOM namespace.
    any suggestion?
    Thank so much

    Hi Martin,
    Have you tried to remove the SAPbouiCOM reference and add it one more time?
    Have you been able to compile before doing your modifications?
    B1DE code is a normal project with references to DI and UI as all addons you can develop, I cannot see a special reason why you should have compilation problems with UI API...
    Regards
    Trinidad.

  • Problem in database fields creation using default class of B1DE Wizard

    Hi Experts
    In an AddOn I am creating database fields in default class "Project_DB'. It does not give any message weather it creates fields or not. My code for database creation is given below
    Namespace FormARE
        Public Class FormARE_Db
            Inherits B1Db
            Public Sub New()
                MyBase.New
                B1Connections.theAppl.StatusBar.SetText("Please wait. AddOn is updating database", BoMessageTime.bmt_Long, BoStatusBarMessageType.smt_None)
                Columns = New B1DbColumn() {New B1DbColumn("OCRD", "BondNo", "Bond No.", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OCRD", "BFrDate", "Bond From Date", BoFieldTypes.db_Date, BoFldSubTypes.st_None, 10, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OCRD", "BTDate", "Bond To Date", BoFieldTypes.db_Date, BoFldSubTypes.st_None, 10, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OINV", "Cntner_no", "Container No.", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OINV", "Cntnr_Seal", "Container Seal No.", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OINV", "Cust_Seal", "Custom Seal No.", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1), New B1DbColumn("OINV", "ctryOrgn", "Country of Origin", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None, 20, New B1WizardBase.B1DbValidValue(-1) {}, -1)}
                GC.Collect()
                B1Connections.theAppl.StatusBar.SetText("Successfully updated database", BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Success)
            End Sub
        End Class
    End Namespace
    It does not give first message. and second message come properly and immediately when I start the AddOn. I checked it makes all fields accuratly. But when I open the related form it gives error message "Data Source not found". I checked fields name are same as used in form and database .What can the reason? Should I use a simple function for creation of database fields which will run when a button is pressed? Is it fine to using default class for database fields creation?
    Thanks
    Best Regards
    Jitender

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • B1DE Professional Installer Problems

    I have created an installer solution using the wizard once and it worked, but after I've deleted it and trying use the wizard again, I'm getting the same error every time: "cannot add link because the \setup.exe doesn't exist". I think I'm doing something wrong, yet the wizard is so simple...
    it seems that the wizard is trying to add the setup.exe as a resource to the main project and it fails, since the setup project is not complied yet (this is just what i think happens...)
    Anyhow, the 'regular' installation wizard does work.
    And another question. I want to creating user tables, fields and objects upon add-on installation, since the add-on uses these tables, fields and objects. Is there's a best-known method for that? It seems that the installer is already 'talking' to the SBO client, yet it doesn't 'know' which company is currently in use in the client. I guess I would have to insert code that would connect to SBO UI and DI as I do in my addon, to add the user tables, fields and objects by code.
    Thanks,
    Avi

    Hi Avi,
    Have you checked if your Setup project is compiled and an exe generated in the bin directory? If you have the setup.exe generated please check if the case of setup.exe is the same one in the main project. If not just remove the setup.exe from the main project and add it one more time pointing to yours (don't forget to set its properties as Embedded resource).
    But if you have any problem with the professional you can use the simple one as you sai.
    Regarding UDTs the Setup doesn't create them and it doesn't connect neither to B1 during the setup. Usually the tables creation is done the first time the addon runs, the addon will check it everytime it is started to avoid problems.
    Hope it helps
    Trinidad.

  • B1DE Download problem link is empty

    Hello
    I need B1DE tool for sap 2004 i found link in download section but it failed.
    SAP Business One Development Environment Setup for SAP Business One SDK 2004 v1.3 
    Can enyone send mi this instal on my email [email protected]
    Thanks & Regards.
    Edited by: Michal Wieczorek on Mar 31, 2008 9:58 AM

    Hi Michal,
    The broken link has been fixed, please retry now.
    Sorry for the inconvenience.
    Regards
    Trinidad.

  • (B1DE) column ordering problem

    Hello
    Just as title suggets I'm using B1DE to create my addon. Somewhere in the middle I added some additional columns
    to db file created by B1DE wizard.
    I also updated xml file adding column elements. But the order in which they are place in xml file is not reflected on my matrix.
    Actually only one added column is in proper place. Others are in some random posiitons away from where I want them to be.
    How to enforce correct ordering if not in xml file?
    Thanks
    Kamil

    Hi Jacques,
    Could it be that the AddOnRegDataGen executable isn't the 2005, but the 2004 version?
    Guessing wildly,
     OC.

  • B1DE Add-on Failure

    Hey Gurus,
    We have developed an Add-on using the code generator wizard from the B1DE. The Add-on runs fine on machines, where Microsoft Visual Studio .Net 2005 is installed. But it crashes on the PCs, where .Net Framework 2.0 is installed properly and do not have Microsoft Visual Studio .Net installed.
    Below are the few information that can help you to track down the issue.
    System: SAP Business One 2005 A (6.80.318) SP:01 PL:10
    SQL: SQL 2005
    .Net Framework: 2.0
    Add-on created using: B1DE Add-on Wizard
    Error Message:
    System.Reflection.ReflectionTypeLoadException
    Message: "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
    Source: "mscorlib"
    I did rebuilt the add-on using B1DE, copied my code in the new solution file and the Add-on worked for few days, now it started giving me the problem again
    Any help in this regards will be rewarded.. I mean will be highly appreciated..:)
    Thanks & Regards,
    ~Bibs

    Hey Rob,
    Thanks for the reply.
    I did use the B1DE Add-on generator for my Add-on code and the wizard generated the correct and the latest dll i.e., B1WizardBase.dll.
    My Add-on works if i rebuilt a new solution and move the code from the old solution file to the latest solution.. But the problem persist after some days..
    I think I have mistakenly unmarked my post as normal post and no one wants to help for a post which will not give any rewards...???
    Regards,
    ~Bibs

  • B1DE 1.4: unknown error 2869

    I can't install B1DE 1.4, give me at the end of installation process an 'unknown error 2869'.
    I'm using Windows Vista, with Visual Studio VB 2005 AND Visual Studio C#, SapB1 2007.
    Thanks!

    Hi,
    B1DE installation checks the Namespace lenght you give and blocks installation in case your namespace is more than 4 characters long.
    It is recommended to use short Namespaces to avoid length restrictions fixed by B1.
    Nevertheless if you have a longer namespace and you don't want to /can change it to a shorter one there is a trick allowing you to use your namespace with B1DE. Just follow the steps here bellow:
    1) During B1DE installation give a short Namespace of 3 characters to allow B1 DE installation.
    2) After installation just run "regedit" in order to change the value of the namespace used by B1DE.
    The registry you have to change is:
    HKEY_CURRENT_USER\Software\SAP\SAP Business One Development Environment\ => namespace
    or
    HKEY_LOCAL_MACHINE\Software\SAP\SAP Business One Development Environment\ => namespace
    3) Once you have changed the registry value the new namespace entered will be used by B1DE (even if it is longer than 4 characters).
    I have just tested it with a small project, if you have any problem with long namespaces in B1DE please post it here.
    Hope it helps
    Regards
    Trinidad.

  • Error in B1DE during creation of a professional installer (VS2005/SAP2005)

    Hi, few weeks ago, I created a professional installer for my add-on with the B1DE for SAP 2004. Now, I have to create exactly the same professional instaler for SAP 2005 (and VS2005), but I have some problems.
    First: When I execute the 'VB B1 AddOnInstaller Setup .NET' wizard, enter all required information and press 'Finish', I always have the same messagebox error:
    "Cannot add the link because the source file '.../relase/setup.msi' cannot be found"
    When I press OK, the installer project is shown, but no setup has been created. If I manualy add the setup and add my addon in the 'Application Folder' section of 'File System', the UI and DI API dependecies are not detected, is it normal is Vs 2005 ?
    Thanks for your help, Francois

    Hi ESAKKI, I read your post and I can now install and uninstall my add-on, thanks !
    However, at the end of the uninstallation. I've got this error:
    "Unhandled exception at 0x774d2108 inmsiexec.exe: 0xC0000005: Access violation reading location 0x00000000"
    I know that is not very helpful, but it's the only info I can give. Anyone know why I have that error or know how haven't it ?
    Thanks, Francois

Maybe you are looking for