COM Services

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,<br/>
I had developed an application to upload a document file i.e doc and docx it is working fine in my local system with OS XP but it is not working in production server with OS windows server 2003.
I installed Ms Office 2007 in Windows 2003 Server.
In my application in web.config file i set
impersoantion=true and username and password also given.
and i changed these settings , but it still not working.

<span style="font-family:Arial,Helvetica,sans-serif; line-height:16px 1. Go to the Start-Run menu to type in "dcomcnfg" and hit enter to load "Component Services" MMC.<br style="font-family:Arial,Helvetica,sans-serif; line-height:16px
<span style="font-family:Arial,Helvetica,sans-serif; line-height:16px 2. Select the "Microsoft Excel Application" item through "Component Services" MMC->Component Services->Computers->My Computer->DCOM Config->Microsoft Excel Application<br style="font-family:Arial,Helvetica,sans-serif; line-height:16px
<span style="font-family:Arial,Helvetica,sans-serif; line-height:16px 3. Right click and select Properties->Select Identity Tab->Select This user and add the Administrator accout and password<br style="font-family:Arial,Helvetica,sans-serif; line-height:16px
<span style="font-family:Arial,Helvetica,sans-serif; line-height:16px 4. Select Security Tab, Under "Launch and Activation Permissions", Choose "Customize", Click "Edit" button, Add the everyone account and add all the Permissions.<br style="font-family:Arial,Helvetica,sans-serif; line-height:16px
<span style="font-family:Arial,Helvetica,sans-serif; line-height:16px 5. Do the same thing in "Access Permissions" and "Configuration Permissions"

<br/>

i am getting this error:<br/>
<br/>
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a

please help me..

Thanks,


View the full article
 

Similar threads

A
Replies
0
Views
171
ANIL AYDINALP
A
D
Replies
0
Views
110
Donald Uko
D
J
Replies
0
Views
84
Jonathan Wood
J
Back
Top