System.Runtime.InteropServices.COMException: Server request failed --> works in debug, but not from IIS
Posted on 2008-09-30
I am in the first stages of development/testing of a C# web-based app that uses third-part COM based files that make calls to the third-party server.
Test Environment includes:
XP Pro SP3
Visual Web Developer 2008
When run in debug, calls can be successfully sent/received to the third-party server via the browser. If the same page is referenced in IIS (from the same dev box) outside of the debug environment, the following error occurs when the app attempts to connect to the 3rd party server:
System.Runtime.InteropServices.COMException: Server request failed
The stack trace info includes:
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
I've tried registering the assembly, etc., without success.