Advertisement

12.04.2007 at 01:11PM PST, ID: 23001426
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Outlook plugin does not load

Tags: outlook, 2003, plugin
Hi,

 I have VS with the latest updates with:

1. visual studio tools for office SE
2. visual studio tools for office SE runtime
3. VSTOR.exe
3. WinXP SP2
4. Office 2003

 I'm developing a 2003 add-in for Outlook and everything is working fine in my dev machine, I included SetSecurity.cs in my code and it works fine in my machine, however it never installs in other machines.

 tests were made on a XP SP2 machine with an Office2003 and .NET framework 2.0 installed, and I'm getting the error:

Not Loaded, a runtime error occurred during loading of the Com add-in

I've noticed that CAS is set as FullTrust on URL set to the correct installation folder with a wild card (*), under Machine Code group, however I tried to change the group to User but it did not work.

 Note that primary output for SetSecurity project is added to the setup project, and it is set as a custom action in install and uninstall.

 It happened once that it did not work in my dev machine, but when I added SetSecurity project it worked with no troubles, but the error was not the one mentioned above, it was something else that I could not remember!

 I could not find any post that really have the right cure for this, and i hope that someone got a solution for it!
Start your free trial to view this solution
Question Stats
Zone: Web Development
Question Asked By: creepy42
Solution Provided By: wizrr
Participating Experts: 1
Solution Grade: C
Views: 177
Translate:
Loading Advertisement...
12.05.2007 at 12:51AM PST, ID: 20409808

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.05.2007 at 09:22AM PST, ID: 20413197

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.05.2007 at 09:25AM PST, ID: 20413227

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.05.2007 at 01:17PM PST, ID: 20415146

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.06.2007 at 03:55AM PST, ID: 20418825

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.06.2007 at 09:47AM PST, ID: 20421540

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.06.2007 at 01:13PM PST, ID: 20423336

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.06.2007 at 01:16PM PST, ID: 20423366

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
12.06.2007 at 02:10PM PST, ID: 20423842

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
12.05.2007 at 12:51AM PST, ID: 20409808
I have no cure for this, and have not worked with VSTO, but i worked with plugins writen my own without vsto. Did you tried to install VSTO on that mashine by your own hands? Maybe some of native VSTO dll is missed? Is your plugin setup have VSTO as prerequisite?

I know - plugins must be registered in registry, but when using VSTO there must be special things to do. VSTO must act like loader for your plugin and there must be registry-key value for it (vsto must register self as plugin, and then it must load your plugin regarding of vsto plugin registering rules).

Also. Maybe you can find *.pdb files of VSTO and debug Outlook to know what happened?

Also. When i worked on my own plugin i was stack with issue. .NET 2.0 assemblies can't be loaded from Office 2003 unless you install this "office2003-kb907417sfxcab-ENU.exe", i don't remember where i downloaded that package, you must search it.

I hope this can help.

 
12.05.2007 at 09:22AM PST, ID: 20413197
Hi Wizrr,

 Thanks for the reply. I tried the following:
1. installed office2003-kb907417sfxcab-ENU.exe on the test machine
2. installed lockbackRegKey.msi on the test machine.
3. installed extensibilityMSM.msi on the test machine.
4. I tried to regasm.exe to register the pia on the test machine

Nothing worked tho. do you know any way to debug this error?

Thanks!
 
12.05.2007 at 09:25AM PST, ID: 20413227
Hi again,

forgot to mention that the test machine is Win Vista with all the updates on from windows updates.
one more thing, that is when I installed office2003-kb907417sfxcab-ENU.exe and installed the plug-in outlook ran and I could see that the plugin loaded but I cannot see it working, I tried to disable it and enable it again and it kepts saying plugin loaded as start up then I restarted outlook and I got the same old error again.

 I wish anyone can help me out!
 
12.05.2007 at 01:17PM PST, ID: 20415146
Hello again,

 

 I installed VSTO2005SE in the client machine, and I tried an outlook add-in created in a VSTO with SetSecurity primary output added as a custom action in the install and uninstall.

 

 I have tried

 

set VSTO_SUPPRESSDISPLAYALERTS=0

 

and runing outlook from the command, but there was no pop-ups or errors, but surprisingly, I found the Load behavior is Loaded at startup, and of course I got very happy, and I went looking for my add-in and I did not find it!!!

 

 I tried to restart, restart outlook and enable-disable the plug-in from the COM manager, and the status is still Loaded at startup but I cannot find my plug-in anywhere, I right-clicked on the command bar area and I did not find my command bar either, however I could get it to run perfectly on my dev machine!

 

 

 Please help!

 

 

Joe

 
12.06.2007 at 03:55AM PST, ID: 20418825
Hi. I mentioned that i never developed using VSTO. Maybe you should look to system event log to know what happens. Also are you shure your plugin is registered normally?

http://msdn2.microsoft.com/en-us/library/bb332052.aspx - this is tutorial how to deploy your plugin and vsto prerequisites, i suppose you have read this already. That all i can do for you, i have no experience with VSTO, you should wait maybe another expert know something about issues you have.

Also here an sample http://www.microsoft.com/downloads/details.aspx?familyid=6991e869-8d5b-45f4-91e7-b527bd236f4c&displaylang=en

And here http://msdn2.microsoft.com/en-us/library/aa537182(office.11).aspx
An2 important part http://msdn2.microsoft.com/en-us/library/aa537182(office.11).aspx#office_vstooutlookadd-inarchitecture_registryentries
Accepted Solution
 
12.06.2007 at 09:47AM PST, ID: 20421540
wizrr,

 Thank you very much for the effort, I followed the document http://msdn2.microsoft.com/en-us/library/bb332052.aspx and I got stuck where it says that:
// text from the web page
To add the prerequisites
In Solution Explorer, right-click OutlookAddinSetup, and then click Properties.
In the Property Pages dialog box, click Prerequisites.
In the list of prerequisites, select the following items:
Microsoft Office 2003 Primary Interop Assemblies
2007 Microsoft Office Primary Interop Assemblies
Microsoft Visual Studio 2005 Tools for Office SE Runtime
Select Microsoft Visual Studio 2005 Tools for Office Runtime Language Pack if any users run your solutions with nonEnglish settings for Windows. These users must have the Visual Studio 2005 Tools for Office Language Pack to see runtime messages in the same language as Windows.
// end of text

When I click prerequisits, I don't see the above items, however I'm so sure that they are installed in my machine. So I moved on without choosing items from the prereqs. and when I built the progect I took the whole Debug folder in the test machine and this time it showed me "Visual Studio 2005 tools for office SE runtime is not installed" and at the same time I made sure that vstor.exe is installed in that machine.

 What is going wrong? I really appreciate some help here! and thanks in advance!


Joe
 
12.06.2007 at 01:13PM PST, ID: 20423336
The problem was solved and I'm very sorry that it was very silly and not something that others could learn from! the problem is that I used a text writer only for testing purposes like:

private TextWriter tw = new TextWriter("c:\Development\events.txt");

And I forgot all about it, and when I try to deploy to a test machine I get a run time error because there is no such path in the other PCs!

Anyway, thanks for wizrr for his efforts in trying to help me out!

Joe
 
12.06.2007 at 01:16PM PST, ID: 20423366
Thank you). And good luck.
 
12.06.2007 at 02:10PM PST, ID: 20423842
Hm. And don't forget about logs. Always use logs. See NLog in google).
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628