Outlook Add-in Deployment

I have create an outlook add-in. When i run it in my machine ,it works fine. Then i publish
 it. I click the .vsto file in client machine to deploy add,it runs well and  there is no warning,when i open the outlook,i can see the add_in.however when i click the button(get info).there is no feedback,so
I  add the code messagebox.show("failure") in the button_click event in the first line, it shows nothing too.
note: i am using VS2010. .NET framework 4
please;

Hello,
> Then i publish  it.
Do you use the ClickOnce installer for deploying the add-in?
Did you have a chance to check out the windows registry for the add-in?  See
Registry Entries for Application-Level Add-Ins for more information.
You can read about the required steps for deploying Outlook add-ins in the
Deploying an Office Solution section in MSDN. Pay special attention to the
Deploying an Office Solution by Using ClickOnce article.
Is your add-in listed in the Disabled Items list in Outlook?
Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in, the application might have hard disabled or soft disabled your add-in. 
Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the
Startup event handler in your add-in is executing. 
Soft disabling can occur when an add-in produces an error that does not cause the application to unexpectedly close. For example, an application might soft disable an add-in if it throws an unhandled exception while the
Startup event handler is executing. 
When you re-enable a soft-disabled add-in, the application immediately attempts to load the add-in. If the problem that initially caused the application to soft disable the add-in has not been fixed, the application will soft disable the add-in again.
You can read more about this in the
How to: Re-enable an Add-in That Has Been Disabled article in MSDN.

