A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

C#.NET Outlook add-in and Visual Studio 2005



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 23rd 06, 10:56 PM posted to microsoft.public.outlook.program_addins
Michael
external usenet poster
 
Posts: 8
Default C#.NET Outlook add-in and Visual Studio 2005

I have written an Outlook add-in using C#.NET using the Outlook XP PIA's.
The add-in puts a toolbar with buttons on the Explorer and most Inspector
windows, amongst other things.

When this add-in is loaded on a machine with Visual Studio 2005 installed on
it, users experience problems in Outlook that do not appear to be related to
the add-in directly. For instance, if they start a new email message and
click the "To..." button, they get the error "The messaging interface has
returned an unknown error. If the problem persists, restart Outlook.". When
they try to open a recurring calendar appointment, they get the error "Can't
open this item. The operation failed".

If the add-in is nor loaded, Outlook behaves normally. Also, if you
uninstalled the SQL Server 2005 that was installed with Visual Studio 2005,
Outlook seems to behave normally.

I would not like to tell my users that they have to uninstall SQL Server
2005, so I am hoping to find an explanation that is more specific than this
and hopefully a better workaround. Any help is appreciated. Thanks in
advance.

Michael


Ads
  #2  
Old November 2nd 06, 03:46 PM posted to microsoft.public.outlook.program_addins
Michael
external usenet poster
 
Posts: 8
Default C#.NET Outlook add-in and Visual Studio 2005

Well, I isolated it to SQL Server. If you install SQL Server (I downloaded
SQL Server Express for this test), it conflicts with the add-in, so it has
nothing to do with Visual Studio itself. Any ideas anyone?

Michael

"Michael" wrote in message
...
I have written an Outlook add-in using C#.NET using the Outlook XP PIA's.
The add-in puts a toolbar with buttons on the Explorer and most Inspector
windows, amongst other things.

When this add-in is loaded on a machine with Visual Studio 2005 installed
on it, users experience problems in Outlook that do not appear to be
related to the add-in directly. For instance, if they start a new email
message and click the "To..." button, they get the error "The messaging
interface has returned an unknown error. If the problem persists, restart
Outlook.". When they try to open a recurring calendar appointment, they
get the error "Can't open this item. The operation failed".

If the add-in is nor loaded, Outlook behaves normally. Also, if you
uninstalled the SQL Server 2005 that was installed with Visual Studio
2005, Outlook seems to behave normally.

I would not like to tell my users that they have to uninstall SQL Server
2005, so I am hoping to find an explanation that is more specific than
this and hopefully a better workaround. Any help is appreciated. Thanks
in advance.

Michael



  #3  
Old November 2nd 06, 04:10 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default C#.NET Outlook add-in and Visual Studio 2005

I don't know, I have VS 2005 and SQL Server Express installed on a few
machines here with no problems with Outlook addins. Is your addin code
referencing SQL Server in any way?

I haven't tried any addins in a setup like that which use the Outlook 2002
PIA's however, my setups all have the Outlook 2003 and/or the Outlook 2007
PIA's installed.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael" wrote in message
...
Well, I isolated it to SQL Server. If you install SQL Server (I
downloaded SQL Server Express for this test), it conflicts with the
add-in, so it has nothing to do with Visual Studio itself. Any ideas
anyone?

Michael


  #4  
Old November 2nd 06, 05:41 PM posted to microsoft.public.outlook.program_addins
Michael
external usenet poster
 
Posts: 8
Default C#.NET Outlook add-in and Visual Studio 2005

No, my add-in code is not referencing SQL Server in any way.

What's strange is that the errors occur in operations where the add-in is
not even involved, such as pressing the To... button on a new message.
There is no visibility to this action from an add-in.

I also believe it's either related to the Office XP PIA's or perhaps
something related to the .NET Runtime that is changed when you install SQL
Server. The add-in runs fine on 100's of computers, unless SQL Server is
installed. It's hard to imagine that SQL Server would have any impact on
the Outlook API, so my thought was .NET, but I don't know what SQL Server
changes related to that either.

Are any of the add-in's running at your site built using .NET?

Michael

"Ken Slovak - [MVP - Outlook]" wrote in message
...
I don't know, I have VS 2005 and SQL Server Express installed on a few
machines here with no problems with Outlook addins. Is your addin code
referencing SQL Server in any way?

I haven't tried any addins in a setup like that which use the Outlook 2002
PIA's however, my setups all have the Outlook 2003 and/or the Outlook 2007
PIA's installed.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael" wrote in message
...
Well, I isolated it to SQL Server. If you install SQL Server (I
downloaded SQL Server Express for this test), it conflicts with the
add-in, so it has nothing to do with Visual Studio itself. Any ideas
anyone?

Michael




  #5  
Old November 2nd 06, 08:10 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default C#.NET Outlook add-in and Visual Studio 2005

Yes, I have a number of addins built with .NET running here but they're all
for Outlook 2003 or 2007 and don't use the 2002 PIA's. All were built with
either VS 2005 or VSTO Cypress.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael" wrote in message
...
No, my add-in code is not referencing SQL Server in any way.

What's strange is that the errors occur in operations where the add-in is
not even involved, such as pressing the To... button on a new message.
There is no visibility to this action from an add-in.

I also believe it's either related to the Office XP PIA's or perhaps
something related to the .NET Runtime that is changed when you install SQL
Server. The add-in runs fine on 100's of computers, unless SQL Server is
installed. It's hard to imagine that SQL Server would have any impact on
the Outlook API, so my thought was .NET, but I don't know what SQL Server
changes related to that either.

Are any of the add-in's running at your site built using .NET?

Michael


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Outlook COM add-ins in Visual Basic 2005 Express Edition Lucia Outlook and VBA 3 September 19th 06 07:31 PM
make panes draggable in outlook 2003 (like in visual studio) nobodyInParticular Outlook - General Queries 0 August 3rd 06 10:14 PM
how do i link MS access with Microsoft visual studio.NET? stone Outlook - Using Forms 1 June 21st 06 01:40 PM
ReportIcon in Visual Studio 2005 rfw68 Outlook - Using Forms 0 April 27th 06 06:39 PM
CommandbarComboBox-Event in COM Add-In (VB .net 2005) mcp_virtue Outlook and VBA 0 February 12th 06 10:00 PM


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.