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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploying .NET app with Crystal 10 report

Status
Not open for further replies.

cathiec

Programmer
Oct 21, 2003
139
IE
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top