Hi
I should wish this article to be of use to you for the solution of the problem
- Click Start, click Run, and then type DCOMCNFG.
- Click Component Services. Select DCOM Config on My computer.
- Set the Default Impersonation Level to Identify (Impersonate also works).
- Set the SecurityProperties of Your DLL. Assign the Launch and Activation Permissions, AccessPermissions to the ASP.NET running Identity
- Save your setting and try your code again.
http://support.microsoft.com/kb/257757/en-us
However, Microsoft does not recommend or support server-side Automation.
Best Regards
XiaoYong Dai
Microsoft Online Community Support
Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.