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"& "'"