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 / Visual Studio.NET / VS Tools for Office / March 2007

Tip: Looking for answers? Try searching our database.

VSTO install on terminal server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bon733 - 15 Jan 2007 03:17 GMT
We have created an Outlook 2003 add-in using VSTO along with all the security
requirements using the instructions on this site:
http://weblogs.asp.net/mnissen/articles/427504.aspx

We have tested the install on seperate XP Pro machines with no problems at
all. We also tried a Windows 2003 server not running WTS. We are now trying
to install it on a Windows 2003 terminal server and have had little success.
Most of the registry entries are insterted along with the program and the
pre-reqs (i.e. .NET 2.0, IAP, VSTO Runtime) . However the add-in does not get
added to the list of COM-Addins and it is not in the disabled list under help
and about. We have even set the project setup to install for all users.

Is there anything special about installation on a WTS environment (besides
the change user /install or through add remove programs)
Ken Slovak - [MVP - Outlook] - 15 Jan 2007 15:21 GMT
The registry entries for the addin have to be written to either HKCU or
HKLM. For HKCU you would have to write out those values for every different
Windows logon. Are your entries for the addin (LoadBehavior and so on) being
written out to the user computer/logon? If not that's the problem.

Signature

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

> We have created an Outlook 2003 add-in using VSTO along with all the
> security
[quoted text clipped - 15 lines]
> Is there anything special about installation on a WTS environment (besides
> the change user /install or through add remove programs)
John Belmer - 16 Mar 2007 13:01 GMT
We have exactly the same problem.

We have developed a VSTO 2005 add-in for Outlook 2003 which works perfects on our machines, but will not work on the Terminal Server (Windows 2003 Server) used by our client.

The strange thing is that we don't get a Com-error or something like that, but the Add-On just will not appear in the list with COM Add-Ons in their Outlook 2003 Client. Exactly like the original client.

We do the following to add our Add-In to Outlook.
1) Installed the Office 2003 Primary Interop Assemblies redistributable package.

2) Installed the VSTO 2005

3) Installed our plugin. This uses the installer created by VSTO for Visual Studio 2005.

4) Added the Runtime Security policies to .NET 2.0 for our signed DLL's. We give Full Rights to our signed DLL's on the Enterprise, Machine and User 'All Code Groups'.

5) For each user we add the registry keys in HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\OURPLUGIN

All software is installed using "control Panel/Add Remove programs" with admin rights because it's a terminal server.

We have also installed the Add-In on another machine within their organization (Also Running Windows 2003 Server) and there it's working without any problems. But that Server is not configured as a Terminal Server.

Is the solution for this problem already found, and could you please share the solution for this?

Regards,

John Belmer
Avance Information Management

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.