Hi all,
Within my website I obtain a lot of data from SQL, this works fine and the gridviews display without any problem.
However one particular grid holds 'newsletter/correspondence' in multiple formats. Whenever I try to open one of these files I recieve the below error. I'm at a bit of a loss as it's the same user set up with the same priveledges.
Does anyone know what I've done incoorect?
Logon failure: unknown user name or bad password.
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.IO.IOException: Logon failure: unknown user name or bad password.
Source Error:
Code:
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.WriteFile("\\" + e.CommandArgument.ToString())
Response.AddHeader("Content-Disposition", String.Format("attachment; filename={0}", e.CommandArgument.ToString()))
Response.Flush()
Source File: C:\Inetpub\wwwroot\membArea\memberPages\correspond ence.aspx.
vb Line: 12