Outlook demo - MyFirstOutlookAddin

Add-in Express™ Support Service
That's what is more important than anything else

Outlook demo - MyFirstOutlookAddin
 
Kamal Vaghjiani




Posts: 5
Joined: 2006-02-15
Development Platform - Microsoft Visual Studio .NET 2003
Outlook version - Office 2003 sp 2
Project - MyFirstOutlookAddin

Using Microsoft Visual Studio .NET 2003 I compiled the solution MyFirstOutlookAddin

I Launched Outlook and the add-in was not visible . When I manually try to register this via outlook options i.e tick the check box for this add-in I get the following Load Behaviour.

A run time eeror occured during the loading of the COM Add-in.

Also the clicking option page error is thrown -

MyFirstOptionPage error : the add-in has fired an excaption.Method 'System.Windows.Forms.Control+ActiveXImpl.GetClientSite' not found

Please can advise on how to get round this problem.

Kamal
Posted 15 Feb, 2006 10:18:21 Top
Sergey Grischenko


Add-in Express team


Posts: 7216
Joined: 2004-07-05
Hi Kamal.

As far as I see you have .NET Framework 2.0 installed on your PC. In this case you need to have the config file like shown below for all Office applications to control what version of .NET runtime libraries are loaded.


Outlook.exe.config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
</startup>
</configuration>
Posted 16 Feb, 2006 07:07:46 Top
Kamal Vaghjiani




Posts: 5
Joined: 2006-02-15
Sergey

Thanks for your reply.

I created the file you mentioned, and copied this file to the office11 folder containg outlook.exe. Unfortunatly this still hasn't resolved the
issue.

I may be doing something wrong I would be grateful if you can send me a the config file and tell me where this file is supposed to be or, if there is an alternative method of getting outlook to use framework 1.1

I also tested vs2005, I unistalled the vs2003 version and installed vs2005 version. Compiled the demo project.... and registered the add-in. This worked fine no problems....

When will you launch a version where both Add-in Express .NET 2003 and Add-in Express .NET 2005 can be installed on the same machine


regards

Kamal
Posted 17 Feb, 2006 04:18:26 Top
Sergey Grischenko


Add-in Express team


Posts: 7216
Joined: 2004-07-05
Hi Kamal.

I have just sent you an email.
Posted 17 Feb, 2006 07:03:48 Top