Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing interop service

Status
Not open for further replies.

russellmunday

Technical User
Jul 24, 2003
87
GB
Hi this is the first application i have written so i am very new to the whole webserver bit.
the application works for the most part but gives the following error when the application calls excel.

Server Error in '/' Application.
________________________________________
Login failed for user 'WEBORDER\IWAM_WEBSVR1'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Login failed for user 'WEBORDER\IWAM_WEBSVR1'.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[COMException (0x80040e4d): Login failed for user 'WEBORDER\IWAM_WEBSVR1'.]
ADODB.ConnectionClass.Open(String ConnectionString, String UserID, String Password, Int32 Options) +0
gratte.confirm.xls() +72
gratte.confirm.ordercmd_Click(Object sender, EventArgs e) +127
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277

________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
I have tried to configure dcom but i seem to get this error no matter what.
where am i going wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top