Similar Messages

  • Enterprise Voice and Lync Meeting Outlook Add-In, Dial in Numbers

    I ran across something that I was unaware of and wanted to double check here. 
    Background:  I am running a two pool Lync 2013 Enterprise Deployment with an OCS pool being phased out.  All users are migrated to Lync backend using the OCS client but our conferencing numbers still exist on the OCS deployment.
    As man know, when you upgrade to the Lync client, it removes the Outlook add-in for conferencing and places a single button for scheduling conference calls and meetings.  Ideally, depending on the pool the user is on, the information that is populated
    in the meeting request comes from the pool they are assigned to. 
    I have found that without enabling Enterprise Voice and setting the voice policy to Automatic, Outlook will still use the OCS numbers in the meeting request.  Once I enable EV for a user and set the VP to Auto, they receive the correct numbers based
    on pool registrar. 
    I am still currently searching but what I would like is confirmation that I do need to enable Enterprise Voice with Voice Policy set to automatic to have Outlook obtain the correct numbers for the pool any user is registered to.

    I don’t believe the enable Enterprise Voice and assigning a dial plan can change the behavior of the Outlook add-in.
    The process is like this:
    The conference organizer uses Microsoft® Outlook® to schedule a conference, and then Outlook communicates with Microsoft Lync Server 2010 by using an Outlook add-in that is included as part of the Microsoft® Lync™ 2010 installation. Outlook
    uses the information supplied by the server to create a new invitation, which includes a conference URL for attendees who are joining the conference by using one of the supported Lync clients, and telephone numbers and a conference ID for attendees who are
    joining by phone. 
    When you mentioned OCS numbers, did you refer to Lync dial-in access number or conference ID?
    Lisa Zheng
    TechNet Community Support

  • Cutom Outlook Add-in is conflicting with SalesForce's Outlook add-in

    Hello,
    We've developed one custom MS outlook add-in and installed it for Microsoft Outlook 2013.
    It is failing with some of the functionalities where SalesForce's Outlook add-in is deployed and activated.
    As soon as user deactivates it, our custom add-in runs as expected.
    Technical details:
    In our custom outlook add-in, we've attached an event handler with MailItem's SENT folder's ItemAdded event. 
    The code of this event gets triggered and do the job only when user disables the SalesForce's Outlook add-in.
    Can anybody please advise how to get rid of this conflict? It's really urgent.
    Any help would be much appreciated.
    Thanks,
    Ankit
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    Hello Dmitry,
    Thank you for the response.
    I would like to explain the flow again -
    1. I have given a custom button in the ribbon - "Send"
    2. On click of that button, I add a custom property to my mail item object & call the .Send() method on it.
    3. Eventually, I get my "Application_ItemSend" event handler called where I check for the custom property on the mailItem & if found, I attach the "ItemAdd" handler as
    below -
    //Attach the Event Handler.
    mailItemSendFolder = mailItem.SaveSentMessageFolder;
    mailItemSendFolder.Items.ItemAdd += SentItems_ItemAdd;
    4. In ideal situation, my "SentItems_ItemAdd" is getting called. But on machine where we have this salesforce add-in enabled/active, this event handler is not getting called &
    hence, my functionality is not getting executed.
    Hope, I have made the implementation more clear.
    Request you to please feel free to come up with any additional queries (if any).
    Thanks.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

  • Cannot send email from Outlook 2010 without disabling iCloud Outlook Add-in

    I have seen a few discussions on this but no answers. I have bought a new PC. Installed Outlook 2010 and iCloud latest version 3. All seems to work fine but emails go into the Outbox and dont get any further. If I remove the iCloud Outlook Add-in then I can send my emails but of course now cannot see my contacts nor my calendar! So it's one or the other and I'm currently going backwards and forwards between each. I have uninstalled and gone back to an earlier version 2 of iCloud with no success, same problem. I have uninstalled that and now reinstalled version 3. The problem remains. Can you advise on how to solve this please?

    Then it has nothing to do with iCloud, contact Bell and if they can't help, Microsoft

  • Object Reference Not Set To An Instance Of An Object - Outlook Add-In - Add-In Express

    Hi,
    My Add-In has been developed in VS2010 using the Add-In Express pack.
    Its a very simple add-in that shows an IT support ticket email detailing PC information. To use it, following installing the add-in, the user must select the tab in outlook and click on the Send IT Support Email button which will generate an Outlook Email
    Template with specific information about the PC that I pull using VB.
    It works fine in Windows 7 & 8, but throws an 'Object Reference Not Set To An Instance Of An Object' exception in Windows XP. Screenshot is shown below:
    The code is below
    Imports System.Runtime.InteropServices
    Imports System.ComponentModel
    Imports System.Drawing
    Imports System.Windows.Forms
    Imports AddinExpress.MSO
    Imports System.Object
    Imports System.Net
    Imports System.Environment
    Imports System.Net.NetworkInformation
    Imports System.Windows.Forms.Application
    Imports Microsoft.Office.Interop.Outlook
    Imports outlook = Microsoft.Office.Interop.Outlook
    'Add-in Express Add-in Module
    <GuidAttribute("735B7BC8-DD2F-44D8-BC37-30D86769C065"), ProgIdAttribute("$safeprojectname$.AddinModule")> _
    Public Class AddinModule
    Inherits AddinExpress.MSO.ADXAddinModule
    #Region " Add-in Express automatic code "
    'Required by Add-in Express - do not modify
    'the methods within this region
    Public Overrides Function GetContainer() As System.ComponentModel.IContainer
    If components Is Nothing Then
    components = New System.ComponentModel.Container
    End If
    GetContainer = components
    End Function
    <ComRegisterFunctionAttribute()> _
    Public Shared Sub AddinRegister(ByVal t As Type)
    AddinExpress.MSO.ADXAddinModule.ADXRegister(t)
    End Sub
    <ComUnregisterFunctionAttribute()> _
    Public Shared Sub AddinUnregister(ByVal t As Type)
    AddinExpress.MSO.ADXAddinModule.ADXUnregister(t)
    End Sub
    Public Overrides Sub UninstallControls()
    MyBase.UninstallControls()
    End Sub
    #End Region
    Public Shared Shadows ReadOnly Property CurrentInstance() As AddinModule
    Get
    Return CType(AddinExpress.MSO.ADXAddinModule.CurrentInstance, AddinModule)
    End Get
    End Property
    Private Sub AddInModule_AddInInitiatize(ByVal sender As Object, ByVal e As EventArgs) _
    Handles MyBase.AddinInitialize
    'Outlook 2010 = 14
    If Me.HostMajorVersion >= 14 Then
    AdxOlExplorerCommandBar1.UseForRibbon = False
    End If
    End Sub
    Public ReadOnly Property OutlookApp() As Outlook._Application
    Get
    Return CType(HostApplication, Outlook._Application)
    End Get
    End Property
    'Gets the MAC Address from the NIC Information
    Function getMacAddress()
    Dim nics() As NetworkInterface = _
    NetworkInterface.GetAllNetworkInterfaces
    Return nics(0).GetPhysicalAddress.ToString
    End Function
    Sub CreateTemplate()
    Dim sHostName As String
    Dim sDomain As String
    Dim sUserName As String
    Dim sOS As String
    Dim s64 As String
    Dim sMAC As String
    Dim host As String = System.Net.Dns.GetHostName()
    Dim LocalHostaddress As String = System.Net.Dns.GetHostEntry(host).AddressList(1).ToString()
    Dim MyItem As Outlook.MailItem
    'Finds the PC Number
    sHostName = Environ$("computername")
    'Finds the Domain
    sDomain = Environ$("userdomain")
    'Finds the Username logged into the PC
    sUserName = (Environment.UserDomainName & "\" & Environment.UserName)
    'Finds the Operating System
    sOS = (My.Computer.Info.OSFullName)
    'Shows the results collected from the getMacAddress Function in the sMac variable
    sMAC = getMacAddress()
    'Finds the Architecture of the Operating System - x86 or x64
    If (Environment.Is64BitOperatingSystem) Then
    s64 = ("64bit")
    Else
    s64 = ("32bit")
    End If
    'Creates a Template Email
    MyItem = OutlookApp.CreateItem(Outlook.OlItemType.olMailItem)
    'Configures the Sender as [email protected]
    MyItem.To = "[email protected]"
    'Shows the template
    MyItem.Display()
    'Shows all of the string in the Email Body
    MyItem.HTMLBody = String.Concat("<b><u>IT SUPPORT TICKET</u></b>", "<br/><br/>", "<tr><b>PC Number: </b></tr>", sDomain, "\", sHostName, "<b></b>", "<br/><br/>", "<b>Username: </b>", sUserName, "<b></b>", "<br/><br/>", "<b>OS Version: </b>", sOS, s64, "<b></b>", "<br/><br/>", "<b>IP Address: </b>", LocalHostaddress, "<b></b>", "<br/><br/>", "<b>MAC Address: </b>", sMAC, "<b></b>", "<br/><br/>", "<b>Comment:</b>", "<br/>", "<i>Please give a brief description of your problem attaching a screen shot if possible</i>", "<br/><br/>") & MyItem.HTMLBody
    End Sub
    Private Sub AdxRibbonButton1_OnClick(ByVal sender As Object, ByVal control As IRibbonControl, ByVal pressed As Boolean) Handles AdxRibbonButton1.OnClick
    'Runs CreateTemplate
    CreateTemplate()
    End Sub
    Private Sub AdxCommandBarButton1_Click(ByVal sender As Object) Handles AdxCommandBarButton1.Click
    'Runs CreateTemplate
    CreateTemplate()
    End Sub
    End Class
    I would appreciate any help with this whatsoever as I am pulling my hair out!!
    Many Thanks!!
    Chris

    Hi,
    Welcome to MSDN forum.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your Add-in is developed using Add-in Express which is third-party, I suggest consulting Add-in Express forum:
    http://www.add-in-express.com/forum/index.php for better support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Outlook Add-On in SAP Business One 8.8

    Hi Experts
    I recently Upgraded to SAP Business One 8.8
    I installed Outlook Add-On (I installed Outlook server, outlook .ard file and Outlook stanalone) when I start the add-on its is connected and it gives a message Initialization Failed.
    So I cannot see the  'create default templates' screen.
    But the strange thing is when i click syncronize in outlook it can syncronize all datas and it also creates snapshots for business patners.
    My question is how I can fix the error says initialization fails and how to send emails from SAP business one using Outlook.
    Thanks and regards
    Vinodh Kumar

    Hi Vinodh Kumar,
    What is your OI version?  I am afraid there is no 8.8 compatible version ready yet.
    Thanks,
    Gordon

  • Add-On Deployment Error 'System.NotSupportedException'

    Created setup files to install the Add-ons.
    I used the Professional Installer method using .Net2.0.
    I could successfully create the installer and created the ard file.
    Registered successfully in SAP B1.
    During the installation i am getting the following error
    "An unhandled exception('System.NotSupportedException') occured in
    B1AddOnInstallerSetupNet1.exe[2800].
    immediately Visual studio Just-In-time Debugger appears
    <a href="http://www.oaksystems.com.sg/B1installerror.bmp">Please click here to view the error i am getting</a>
    Any solution available?

    Thanks for your feedback.
    I will navigate you step by step.
    1) When I tried to create new VB B1 AddOnInstallerSetup.Net project using .net 2.0, The creation was unsuccessful; it is unable to create an empty Setup project.
    Don’t know why? The error I am getting is <a href="http://www.oaksystems.com.sg/sap/Error2.bmp">(pls click here to view)</a>
    But it successfully created <installer Name> and CustomerLibrary project,
    Leaving the Setup project. Like this
    <a href="http://www.oaksystems.com.sg/sap/Error3.bmp">(pls click here to view)</a>
    So I manually created the “Setup and Deployment project” and added to the solution.
    <a href="http://www.oaksystems.com.sg/sap/Error4.bmp">(pls click here to view)</a>
    Then followed the “TODO.txt” file instruction. Created the setup
    <Installer Name>.exe. Then created the .ard file using “AddOnRegDataGen.exe”.
    Registered in SAP and finally getting the 'System.NotSupportedException' during installation.
    This is how I am doing.
    2)As suggested by you I debug the installer, this is the error I am getting
    System.NotSupportedException was unhandled
      Message="The given path's format is not supported."
      Source="mscorlib"
      StackTrace:
           at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
           at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
           at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
           at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
           at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
           at Installer.SubMain.CopyInstallFilesToAddOnPath(String addOnPath)
           at Installer.SubMain.Main()
    3) Currently I am using “Simple Installer” method for Add-on deployment and manually copying all the necessary files like images and the screens designed using Screen painter. I would like to use the “Professional Installer” to avoid the manual copy files.
    Can you advice to overcome this?

  • Just got iPhone 5, get home and find iCloud Outlook Add-in does not install under Windows XP.  I am loathe to upgrade to Windows Vista/7/8 just yet.  Can I obtain and use an earlier version of iCloud Outlook Add-in?  My iPad II synchronizes!

    Just got iPhone 5, get home and find iCloud Outlook Add-in does not install under Windows XP.  I am loathe to upgrade to Windows Vista/7/8 just yet.  Can I obtain and use an earlier version of iCloud Outlook Add-in?  My iPad II synchronizes!

    There is no 'earlier' version that supports XP. iCloud launched with Vista/7 support only.

  • Installed Windows 8.1 and Outlook 2013 - have to use iCloud Outlook Add-in to sync my Iphone 5 with Outlook - reminders work on iPhone, but reminder window & email reminders don't work in Outlook 2013. Help

    Using windows 8.1 and outlook 2013 with iCloud Outlook Add-in so that my iPhone 5 will sync with outlook. Now reminders work on iPhone 5, but don't work in outlook 2013. Help, I've tried everything I can think of or found on the internet.

    Hi,
    Please follow the steps below to make sure the reminders have been enabled in Outlook:
    On the File tab, click Options.
    Select Advanced in the Outlook Options dialog box.
    In the Reminders section, select Show reminders.
    Click OK.
    I also found a similar thread here:
    http://social.technet.microsoft.com/Forums/windows/en-US/70bbd99e-6c1b-4a56-b1eb-f1812f96ed56/outlook-2010-reminders-not-appearing-in-outlook-but-appearing-on-iphone
    As mentioned in the thread, you can try these steps:
    Use MFCMAPI to delete the Reminders Folder, then run "outlook.exe /resetfolders" to recreate this folder:
    Download MFCMAPI:http://mfcmapi.codeplex.com/releases/view/118446
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    If the problem persists, try to recreate the user’s profile of the Outlook to check this issue:
    http://support.microsoft.com/kb/829918/en-us
    Regards,
    Melon Chen
    TechNet Community Support

  • MIssing functionality outlook add-on: choosing a partner for an appointment

    Hi,
    Excuse me for my bad english.
    in outlook add-on when we link Business partner to activity, its impossible to access quickly to the partner. My customer has a lot of partners (300+), it's very long to choose a partner in the list (we just can slide down and up the list).
    Version:
    SAP Business One 2007 A
    Description of requirements:
    search capabilities in the box for linking business partners in Outlook Add-on.
    Valid as of: January 6th, 2009
    Business needs:
    sales representatives which have a lot of meetings and rdv to fulfill, can not use SAp Bo via outlook. The time to select the business partners is very long and they lost productivity.
    Current Workaround:
    We have no solution now to solve it
    Proposed solution:
    SAP improve the Outlook Integration functionality by adding search capabilities in the box "select a partner" like it is in SAP BO.
    Thanks.

    Hi,
    Same problem exists in TP4 as well. And section in documentation for this topic is wrong (Figure 29-34 and Section 29.5.1.2). Figures in Section 29.5.1.2 are for Individual Pages, but not for ADF Task Flows.
    Regards,
    Andrejus

  • TS3999 I am unable to load iCloud Outlook add-in into Outlook 10 on a Vista PC

    I am unable to load the "iCloud Outlook Add-In" into Outlook 10 on a Vista PC.  I periodicall get a note that the add-in will cause Outlook to crash.  There is however an add-in loaded that is "iTunes Outlook Add-In".  When I first installed iCloud everything updated just fine but as I have add contact and calendar items to either the ios device or the PC nothing has updated.  Can someone help me get my iCloud working?

    Hey rjgravely!
    Here is an article that will help you accomplish this stated goal:
    iCloud: Set up iCloud Mail on your devices
    http://support.apple.com/kb/ph2621
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Outlook Add-in for Adobe Connect ( win 7 64 bit )

    Is there an Outlook add-in for Win 7 32 bit users that works with Adobe Connect 8 ?

    Yes, the Outlook add-in for 32 bit Outlook for 64 bit Windows 7 is in internal beta testing for release very soon. Hopefully by the time Adobe Connect 8.2 is released soon.

  • HT4759 What is the latest version of iCloud outlook add-inn?

    I'm allways is receiving this message:
    Do Apple has a new version for iCloud outlook add-in?
    My actual version is 2.1.1

    http://www.mozilla.org/en-US/firefox/8.0.1/releasenotes/
    Only the Mac users will get the idle/manual update from 8.0 to 8.0.1 patch. For Mac users it is to fix a crash issue due to Java Java SE 6 version 1.6.0_29.
    Windows users do not benefit from having 8.0.1 unless they use a older version of Roboform and cannot or will not update Roboform to version 7.62 or newer. However if Windows users are getting Firefox crashes upon startup then it may be worthwhile to download Firefox 8.0.1 and install it.
    The 8.0.1 is pretty much the 8.0 release for Linux users however if they are using 4.0 to 7.0.1 release and check for updates now then the 8.0.1 will be served (same with Windows and Mac users using older).
    It is much easier to just serve 8.0.1 at mozilla.com for all users much like they did with 5.0.1 even though was meant for Mac 10.5 and 10.7 users in mind and pretty much was the 5.0 release for Windows and Linux users then.

  • How do I get my money back? Adobe Send feature set not even close to Send Now. No password protected download link option, poor contact management, no branded sending, no Outlook add-in / support. Wow. Talk about killing an excellent product.

    How do I get my money back? Adobe Send feature set not even close to Send Now. No password protected download link option, poor contact management, no branded sending, no Outlook add-in / support. Wow. Talk about killing an excellent product.

    Poor Contact Management? I see no contact management lol.
    What a fiasco!
    Pay Doyle

  • ITunes outlook add-in let outlook in taskmanager

    When I close outlook, the outlook-process is still in the taskmanager. When i disable the itunes outlook-add-in, outlook will close correctly. Where is the problemm with the outlook-add-in or what have i to change that outlook will close complte. I'm using outlook 2003, windows 7 and iTunes 9.1.0.79.
    Michael

    Thank you so much for your response. I will go through the instructions in the article. As a followup, however, I am using the most current version of itunes, so I don't know why I can't see the newest addin (outlookitunessync... or whatever it is). I uninstalled itunes and quicktime and reinstalled, but it didn't appear in my Trust Center. I followed the directions at the top of the discussion forum for problems with outlook, uninstalled itunes, apple mobile support, and apple updater, deleted my itunes folder and emptied the trash, rebooted, downloaded a fresh itunes from top to bottom. I still don't see the sync addin. I'm interested in the article you sent because I do have some blocked startup programs. Always do, and just ignore them. So, maybe tomorrow I'll use the info you sent me and give that a try.
    I really appreciate you taking the time to help! I'll followup with the result afterwards.

