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.
Similar threads
Thread starter Title Forum Replies Date
Diane Poremsky Always Load an Outlook Addin New Slipstick.com Articles 1
S COM Addin Failed to load in Outlook 2003 Outlook VBA and Custom Forms 1
W My VSTO 3.0 Outlook addin doesn’t load Outlook VBA and Custom Forms 1
Gary Hile Icloud addin for outlook 2016 Using Outlook 5
P outlook addin unloaded in office 2007 Using Outlook 0
oliv- How to Run a Script IN AN ADDIN with Outlook's Rules and Alerts Outlook VBA and Custom Forms 2
D Constant Dropbox Outlook Addin Authentication Prompts Using Outlook 5
C Outlook 2010, Need to restrict domain users from installing any sort of a addin in outlook Using Outlook 2
M Icloud Addin in Outlook 2013 Exchange Server Administration 9
H Outlook 2010 Antispam Addin Not Available Using Outlook 1
C Connecting to an addin in Outlook 2010 (or not) Outlook VBA and Custom Forms 1
T Regarding Outlook addin Outlook VBA and Custom Forms 1
N Drag and drop attachment in outlook addin Outlook VBA and Custom Forms 4
S Outlook addin formregion as a drop down Outlook VBA and Custom Forms 6
K Attach addin to outlook 2007 editor Outlook VBA and Custom Forms 3
T need help w/ sending an e-mail -- outlook 2007 addin Outlook VBA and Custom Forms 2
N VSTO outlook 2007 addin installation problem Outlook VBA and Custom Forms 1
N Support for outlook 2003 addin in xp home sp2 Outlook VBA and Custom Forms 3
R Hi, Ken, What should be noticed to avoid memory leak in outlook addin? Outlook VBA and Custom Forms 3
T Simple MAPI send and Outlook COM addin Outlook VBA and Custom Forms 3
U Outlook Addin Creation using Visual Studio 2008 Outlook VBA and Custom Forms 1
E Opening WinForm in Outlook 2003 VSTO Addin with Wordmail enabled Outlook VBA and Custom Forms 1
D Outlook 2007 AddIn: Rendering issue Outlook VBA and Custom Forms 1
D Outlook 2007 AddIn: Filter attachments by type Outlook VBA and Custom Forms 2
D.Moore VB script to Digitaly Sign newly created outlook message Outlook VBA and Custom Forms 2
B Outlook 2016 Retail C2R keeps logging since update? Using Outlook 0
M outlook 365 trying to finish my sentences Using Outlook 0
D Outlook Address Book Using Outlook 0
B Emails get stuck in Outbox of Gmail IMAP in Outlook for Windows Using Outlook 0
C Not sync folders not found after MS Outlook 365 update Using Outlook 1
V Outlook 2016 Does Outlook-2016 (64 bit) work with iCloud for Windows ? Using Outlook 4
R Microsoft Outlook 2016 - Gmail not sending, asks for password for SMTP, tried different ports Using Outlook 23
V Outlook 2016 Outlook-2016 and iCloud for Windows - Problems Using Outlook 2
O VBA Outlook Message Attachment - Array Index Out of Bounds Outlook VBA and Custom Forms 0
K Imap PC Outlook + Android phone Using Outlook 1
GregS Outlook 2016 Move Outlook to new computer? Using Outlook 4
I Outlook 2003 shows html code when To: field is empty Using Outlook 7
O The Outlook API wrongfully shows an outlook folder to have zero sub-folders Outlook VBA and Custom Forms 1
O The Outlook API wrongfully shows an outlook folder to have zero sub-folders Outlook VBA and Custom Forms 2
C All Gmails don't show in Outlook 2019 Using Outlook 3
D Outlook 2007 vs. Outlook 2010 -- ToDo Bar Using Outlook 0
U Outlook 2016 Outlook 2016 sender name Using Outlook 1
T Compuserve, Yahoo, Oath2 and Outlook 2013 Using Outlook 4
E Work uses live accounts for emails for all employees. Can we use the outlook calendar to give the employees an universal work schedule calendar? Using Outlook 1
witzker Macro to move @domain.xx of a Spammail to Blacklist in Outlook 2019 Outlook VBA and Custom Forms 5
D Outlook 2007 on 365 Using Outlook.com accounts in Outlook 2
S Macro for other actions - Outlook 2007 Outlook VBA and Custom Forms 23
P outlook 2008 search box criteria couldn't be saved Using Outlook 2
pcunite Outlook 2019/O365 Build 13127.20408 errors when using MAPI calls Using Outlook 1
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 2

Similar threads

Top