Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / November 2004

Tip: Looking for answers? Try searching our database.

Outlook add-in registration failure

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ilan Krayn - 29 Nov 2004 23:35 GMT
Hello

We use Outlook 2003 with the latest service pack and patchs.

i have created a COM add-in for outlook. We use Regsvr32.exe to register the
DLL. When an administrator registers the DLL everything s going OK.

My users only have users right to thier machines. When a user registers the
add-in an error meesage shows:
DllRegisterServer in Outlook Toolbar.dll failed.
Return code was: 0x80004005

Any idea on why this is happening or what can I do to allow my users to
register the DLL?

Any comment will help.

Ilan Krayn
Heinz-Josef Bomanns - 30 Nov 2004 17:47 GMT
Hi Ilan,

>Any idea on why this is happening or what can I do to allow my users to
>register the DLL?

To register a COM AddIn it needs access to the registry sections
HKEY_CLASSES_ROOT and HKEY_LOCAL_MACHINE, more installation stuff of
the COM AddIn goes to HKEY_CURRENT_USER. If your users have restricted
accounts they can only access HKEY_CURRENT_USER with read/write
permissions and all others with only read permissions. Running
"regedt32.exe" you can give them write permissions to
HKEY_CLASSES_ROOT and HKEY_LOCAL_MACHINE, but that's dangerous 'cause
viruses and trojans and such will also have access to this sections.
It would be better to change their account for the time of
installation to admin/main user and afterwards switch them back to
restricted acounts or to logon as admin and register the COM AddIn...

Bis dann...
         ...Bomi

Signature

     Voice +49-4191-937373
       Fax +49-4191-937313

 
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.