in my application i am open a word document and work on document events. like Documentbeforeprint,documentbeforesave .. etc. All are working fine in devolopment server(prot :1926...) . but i am run my web application in ISS word document is open but in documentbeforeprint event handler Word.document Doc throws an error.
error is:
Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation.
exception is:
System.Runtime.InteropServices.COMException was unhandled by user code Message="Exception from HRESULT: 0x80040200" Source="mscorlib" ErrorCode=-2147220992 StackTrace: at System.Runtime.InteropServices.UCOMIConnectionPoint.Advise(Object pUnkSink, Int32& pdwCookie) at WordAppEvents4.WordAppEventHelper.SetupConnection(Application oWordApp) in F:\Working\web1\web1\WordEventHelper.cs:line 174 at web1._Default.Zeta_Click(Object sender, EventArgs e) in F:\Working\web1\web1\Default.aspx.cs:line 37 at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
please give solution
cheers
Malyadri.