Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / August 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TCook - 12 Aug 2006 16:32 GMT
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
TCook - 13 Aug 2006 00:59 GMT
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?

> Hey All,
>
[quoted text clipped - 21 lines]
>
> TC

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.