AddOn Manager ....Installed Addons
Hello,
I have problem after installing Addon.
After installing AddOn, it shows the status as "Failed" in Installed Addons under
Add-on Manager.....
But my report runs successfully.
I want to change the status from "Failed" to "Connected".
To get the status as "Connected", I made the changes in AddOnInstallerManager.vb as follows:
actual code:
#If Version = "2005" Then
' Call EndInstallEx with isSucceeded = true
' Replaces EndInstall function of 2004 version
ret = EndInstallEx(addOnPath, True)
If ret <> 0 Then
MessageBox.Show("EndInstallEx returned " + ret.ToString(), _
"Error while trying to install the AddOn", _
MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
End If
#Else
' Call EndInstall (no parameters)
ret = EndInstall()
If ret <> 0 Then
MessageBox.Show("EndInstall returned " + ret.ToString(), _
"Error while trying to install the AddOn", _
MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
End If
#End If
change it to :
#If Version = "2005" Then
' Call EndInstallEx with isSucceeded = true
' Replaces EndInstall function of 2004 version
ret = EndInstallEx(addOnPath, True)
If ret <> -1 Then
MessageBox.Show("EndInstallEx returned " + ret.ToString(), _
"Error while trying to install the AddOn", _
MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
End If
#Else
' Call EndInstall (no parameters)
ret = EndInstall()
If ret <> 0 Then
MessageBox.Show("EndInstall returned " + ret.ToString(), _
"Error while trying to install the AddOn", _
MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
End If
#End If
after done that change I rebuilt solution. I tried to install the addon again but it gives system message as"Wrong digital signature for Add-on installer".
Please give me the solution.....
Thanks
Nisha
Hi Nisha,
Every time you recompile your addon or the Installer you need to regenerate the .ard file. To do that if you are using the B1DE installers you only have to run the .bat inside the AddOnRegDataGenFile directory (please have a look to the B1DE help file). If you are not using B1DE then use the AddOnRegDataGen.exe to regenerate your ard.
Hope it helps
Trinidad.
Similar Messages
-
I installed a new dictionary. Something that worked fine when I installed it in the previous versions, works fine on my pc. But I have installed the dictionary 3 times now and it won't "take". I see it in the addon manager, but when I want to switch from us to dutch dictionary, it's just not there to be switched to. It's annoying and I need the dictionary
You can see which dictionary is selected if you right-click in a text area and open the Languages submenu.
* http://kb.mozillazine.org/Spell_checking
* http://kb.mozillazine.org/Dictionaries
* https://support.mozilla.org/kb/Using+the+spell+checker -
I can see 5 versions of java console in addons manager,6.0.04,6.0.07,6.0.10,6.0.12 and 6.0.14.Do I need all these or should I disable all but the latest?
You can manually remove those; they were not properly cleaned up by Java when updating. See:
*http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
'''<u>In your case</u>''', remove folders:
*{CAFEEFAC-0016-0000-'''''0004'''''-ABCDEFFEDCBA}
*{CAFEEFAC-0016-0000-'''''0007'''''-ABCDEFFEDCBA}
*{CAFEEFAC-0016-0000-'''''0010'''''-ABCDEFFEDCBA}
*{CAFEEFAC-0016-0000-'''''0012'''''-ABCDEFFEDCBA}
*{CAFEEFAC-0016-0000-'''''0014'''''-ABCDEFFEDCBA}
<br />
<br />
'''You need to update the following:'''
*Adobe PDF Plug-In For Firefox and Netscape
#'''''Check your plugin versions''''' on either of the following links':
#*http://www.mozilla.com/en-US/plugincheck/
#*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
#*'''Note: plugin check page does not have information on all plugin versions'''
#*There are plugin specific testing links available from this page:
#**http://kb.mozillazine.org/Testing_plugins
#'''Update Adobe Reader (PDF plugin):'''
#*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
#**Open the Adobe Reader program from your Programs list
#**Click Help > Check for Updates
#**Follow the prompts for updating
#**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
#*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
#**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
#**Use either of the links below:
#***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
#***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
#*After the installation, start Firefox and check your version again. -
the addon manager shows no addon so i can't change the settings of addons. the page is blank. i have installed these addons
Adblock Plus
Cooliris
Download Statusbar
Download Helper
Fire Gestures
Search Preview
Thumbnail Zoom
Twitter Addressbar SearchPerform the suggestions mentioned in the following article:
* [[Troubleshooting extensions and themes]]
Check and tell if its working. -
Mod shows "Failed" in Addon Manager, but it works... what is wrong?
I have two addons that are installed and working; but, the Addon Manager says they have Failed connecting. Also, the Addons take ~15 seconds to connect, which seems a bit long to me. I am including all my connection code.
Imports Microsoft.VisualBasic
Imports Microsoft.VisualBasic.VariantType
Imports Microsoft.VisualBasic.Constants
Imports Microsoft.VisualBasic.Interaction
Imports System.Diagnostics
Imports System.Collections
Imports System.Windows
Imports System.Windows.Forms.Application
Imports SAPbouiCOM.BoTextStyle
Imports SAPbouiCOM.BoFormMode
Imports SAPbouiCOM.BoEventTypes
Imports SAPbobsCOM.BoObjectTypes
Imports SAPbouiCOM.BoFormItemTypes
Imports SAPbouiCOM.BoDataType
Friend Class ABYMods
Private WithEvents oApplication As SAPbouiCOM.Application
Private WithEvents oCompany As SAPbobsCOM.Company
#Region "Setup"
Public Sub New()
MyBase.New()
SetApplication()
If Not SetConnectionContext() = 0 Then
MsgBox("Failed setting a connection to DI API.")
'End ' Terminating the Add-On Application
Exit Sub ' Terminating the Add-On Application
End If
If ConnectToCompany() = False Then
MsgBox("Failed connecting to company's database.")
'End ' Terminating the Add-On Application
Exit Sub ' Terminating the Add-On Application
End If
End Sub
Public Shared Sub Main()
Dim oABYMods As ABYMods
oABYMods = New ABYMods
Application.Run()
End Sub
Private Sub SetApplication()
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
Try
SboGuiApi = New SAPbouiCOM.SboGuiApi
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
'sConnectionString = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056"
'// GetAddOnIdentifier() is a function to return a string with the
'// appropriate identifier for the Addon.
'// This will be required after 2005! (We currently return a blank string.)
SboGuiApi.AddonIdentifier = GetAddOnIdentifier()
'// connect to a running SBO Application
SboGuiApi.Connect(sConnectionString)
'// get an initialized application object
oApplication = SboGuiApi.GetApplication()
'SetFilters()
Catch
MessageBox.Show("No SAP Business One Application was found.")
End Try
End Sub
Private Function GetAddOnIdentifier() As String
' We will need to set this up before 2006 for our Addons to be recognized by the License Manager
GetAddOnIdentifier = ""
End Function
Private Function SetConnectionContext() As Integer
Dim sCookie As String
Dim sConnectionContext As String
Try
' Initialize the company object
oCompany = New SAPbobsCOM.Company
' Acquire the connection context cookie from the DI API
sCookie = oCompany.GetContextCookie
' Retrieve the connection context string from the UI API using the acquired cookie
sConnectionContext = oApplication.Company.GetConnectionContext(sCookie)
If oCompany.Connected Then
oCompany.Disconnect()
End If
' Set the connection context information to the DI API
SetConnectionContext = oCompany.SetSboLoginContext(sConnectionContext)
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Function
Private Function ConnectToCompany() As Boolean
Dim counter As Integer
counter = 0
Try
Do While oCompany.Connected = False
If oCompany.Connect <> 0 Then
counter = counter + 1
If counter > 10 Then
ConnectToCompany = False
Exit Do
End If
' When using multiple AddOns, problems with each trying to connect at the same time have been found.
' So, we try multiple times and wait 50ms more between each iteration.
Call System.Threading.Thread.Sleep(counter * 50)
Else
ConnectToCompany = True
End If
Loop
Catch ex As Exception
MsgBox("oCompany.Connect failed in ConnectToCompany()")
End Try
End Function
#End RegionHi Scott
The code is correct
The Addons take ~15 seconds to connect because your system has a little memory. Remember all addon take ~74MB
In Addon Manager go in timeout, but after timeout your addon run
Solution: if possible 1) use only 1 addon. 2)Run addon manually and not automatically only when necessary 3) don't run on PC other programs 4) add memory on your PC
5 finally) We hope in <b>2005 addons use little memory</b>.
Andrea Moschetto -
I cannot install addons with 4.0b12!
I've been trying to install Stylish from addons.mozilla.org for the last few hours and after clicking the link I am asked to restart as usual. However upon restarting the addon is not there and it's as though I have not done anything at all. I've tried installing from a file as well and the same issue occurs.
I emailed the developer about this and he suggested it might be a problem with firefox and upon further inspection I don't seem to be able to install any addons. I've been through the 'unable to install addons' FAQ and it has not proved helpful as all of my about:config settings are as they should be and I also tried deleting extensions.ini/rdf (could not find .cache) in my user profiles folder.
Can someone please tell me what might be going on? It's driving me crazy. Note: this also appears to be happening on 3.6.14, which is still installed.I figured it out. When I was using firefox 3.x I'd installed an addon called Memory Fox to cut down on ram usage as it would habitually creep up to 1GB+ during the course of a day, well when I installed 4.0b12 I deleted the addon, but not the external application that runs in the background. I noticed it was still running, ended it via the task manager, and now everything works and I can install addons again!
I am glad I don't need to create a new profile as that's a royal pain :X -
Hi Experts!
I have a problem with installing addons on clients.
I registrated a new version of addon under Admin/Addons/Addon adminisration ,of course firstly I have unregistered this one.
After adding the new .ard and .exe files the installation is successful on server machine, but first time I log into SAP on client machine , nothing has happen.No error message , the installation doesnt start.
Where Automatic installation is setup there of course I got the error message about wrong digital signature...
The only solution is deleting the two .sbo files under C:\Program Files\SAP\SAP Business One\.
But at this moment I have 10 client machines and 3 addons,so every time when new version should be installed it would take 4 hours to get ready with client installations and of course my client would like to work..
Please help me how to solve it or what to do to avoid this problems next time,next new client!
Thank you in advance!!Hi,
This problem usually is caused by unmatching id in the table SARI in the SBO-Common database. Make sure you have uninstall the addon and delete your add-on folder in the C:\Program Files\SAP\SAP Business One\Addons. Then, run SQL Server Management Studio and open the table SARI in the SBO-COMMON database. Find if there is any old entry of your add-on. (If your add-on was uninstalled correctly, you should not see any entry related to that add-on). If you see an entry related, delete it.
Then, try to install the add-on again.
Regards,
Zul -
When I click options in addons/extensions the addon window freezes and I have to use the task manager to end the process. Any solutions?
There may be a problem with one of the files that stores details of installed extensions. Try deleting these files as shown in the "Corrupt extension files" section of this link - https://support.mozilla.com/kb/Unable+to+install+add-ons
Though that article is not specifically about your problem, the method shown in the corrupt extension files section may help. When you restart Firefox after deleting those files, the list of installed extensions is rebuilt and this will hopefully fix your problem. -
Shockwave addon stopped working, but addon manager says it is fine, what to do?
Whenever I am at a website it freezes and error message pops up to say adobe shockwave is not working do I wish to turn it off or wait. This has been going on for several days. I checked the addon manager and it says that the shockwave is fine and recently updated. I pressed update now and nothing happened. I clicked on the shockwave and got lots of information, none of it useful and offers to download more programs, but I didn't want to do that.
I don't know how to get it working again, and haven't had this problem before.Hello,
Some problems with Flash video playback can be resolved by disabling hardware acceleration in your Flash Player settings. (See [[Flash Plugin - Keep it up to date and troubleshoot problems|this article]] for more information on using the Flash plugin in Firefox).
To disable hardware acceleration in Flash Player:
#Go to this [http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_Solve_video_playback_issues Adobe Flash Player Help page].
#Right-click on the Flash Player logo on that page.
#Click on '''Settings''' in the context menu. The Adobe Flash Player Settings screen will open.
# Click on the icon at the bottom-left of the Adobe Flash Player Settings window to open the Display panel. <br/> <br/>[[Image:fpSettings1.PNG]] <br/>
# Remove the check mark from '''Enable hardware acceleration'''.
# Click '''Close''' to close the Adobe Flash Player Settings Window.
# Restart Firefox.
This [http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html Flash Player Help - Display Settings page] has more information on Flash Player hardware acceleration, if you're interested.
Does this solve the problem? Let us know. -
Adobe Reader "Adobe PDF Reader" Addon not installing when Using MSI Installer.
I'm trying to do a silent install of Adobe Reader - and I notice that when I use the EXE installer, with no manual configuration, I have the "Adobe PDF Reader" Addon in Internet Explorer (IE11).
When Installing the MSI - With or without a transform, I do not get the addon. I get a "PDF Link Helper" but no PDF Reader addon. Has anyone experienced this?Hi geoffubazi,
The 'Adobe PDF Reader' Addon should install even if you run the .msi file.
Check under the Add on option- 'Run without permission' as shown in the screen shot below and it will list the 'Adobe PDF Reader' Add on
Regards,
Rave -
if i try to search for any addon in the addon manager, it says "unable to retrieve addon"
Fennec 1.0 alpha 3 was released over a year ago and is not currently a supported version. If you are using Fennec 1.0 alpha for Windows Mobile, we are sorry but we are no longer developing or supporting Fennec for Windows Mobile phones.
If you are using Fennec on Maemo or Android, or on a desktop computer, please upgrade to the latest release (4.0 beta 1): http://www.mozilla.com/mobile/download/ -
Shows the status "failed" in AddOn Manager
I have created a addon for our clients. The addon works fine and loads up each time a user logs into B1. The only issue I am seeing is that the addon is listed with a "Failed" status in the Addon Manager even though the addon works fine.
Is there some code that I need to include to ensure that the status is set to "Connected".Hi Parag,
Yes this is a problem, for sort out this problem, when you are creating installer for your addon you can open the CustomInstallerClass.vb under customerLibrary in your installer project.
and do this change
actual code:
#If Version = "2005" Then
'' Call B1 EndInstallEx, succeeded true
ret = EndInstallEx(targetDir, True)
If (ret <> 0) Then
MsgBox("Error at EndInstallEx(True) call at the end of the AddOn installation: " + targetDir)
End If
#Else
'' Call B1 EndInstall (no parameters)
ret = EndInstall()
If (ret <> 0) Then
MsgBox("Error at EndInstallEx() call at the end of the AddOn installation")
End If
#End If
change it to :
#If Version = "2005" Then
'' Call B1 EndInstallEx, succeeded true
ret = EndInstallEx(targetDir, True)
If (ret <> -1) Then
MsgBox("Error at EndInstallEx(True) call at the end of the AddOn installation: " + targetDir)
End If
#Else
'' Call B1 EndInstall (no parameters)
ret = EndInstall()
If (ret <> 0) Then
MsgBox("Error at EndInstallEx() call at the end of the AddOn installation")
End If
#End If
you have to compare ret to '-1' instead of '0'
after done that change again rebuild your solution, its working fine. -
Addon manager doesnt open in tab. how to change?
My addon manager opens in a floating window, but i want it to open in tab. How can i change that?
how can I get it to be back to the small popup window for the add-on. prefrence even thou I still aviod it because i still love the old style and SeaMonkey still has that whew. But those are nice and small and clean and easy to use and aren't big and bulky like the new add-on manager. But how can I get the popup dialog . anything in about::config I can hack ? I'd love to see the option for the classic views its a much better option and more fair to people. I also hate the fact when I click the add-on it auto move me to that tab. I have that turned of with middle click. would be nice if it was a middle click option . But even then I'd hope it does auto take me there. Hot mail too thats what the middle click is for to open another tab if you want but as I said witht he option to go to it then and there ot when you want to. Seamonkey 2.1a3 it still works right so I dunno what wrong with firefox . thats all the same things like ie :( . I don't like annoying popups but a config small popup is fine thanks
-
Hello all,
I have a problem with install my addon to SAP2004. I create setup program for my addon, than i make .ard file for this addon and registred Addon in SAP SBO. When start the SAP begin the installation process. This process is ending by error "Install is time out". The setup dont start. I used time for installation 300 second. The wizard for setup didnt start. Why not?Hey Vit,
First of all you will need to use some kind of installer that will allow you to execute your own custom code blocks as you must tell Business one that your installer has been successful.
Here is some of the code that I used:
First of all when your add on installer is called it gets two parameters from Business one. The first one is the install dir and the second os the location of the addonreg dll. You need to use these variables in your code.
installDir = Environment.GetCommandLineArgs().GetValue(1).ToString();
dllLocale = Environment.GetCommandLineArgs().GetValue(2).ToString();
You need your C# application to talk to the business one registration dll. These are the three main functions you will need to call.
[DllImport("AddOnInstallAPI.dll")]
static extern int EndInstall();
[DllImport("AddOnInstallAPI.dll")]
static extern int RestartNeeded();
[DllImport("AddOnInstallAPI.dll")]
static extern int SetAddOnFolder(string srrPath);
This is the code I use to tell Business one my addon has been installed:
public bool RegisterAddOnWithBusinessOne()
//set curr directory to SBO dll path
Environment.CurrentDirectory = dllLocation;
//override the default install Dir
if (SetAddOnFolder(installLocation) != 0)
return false;
else
//tell SBO the install has ended properly
if (EndInstall() != 0)
return false;
return true;
Please let me know if you have any questions or if this helps. -
Since adding a new addon, my addon manager won't stay open.
I recently got an email from Firefox with the top addons of 2014. So I downloaded a couple. But now, when I open the Addons Manager, it only stays open for a fraction of a second and then opens a new tab in Firefox with an advertisement for Garmin. How do I stop it from doing that?
https://buy.garmin.com/en-US/US/maps/on-the-trail-maps/topo/topo-canada/prod1016.html?zebratwo=CJ&utm_source=CJ&utm_medium=Text&utm_campaign=MapsGood. Now you have access. And confirmed that it is the add-on.
Do you remember the name of the add-on you think is the problem?
Type '''about:addons'''<Enter> in the address bar to open your Add-ons Manager.
Hot key; '''<Control>''(Mac:<Command>)''<Shift> A)'''
In the Add-ons Manager, on the left, select '''Extensions.'''
Disable a few add-ons, then '''Restart Firefox.'''
Some added toolbar and anti-virus add-ons are known to cause
Firefox issues. '''Disable All of them.'''
If the problem continues, disable some more (restarting FF). Continue until
the problem is gone. After, you know what group is causing the issue.
Re-enable the last group '''ONE AT A TIME''' (restarting FF) until the problem returns.
Once you think you found the problem, disable that and re-enable all the
others, then restart again. Let us know who the suspect is detective.
Maybe you are looking for
-
I have just updated to Yosemite on my 2009 MBP and am informed that I have an Apple Remote Desktop update to apply in the App Store. Product was purchased as shrink wrap a few years ago with 3 user licences. However I can't apply the update Looking a
-
Which SPAM/SAINT for our System
Hi All I want to apply SAP SP-Stack on our ECC6 System. When I execute TX-SPAM I got following information "Support Package Manager - Version 7.00 / 0023" on service marketplace when I click "SAP SPAM/SAINT UPDATE" I have following options SPAM/SAINT
-
Sony A900 cRAW cardreader import oddness
I am trying to get to the bottom of what is going wrong with importing directly from a USB 2 card reader with Sony A900 cRAW files. If I copy the cRAW files to a folder on the Desktop using the Finder, then I can import the files into Aperture easily
-
Changes I make to radio station metadata keep getting undone
Whenever I listen to an internet radio station through iTunes, iTunes will undo any changes I've made to the metadata. Like, one station I've got in iTunes has its Genre set to "80s,new wave,electronic/dance", and I change that to "Radio", but then a
-
HT1689 How do I report stolen my iPad(s) to Apple?
My wife and I each received an iPad 2 for 2011 Christmas. Yesterday, they were stolen. How do I report serial numbers and potentially flag these devices to Apple in an effort to track them?