Click here to Skip to main content
15,902,112 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I am facing problem of COMException (0x800a1066): Command failed
My application is uses: ASP.NET 2.0, MS WORD 2003 and OS IS Windows Server 2003(i have already added Network service account and given full control).My application doing download word document it working fine in my development evnironment.But if i am deploying/publishing(in same computer)it throws error.

Stack Trace:

[COMException (0x800a1066): Command failed]
UDIS.order.btnOrderTransForm_Click(Object sender, EventArgs e) +3649
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

Please can someone advise why one will get this error?
Updated 10-Aug-10 4:23am

1 solution

If it's the same computer, then it's a permissions issue, I would expect. Is the ASPNET user allowed to perform the operations you're trying to perform ? Do they occur under the application root, or above it ?
Share this answer
ravizen 10-Aug-10 2:50am    
Actually i am using windows server 2003 so here i have already added Network service and given full control.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900