Outlook 2003 failed to load .NET Add-in

F

Fei Yuan

Hi Randy,

I'm still looking for solution to this problem. I've attempted in several
combinations but still couldn't find out the solution. Here's what I did:

1. I made an empty C# shared add-in (MS Visual Studio .NET 2003) for Outlook
that should load when Outlook (Outlook 2003 with Technical refresh) starts,
and available to all users. I install it on a client machine with
deployment setup files. It loads. (I placed MessageBox.Show as the first
line in OnConnection event)

2. Based on (1), I added the references from my project into this project
without calling them. Since I suspect that any of these might cause the
problem. I deploy it on a client machine. It still loads.

3. Based on (2), I added back my other project references without calling
them. It loads.

4. Based on (3), I put all the code back into this empty project but without
instantiating them. It failed to load after I deployed it.

5. I placed a breakpoint on OnConnect() event and launched the project from
Visual Studio .NET (by launching Outlook), it loads.

For every deployment, I always uninstall the previous version and the code
compiles and runs well once it is loaded by Outlook. As you see, being able
to deploy a piece of software as Outlook shared add-in is quite important to
me. It shouldn't be the case that a shared add-in is able to run if it only
contains simple stuff such as "Hello World".

I don't know if this problem has been addressed by your Outlook 2003
internal development team or not, but it is of critical importance to my
product development. Also, Outlook 2003 final release is going to be
launched next month. I'm crossing my fingers that this will get addressed.

Please let me know if you have any updates on this issue. Thanks


Regards,
- Fei -
 
R

Randy Byrne [MVP - Outlook]

What are the other project references that you add in step 3 below? Also,
can you provide your code that you add in step 4 as an example? I am also
assuming that steps 3 and 4 occur on a client machine (rather than a dev
machine) after you have rebuilt the setup project. Step 5 looks like it
occurs on your dev machine, correct?

--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top