I have created a report using the Crystal Application and I have saved this report on the C:\ in a folder called reports.
I then have a link button in my .NET application that exports this rpt to pdf and then opens the pdf in the browser window.
Dim rptOrders As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptOrders.FileName = "C:\reports\Report.rpt"
rptOrders.ExportToDisk(ExportFormatType.PortableDocFormat, "C:\Reports\" + Session.SessionID.ToString() + "Report.pdf")
Response.Redirect("C:\reports\" + Session.SessionID.ToString() + "Report.pdf")
This all works perfectly well on my development machine but when i go to my client sites and install the application on their webserver then I cannot access the crystal report in pdf.
i am getting the error Logon failed for user.....Unable to connect: incorrect log on parameters.
I have been reading about merge modules and server install package and I think that this might be my problem on the clients webserver. I would really appreciate it if you could point me in the right direction.
Also, should i reference the crystal dlls in my web config? and if so which versions?
Thanks and Regards,
Cathie
I then have a link button in my .NET application that exports this rpt to pdf and then opens the pdf in the browser window.
Dim rptOrders As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptOrders.FileName = "C:\reports\Report.rpt"
rptOrders.ExportToDisk(ExportFormatType.PortableDocFormat, "C:\Reports\" + Session.SessionID.ToString() + "Report.pdf")
Response.Redirect("C:\reports\" + Session.SessionID.ToString() + "Report.pdf")
This all works perfectly well on my development machine but when i go to my client sites and install the application on their webserver then I cannot access the crystal report in pdf.
i am getting the error Logon failed for user.....Unable to connect: incorrect log on parameters.
I have been reading about merge modules and server install package and I think that this might be my problem on the clients webserver. I would really appreciate it if you could point me in the right direction.
Also, should i reference the crystal dlls in my web config? and if so which versions?
Thanks and Regards,
Cathie