Maybe you are looking for

  • BAPI_ACC_INVOICE_RECEIPT_POST Question

    Hi Guys, We are using BAPI_ACC_INVOICE_RECEIPT_POST to post vendor invoices. The invoices are getting posted correctly but the payment proposal is unable to pick up these invoices for some reason. When we manually post invoices using FB60 they get pi

  • Keeps showing 'No Wifi' next to the wifi option in settings?

    How do I fix it? It's each time, it wont even give me an option of clicking on it.

  • Crystal Report Database connection problem in CMC

    Dear All, We are using Business Objects XI 3.1, Crystal Report 2008 SP1 for report development. Crystal reports are generated using SAP BW Query. Where in, once you have published Crystal report to Enterprise server and open the same using Infoview i

  • Record rejected using SQL*Loader

    I'm not too sure why I'm getting the following error message: Record 1: Rejected - Error on table LOAD_DATA, column CLIENT_NUMBER. ORA-01401: inserted value too large for column Here is my info: Table def: SQL> describe load_data Name Null? Type CLIE

  • Using precompiled JSPs on Sun ONE 6.1 SP5

    I"m using precompiled JSPs on Sun ONE 6.1 SP5. I have created a virtual server which has one web application deployed as the default web application located at <server-instance>/webapps/myapp. So in the server.xml it appears as : <webapp uri="/" path