PC Review


Reply
Thread Tools Rate Thread

DCOM Configuration: "The operation completed successfully"

 
 
Nate
Guest
Posts: n/a
 
      23rd Oct 2008
(Apologies if this has been covered before)

I have several scripts that automate the creation of Excel workbooks,
that are kicked off by the SQL Server Agent. Up until today,
everything ran as expected. However, today, the scripts were failing
silently. I went to check the DCOM permissions (dcomcnfg), but when I
selected "Microsoft Excel Application" from the list and clicked the
Properties button, I got a message box saying "The operation completed
successfully", and an OK button - not the Properties tabs I was
expecting.

According to MS KB article 288367 (http://support.microsoft.com/kb/
288367), "How to configure Office applications to run under a specific
user account", the following registry key should exist:

Key: HKEY_CLASSES_ROOT\AppID\EXCEL.EXE
AppID: {00020812-0000-0000-C000-000000000046}

I mis-read this, and thought it meant to create the registry key:

HKEY_CLASSES_ROOT\AppID\{00020812-0000-0000-C000-000000000046}

which I did, and that was the solution, my scripts started working
again! I tried deleting my 'incorrect' key: scripts stop working.
Tried putting in the 'correct' MS key: scripts not working. Put in
the 'incorrect' key again: scripts work ok!

So really, I'm posting this (a) because it might help someone in the
future, and (b) to ask if anyone has any ideas WHY this problem might
have occurred, and why the MS suggestion doesn't work, but my mis-
reading of it does!

(Normally, I expect problems after an MS update, but that wasn't the
case here, so I'm even more intrigued than normal...!)


Regards,


Nate

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Spelling Operation Could Not be Completed" Error Message (in Outl =?Utf-8?B?TWlrZSBWZW50dXJh?= Microsoft Word Document Management 2 20th Nov 2007 04:11 PM
Solution for the "Unable to install printer" "Operation could not be completed" problem. Kevin Cotreau Windows XP Print / Fax 0 26th Jul 2007 07:05 PM
"Printer settings could not be Saved. Operation not Completed." =?Utf-8?B?TWVnYVdhdHQ=?= Windows XP Print / Fax 1 16th Mar 2006 11:30 AM
rules disabled on startup with "the operation could not be completed" error nooneinparticular314159@yahoo.com Microsoft Outlook 0 25th Jan 2005 02:42 PM
"Test page failed to print...Operation could not be completed." Alexander Windows XP Print / Fax 0 12th Nov 2003 08:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:10 AM.