|
|
|
date: Thu, 25 Jun 2009 10:56:01 -0700,
group: microsoft.public.outlook.program_addins
back
Outlook AddIn can't load outside Visual Studio
Hi, I'm trying to deploy a Outlook AddIn into various computers.
The AddIn is programmed in C# using VS2008, it works when I run it inside
Visual Studio IDE, but when the project is installed via the Setup project,
Outlook won't load the AddIn, if I try to load it manually, Outlooks displays
an error indicating that the AddIn is not a valid Office Complement.
I even tried to load it from the project bin/release folder in the same
computer where is programmed, but Outlook cant load it, same error.
The project uses CDO to get some inaccesible properties, CDO is already
installed and works without problems when project is loaded from VS.
Can someone give me a clue to solve this problem?.
Thanks in advance.
--
Dream it, love it, CODE IT!!!
date: Thu, 25 Jun 2009 10:56:01 -0700
author: dxider
Re: Outlook AddIn can't load outside Visual Studio
Do not use CDO 1.21 with managed code, it's not supported and will break
just you when need it most. There are memory leaks and problems with memory
management and MS will not support that usage at all, and neither will we.
For deployment issues see
http://blogs.msdn.com/vsod/archive/2008/04/22/Troubleshooting-com-add-in-load-failures.aspx
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"dxider" wrote in message
news:BEB62DC6-1EAB-434C-89B5-6532210E6E21@microsoft.com...
> Hi, I'm trying to deploy a Outlook AddIn into various computers.
>
> The AddIn is programmed in C# using VS2008, it works when I run it inside
> Visual Studio IDE, but when the project is installed via the Setup
> project,
> Outlook won't load the AddIn, if I try to load it manually, Outlooks
> displays
> an error indicating that the AddIn is not a valid Office Complement.
>
> I even tried to load it from the project bin/release folder in the same
> computer where is programmed, but Outlook cant load it, same error.
>
> The project uses CDO to get some inaccesible properties, CDO is already
> installed and works without problems when project is loaded from VS.
>
> Can someone give me a clue to solve this problem?.
> Thanks in advance.
> --
> Dream it, love it, CODE IT!!!
date: Fri, 26 Jun 2009 09:18:37 -0400
author: Ken Slovak - [MVP - Outlook]
|
|