Outlook AddIn can't load outside Visual Studio

Status
Not open for further replies.
D

dxider

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!!!
 
K

Ken Slovak - [MVP - Outlook]

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

"dxider" <dsider@hotmail.com> 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!!!
 
Status
Not open for further replies.
Top