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.

Similar Messages

  • Get-CacheHost is showing the status of nodes as UNKNOWN and caching service getting crashed - eventlog shows TimeoutException connecting to cache nodes.

    After installing and configuring App fabric 1.1 and ran Get-CacheHost command to check the status of the nodes. Its showing the Status of the nodes as UNKNOWN.  Some time caching service is crashing with Timeout exception and socketException connecting
    to cache nodes. Below is the exception from the even log.  When I see the debug log I could see timeout exceptions connecting to cache nodes. Here is the error in debug log. I appreciate your help on this. Thanks.
    Error in Debug log in event viewer
    Microsoft.Fabric.Common.OperationCompletedException: Operation completed with an exception ---> Microsoft.Fabric.Common.RemoteDownException: Connection rejected by the remote side ---> System.ServiceModel.EndpointNotFoundException: Could not connect
    to net.tcp://xxxxx. yyyyyy:22234/77b087cc000000000000000000000000-31faf87a000000000000000000000000. The connection attempt lasted for a time span of 00:00:00. TCP error code 10061: No connection could be made because the target machine actively refused it
    25.0.198.32:22234.  ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 25.0.198.32:22234
    Error in Event viewer
    AppFabric Caching service crashed with exception {Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRService0001>:SubStatus<ES0001>:Service initialization failed. No user action required. ---> Microsoft.Fabric.Common.OperationCompletedException:
    Operation completed with an exception ---> System.TimeoutException: The operation has timed out.
       --- End of inner exception stack trace ---
       at Microsoft.Fabric.Common.OperationContext.End()
       at Microsoft.Fabric.Common.SharedCommunicationObject.EndOpen(IAsyncResult result)
       at Microsoft.Fabric.Federation.FederationSite.EndOpen(IAsyncResult result)
       at Microsoft.Fabric.Data.ReliableServiceManager.EndOpen(IAsyncResult ar)
       at Microsoft.ApplicationServer.Caching.DOMNode..ctor(Int32 id, String displayFriendlyNodeId, Int32 port, EndpointID[] urisDOM, ServiceConfigurationManager configurationManager, ReliableServiceProvider dataStore, ServiceResolverBase& client)
       --- End of inner exception stack trace ---
       at Microsoft.ApplicationServer.Caching.DOMNode..ctor(Int32 id, String displayFriendlyNodeId, Int32 port, EndpointID[] urisDOM, ServiceConfigurationManager configurationManager, ReliableServiceProvider dataStore, ServiceResolverBase& client)

    Seems like a firewall issue, have you set the firewall rule to ALLOW inbound traffic to AppFabric? 

  • Delivery Document has been created - showing the status of Being Processed.

    Hi All.
    I am facing the following typical problem.
    1. Sales order has been created - showing the status of COMPLETED.
    2. Delivery Document has been created - showing the status of Being Processed.
    3. Goods Issue document created successfully- showing status as COMPLETE
    4. Billing Document has created successfully - showing the status as COMPLETED.
    5. Customer Account got updated properly.
    Query: Despite of completion of SO, DELIVERY, GOODS ISSUED, AND BILLING DOCUMENT u2013 and accounting document is cleared why the outbound Delivery document status is showing as BEING PROCESSED.
    If I go T-code Vlo3n see document flow
    Delivery 5080789885 being processed.
    Go to VF03 document flow also it is showing
    Delivery 5080789885 being processed.
    Aditya

    Hi ALL,
    Further to my query I would like to clarify the following:
    It is happening since 2004 all Bom components status (Delivery being processed) all the BOM main items header status is showing completed.
    It not impacting the business, but suddenly user raise query SO, DELIVERY, GOODS ISSUED, AND BILLING DOCUMENT completed why still delivery showing as being processed.
    1. I have checked at SO level -- all the line items were delivered. ie: delivery, goods issue, billing completed.
    2. I checked the Header Level data completed and Item Level data being processed.
    3. If I look into the each item level also it is showing as being processed.
    4. Even the SALES ORDER HEADER LEVEL showing the status of Completed.
    5. Removed credit check in delivery.
    The only issue is OUTBOUND DELIVERY DOCUMENT: Status alone it is showing as ' Being Processed' -- surprisingly!
    Aditya.

  • Workflow attached to content type shows the status as 'Starting'

    Hi,
    I have developed a workflow to distribute documents from Drop Off library to different SharePoint libraries based on the content type that the document uploaded to.
    The drop off library has been configured incoming mail settings hence the documents would be on boarded to drop off library through e-mails. In this scenario, my workflow should be triggered when the document is on boarded through email.
    Another scenario, the user can upload the document to different content type manually and updates the respective meta data values. This scenario, my workflow should be triggered when the item updated.
    So, I have configured my workflow should run on the content types and trigger when item is created through e-mail and item is updated by manual.
    The document on boarded through e-mails are working fine as soon as the item is created.
    Issue:
    The workflow associated on a content type which needs to be triggered on item created is triggering as soon as the user uploads a document manually and shows the status as 'Starting'.
    The workflow associated on a content type which needs to be triggered on item modified is triggering as soon as the user updating meta data values after document is uploaded. Hence, throwing an error
    'cannot open a file from drop off' library exception when I try to read file using C# code as file stream bytes.
    Configuration:
    1. The content types are having mandatory fields which has a default values set.
    2. The document version settings are set as check out the document when editing the properties.
    Please help me to resolve this bug and let me know if you need more details.
    Also, let me know how can we cancel the workflow if it is in 'starting' mode.
    The workflow should run the document is onboardedwhen an item is created and

    Hi,
    According to your description, my understanding is that you want to get data from content type in JSlink.
    I suggest you can get the content type data in JSLink using JavaScript Client Object Model.
    Here are some derailed code demos for your reference:
    http://sharepoint.aspcode.net/view/635399286724222582163436/sharepoint-how-to-get-field-value-using-jsom-jslink-without-async-call
    http://sharepoint.stackexchange.com/questions/93777/how-to-get-contenttype-name-in-clientsidejavascript-jquery-csom-etc-in-editf
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • SCCM 2012 Client was removed but SCCM console still showing the status as "Yes"

    Hi,
    In a VM, SCCM 2012 client agent was removed and the VM was reverted back to a clean machine. SCCM console still shows the status as "Yes" even after the client agent was removed. Heartbeat Discovery is set to run every 1 hour.
    Please guide on this.
    Regards, Lorin Davis

    It's kind like a person dying (sorry to be a bit morbid) -- how does the phone company know the person died? The dead person certainly can't tell them and the phone company doesn't query every person it services and ask them "are you alive?"
    Thus, someone else must notify them of the person's passing. This is no different than a client agent "dying" in ConfigMgr. A ConfigMgr site never initiates communication with clients and thus something else needs to tell the site that the client
    agent is dead. You! Or, an automated process (as Torsten mentioned) that goes through automatically marks a client as "dead" that hasn't been heard from in x number of days.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • IDoc Error IDocs showing the status 53 "Application Document Posted".

    Hi All
    IDocs showing the status 53 "Application Document Posted". But values are not updated in SAP.
    Plaese sugggest on this,
    Thanks
    Ajit K Barik

    Ajit, there might have been a dump--check in ST22 or a update termination error, check in SM13.
    Either of these you'll have to take help of your ABAP consultant to analyse.
    Regards,
    Raghu.

  • Runtime audit browser shows the status busy for the cancelled OWB jobs

    Hi ,
    I canceled long running OWB job.But the runtime audit browser was showing the status as BUSY.
    I observed the the oracle session (SID:48) was running and killed the session.
    After killing the session,the status in runtime audit browser changed to COMPLETED.
    Till that time i was with an impression that "if we cancel a OWB job then it will kill all the sessions/process that initiated".
    Could please tell me why this is happening?
    Anything wrong with my configuration?
    Appreciate early response.
    Thanks,
    Naidu

    Hi Naidu
    Yes you are absolutely right. When you press the cancel button in the GUI, the runtime repository does not get the signal that he is been asked to stop and abort. The GUI cancels himself but the background oracle process is still on !!!. The only way to do is to kill the oracle session. Another way I tried to tackle is
    go to the directiry OWB/10.1/owb/rtp/sql and run the file @list_request.sql in sqlplus. Note that you have to login as runtime repositiry owner. After you get the audit id, run the file abort_exec_request.sql and supply the audit id that you obtained by running list_requests.sql. Sometimes it does not work also . Hence the best method is to kill the process

  • MAM Sync shows the Status O-Waiting

    Hello all,
    I'm trying to do the sync steps in my MI Client (using MAM), but when i try to do this, the SyncBOs in MEREP_MON are always showing the Status O-Waiting, and the data is not arriving to Client. I don't receive any error message in client.
    I've tried to run MEREP_RDB_T01_RESET in SE37 and replicate the SyncBOs in MEREP_PD and MEREP_EX_REPLIC. I've tried to reinstall MI Client and generate a new device ID. Nothing is happen.
    By the way, I've tried schedule of MI Jobs again and generate the roles for MI In PFCG. Nothing.
    I getting this problem after a System restart on the middleware. Before this, the system was working good.
    The system is: SAP Netweaver 2004s (WebAS 7.0) with Mobile Infrasctruture. MAM 2.5.  NW2004s is running in with Support Package 10 for Abap and Java stacks.
    Anybody have an Idea?
    Thanks a lot.
    Carlos

    Hi Carlos,
    First, check the whether you have enabled all the syncBOs in merep_pd. That is the culprit most number of times.
    Check if the data has come to the MEREP_207 table, which the RDB for the T01 syncBOs. If you have data in the table, then your replication is working fine.
    Kindly do the above two steps, and let me know abt their results. Also, tell me what is your MI client SP level.
    Regards,
    Rahul

  • I bought Apple TV3 , it was working fine until today and stopped showing the status light. Please help.

    I bought Apple TV3 , it was working fine until today and stopped showing the status light. Please help.

    try another cable it's a std cable that most consumer electronic use
    if that does not help then I would try to connect it by a microUSB cable to see if I could restore the firmware from a computer running itunes
    if that does not help then I would say that the appletv have died

  • 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 Region

    Hi 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

  • REPORT GETS HUNG WITH THE REPORT QUEUE SHOWING THE STATUS OF OPENING

    I have installed Oracle 9ids on windows 2000 platform. This installation is part of the oracle clinical installation process.
    The installation went on fine except few problems during generating reports. I am able to generate report but as soon as any one of the report fails it stops all the subsequent reports . The failing report has the status of "Opening" in the report queue manager whereas all the subsequent reports get stuck with the status of "Firing before trigger" status in the report queue manager.
    Has anybody encountered the same problem or anything similar... if so, pls hlp...
    Regards,
    Venus

    I tried this Gill, but result is bit different :-
    Seems some little modifications are needed. Report should be displayed like the below one where it says how many times the same Task is associated with the same incident. Eg. Task 'TASK_CIRCUIT_RESOLVER' is associated with the incident 'INC000000001434' 4 times. 'IPCG Diagnostic Template' is associated with  'INC000000000943' 2 times. Similarly for other records.
    But I really thankful to you for giving me the logic proceed further. I tried  '=RunningCount([Task Name]; Row; ([Task Name]; [Incident ID]))'. It gave me desired results. :-
    But the only thing that needs to be done is to bring the single Task associated with the Incident..
    Thanks,
    Neha Pateria

  • How do I show the Status file property of a Word document in the SharePoint library?

    When I created some Word documents (using Word 2010) I filled in the Status property before saving them on my PC's local hard drive. Not having tried that before, I verified I'd done it by selecting the file in Windows 7 File Explorer and looking at
    the file properties pane along the bottom of window. Lo and behold, there's a line in there called Content Status with a value identical to what I typed in within Word.
    So far so good. But how do I get the SharePoint library to show the value of that field for each document? I tried Modify This View (go to the library, click ... , Click Modify This View) then looking at the list of columns I can enable / disable using the
    Display tick boxes. But neither Status or Content Status are listed among the 21 Column Names and there doesn't seem to be a control to add custom ones.
    Have I missed out some stage? What am I doing wrong?
    Please keep in mind that I'm a SharePoint novice.
    Regards,
    Bruce Officer

    Hi ,
    Do you want to change the default paper size in Word 2010? If so, this is how I do it.
    1. In Word 2010, go to Page layout tab.
    2. Click Size in the Page Setup group then click More Paper Sizes.
    3. In the Paper tab, input the paper size that you want, then click Set as default.
    If there is anything that I can do for you regarding this issue, feel free to post back.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Why does time machine show the backup failed

    The time machine icon in the menu bar keeps showing up with a "!" in the middle of it, which is suppose to mean the back up failed.
    Yet when I go to System Preference, it shows the backup succeeded.
    The menu bar shows the last successful back up was on Sept 13.
    System Preferences shows the last successful backup was an hour ago.  (15 Sept.)
    How do I get these two to agree with each other?
    Rebooting the computer doesn't seem to help.
    I'm running 10.9.4 now.

    LonerT:
    Thanks for looking at the HomeSharing problem
    I have three discussions open that are related.  The first one shows that the ATV appears to open the extra DAAP connections, which in turn appears to be related to Homesharing problem.
    Airport opens multiple DAAP connections
    Numerous ATV DAAP ports to MacBook Pro
    Cannot turn off Homesharing to AppleTV: IPv6 connections remain
    This one (not mine) points at the Bonjour Sleep Proxy Service as being involved in the DAAP problem.
    DHCP conflicts between AppleTV and Airport Extreme repeater
    And this is the "other side" of the problem, which I have also experienced
    Apple TV homesharing keeps dropping out ...
    I note that my AppleTV started out with a DHCP address of 10.0.1.16, it jumped to 10.0.1.20 and then migrated up, one address at a time, to 10.0.1.25.
    Given the number of systems I have on my subnet, if they are handed out in order, and given that I just moved from 192.168.1.0/24 private space, the highest address should be around 12. 
    I have two Apple TVs.  One on Wireless remote from the ATX and connected to an Airport Express and one connected via ethernet directly to the AEX.  I don't use the remote one.  It should not have been turned on (activated) for at least two weeks, yet the AEX is still sending out ARP requests for the last IP address that it had and my laptop still associates the AEX MAC with the last address assigned to the remote ATV.

  • How to show the status in colours on web dynpro.

    Hi frnds,
                  It is possible to display the status using like a signal lights.
                    Ex: process in green , completed in yellow ,pending in  red ..
                    based on the status(process,completed,pending) i want to display the color in the  browser.
                                                               or
                Display wards in color based on condition..
    Edited by: Rakhi@abap on May 15, 2010 5:47 PM

    Hi Rahki,
    The status of what?
    There are traffic light icons that you can use, or you can set  the cell design (which changes the background colour of a cell (if you are in a table).
    I often use this to indicate on a review step whether a cell/row has been inserted, modified or deleted from a table.
    Chris

  • Hi - I've brought the new iphone 5 but can't download my music from my itunes account even though I have the latest version (10.7). All i can see is that my account is not showing the iphone 5 as a 'managed device' and i dont know how to get this added ?

    Hi - I've brought my iphone 5 but cant seem to download my music from my itunes account onto it. I've downloaded the latest version of itunes as i heard this could be a problem but still no joy. The phone tries to sync when i plug it all in to the pc and even has the capacity bar showing about 12gb of audio but there is still nothing downloaded onto the phone.
    The only thing i can see that might be causing the problem is that when i go into my itunes account it doesn't show that the iphone 5 is an option is the 'managed device' section but i dont know how i can add the new iphone 5 to this....
    Can anyone please advise me on what to do ?
    Many thanks !
    Razor

    You can only sync to one computer/iTunes library. To make this your syncing computer:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

Maybe you are looking for

  • How to get Glassfish setup in NetBeans 4.1?

    I do "Add server". when I enter the glassfish installation path, the next and finish buttons remain disabled. I know my Glassfish installation is setup correctly as I can view http://locahost:8080. What do I do?

  • Updating css in manual mode

    When I use the stylesheet to update a style, the updates do not appear in the styles panel. Also the DW preview screen does not reflect the changes although the changes are seen when viewed in the browser. The manual says all that needs to be done is

  • How do I resolve the Activation Limit Has Been Reached on FrameMaker 10 message

    I have 30 days to resolve this issue on my laptop, before I guess the software will stop working.  I'm using FrameMaker 10 on my laptop, which had an upgraded hard drive.  The previous hard drive has been destroyed.  When I launched FrameMaker 10 tod

  • H264 encoding issue with FlashPlayer 11

    Hi, When encoding live in h264 with the FP 11  then playing it live on another client (through FMS r) the video sometimes (1/3 of times) has major skips or jerks. It's almost as if the video goes back to some older keyframes and then returns to live.

  • Vlookup Dates and COUNTIF

    Hello, I have the following table. C D E DATE CUSTOMER SERVICE 3-MAY-15 BILL PAID 5-JUN-15 MARRY BASIC 6-FEB-15 MARRY AMC 10-OCT-15 JOI AMC 14-DEC-15 BILL BASIC 4-APR-15 JOI PAID 26-APR-15 JOHN AMC 3-JAN-15 JOHN PAID 3-MAY-15 BILL BASIC I have random