PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Interoperability Oulook Addin in C# / VS2003 Crashes before Getting to IDTExtensibility2 interface

Reply

Oulook Addin in C# / VS2003 Crashes before Getting to IDTExtensibility2 interface

 
Thread Tools Rate Thread
Old 12-08-2006, 04:32 PM   #1
TCook
Guest
 
Posts: n/a
Default Oulook Addin in C# / VS2003 Crashes before Getting to IDTExtensibility2 interface


Hey All,

I have a C# / VS2003 Outlook Addin that used to run fine. I now have both
the 1.1 and 2.0 Frameworks installed on my machine. In a file located in
the Outlook.exe folder, I have a file named "Outlook.exe.config" with the
following in it:

<configuration>
<startup>
<supportedRuntime version"v1.1.4322" safemode"true"/>
<supportedRuntime version"v1.0.3705" safemode"true"/>
</startup>
</configuration>

I have also tried running it without the safemode attribute.

When trying to debug by running in VS, Outlook crashes before it even hits
any breakpoints in the IDTExtensibility2 interface. I am at a loss as to
why it keeps crashing.

Any ideas?

Thanks & Regards,

TC



  Reply With Quote
Old 13-08-2006, 12:59 AM   #2
TCook
Guest
 
Posts: n/a
Default Re: Oulook Addin in C# / VS2003 Crashes before Getting to IDTExtensibility2 interface

Some more info...

I have a VS2005 Outlook plugin that runs fine. What's more is that whether
the .config file below is in the Outlook.exe directory or not seems to make
no difference. By same token, the VS2003 application failes.

What's more is that if I run Outlook, it will load the compiled .dll & it
will work. It's only when trying to run the solution inside of VS2003 that
I encounter the issue.

My guess is that the VS2005 / Outlook.exe is not picking up the .config in
the .exe directory.

Anyone with thoughts?



"TCook" <getmyemails2@yahoo.com> wrote in message
news:uIj3NSivGHA.4876@TK2MSFTNGP04.phx.gbl...
> Hey All,
>
> I have a C# / VS2003 Outlook Addin that used to run fine. I now have both
> the 1.1 and 2.0 Frameworks installed on my machine. In a file located in
> the Outlook.exe folder, I have a file named "Outlook.exe.config" with the
> following in it:
>
> <configuration>
> <startup>
> <supportedRuntime version"v1.1.4322" safemode"true"/>
> <supportedRuntime version"v1.0.3705" safemode"true"/>
> </startup>
> </configuration>
>
> I have also tried running it without the safemode attribute.
>
> When trying to debug by running in VS, Outlook crashes before it even hits
> any breakpoints in the IDTExtensibility2 interface. I am at a loss as to
> why it keeps crashing.
>
> Any ideas?
>
> Thanks & Regards,
>
> TC
>
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off