BUG: "Value does not fall within the expected range." error after installing VSTO 3.0 MSI package

If you are getting “There was an error during installation. Value does not fall within the expected range.” error along with following exception: ************** Exception Text **************System.ArgumentException: Value does not fall within the expected range.at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn() and getting prompt as displayed below: Please make sure that, We are not using special character like…

5

SMTP event sink on Exchange Server 2003 is not firing and not working as expected.

If the SMTP event sink on Exchange Server 2003 is not firing and not working as expected. Please make sure that Event sink .vbs file is saved in ANSI Encoding not in UNICODE. Because Event sink file in UNICODE will break script parser and hence Event Sink would not work. How to save Event Sink…

1

HTML controls are not appearing properly in the email on Outlook 2007

HTML controls are not appearing properly in the email on Outlook 2007. This behavior of Outlook2007 is by design. Here are link related to the issue. · Outlook 2007 uses only Word as the e-mail editorhttp://support.microsoft.com/?id=933793 · Microsoft Office Outlook 2007 e-mail editor white paperhttp://office.microsoft.com/en-us/outlook/HA102109301033.aspx · 2007 Office System Tool: Outlook HTML and CSS Validatorhttp://www.microsoft.com/downloads/details.aspx?familyid=0b764c08-0f86-431e-8bd5-ef0e9ce26a3a&displaylang=en…

0

How to Capture Outlook Custom Form’s Command Button Click event in COM Add-in using C#?

Use the following code snippets to wire an event in C# to capture the click event of the command button on the Outlook Custom Form. 1: /*NOTE: Following programming examples is for illustration only, without warranty either expressed or implied, 2: including, but not limited to, the implied warranties of merchantability and/or fitness for a…

0

How to send SMTP Mail via Port using CDOSYS with Basic Authentication

Here is a sample script to send SMTP mail via Port using CDOSYS with Basic Authentication.     1: ‘Sending SMTP Mail by Port 25 Using CDOSYS with Basic Authentication 2: ‘Refer the following article for sending mail with out using authentication : http://msdn.microsoft.com/en-us/library/ms992546(EXCHG.65).aspx 3: ‘IMP: Please update the TODO: marked line as per the…

0

Tips and Tricks for Troubleshooting Office Add-ins Part – 1

We can enable error logging and displaying of error message for the VSTO add-in by setting environment variables VSTO_SUPPRESSDISPLAYALERTS and VSTO_LOGALERTS. To display each error in a message box, set the VSTO_SUPPRESSDISPLAYALERTS variable to 0 (zero). You can suppress the messages by setting the variable to 1 (one). To write the errors to a log…

2