on 09-12-2008 10:17 AM
I have created a form using screen painter.I have added a new button btnIISP
in the item master form.On clicking this button the new form created through
screen painter open's.
I have created addon for the above application.But the addon gives error.
I have used following as connectionstring-
sConnectionString = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056"
When I used the above connection string I got error as,
Add-on connection timed out.
Then I changed the connection string as,
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
When I used this connection string I got error as ,
The requested lookup key was not found in any activation context.
These are the errors generated during the execution of addon.The error vary on
change of connection string.
Dear friends,
Thanks for spending u r valuable time in helping.
The problem was with SBO_Application object.For this application I am using to class files clsDetails and clsEditItem.I had declared the SBO_Application in both the files.clsEditItem is called first and then clsEditItem.SBO_Application works fine in clsEditItem but when it is declared again in clsEditItem it gave above error.So I created a module as
Module CommonFunctions
Public WithEvents SBO_Application As SAPbouiCOM.Application
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
End Sub
End Module
I hadled the events of SBO_Application object in this module
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check that DI service in server. Given me ur kind of license you have in server.
regards,
HARI BASKAR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
C:\Program Files\SAP\SAP Business One & delete AddOnsLocalRegistration.sbo and AddOnsInstall.sbo
file .
And restart ur server ...lets try
Regards,
Avijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dilip,
Use
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
and put the "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056" in your project command line arguments.
Visual Studio: Project -> ADD_ON_NAME Properties -> Debug -> Command Line Arguments.
Regards,
Vítor Vieira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vitor,
I am referring the following sample code provided by SAP i.e .
C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\14.AddOnInstaller
My application is running perfectly in the debug mode but when I start addon it gives error.I have created another add-on for crystal report using above code and it is working.
I searched on net for the error -
The requested lookup key was not found in any active
activation context
This is system error as-
Error Code-14007
Error Name-ERROR_SXS_KEY_NOT_FOUND
Reason-A component version required
by the application conflicts
But I could not find the solution to fix the error.
Regards,
Dilip Kumbhar
Edited by: Dilip Kumbhar on Sep 15, 2008 4:35 PM
Edited by: Dilip Kumbhar on Sep 15, 2008 5:33 PM
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.