Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

VS2012 Crystal Reports failed to save report to .pdf file

$
0
0

I have a good running command-line application running on WindowsXP Professional (32bit) desktop and VS2005. I just installed the newest version of Crystal Reports for Visual Studio 2012 (64bit) onto my Windows 7 (64bit) desktop. I compiled application without errors. When I try to run the command-line application it runs without any errors until the following statements below:

The first statement works. It fails on the second statement. I am changing the icon that is shown in my report at runtime. I am getting the following error message: Remember that this is the same code that has been running for more than 5 years in production on Windows Server 2003.

 

{"Logon failed. Error in File temp_088a74bd-50b8-4283-973b-171161581fc7 {83D78E84-4EDF-4828-9567-5D0F57870FA5}.rpt:

Unable to connect: incorrect log on parameters."} System.Exception

 

 

crSubreportTemplateHeadingDocument = Report.OpenSubreport("SubReportTemplateHeading.rpt")


crSubreportTemplateHeadingDocument.DataDefinition.FormulaFields.Item("CorporateLogo").Text = "'"& filesLogoDirectory & "CorporateLogo.jpg"& "'"


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>