cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I created my second Crystal Reports application and I am having issues getting it to work on a clients PC. Based on what I learned from my first application, I know that I needed to install the runtime on the clients PC, which I did. When I run the app, nothing happens. No exception is thrown or anything. I see the mouse wait cursor come up (the spinning windows cursor) for about 5 seconds and then nothing happens. The odd thing is that I am able to run the code from my PC just fine when I use the msi setup file I created. I have no idea where to look to figure this out... Any help would be appreciated.

Thanks,

Chris Kretman

0 Likes
View Entire Topic
Former Member
0 Likes

Hi Don,

I changed my app back to use any CPU and the error is now resolved. I believe it is because I am using an excel file, excel 8.0 datasource, as one of my tables in a subreport. If you see the screenshot it prompts me for logon information to the excel file, which requires none. I included a snippet of code and I don't know what to put for the logon information for an excel file that doesn't require any?

   'fill the subreport data tables
            For Each subrep As ReportDocument In rpt.Subreports
                For Each table As Table In subrep.Database.Tables
                    If table.Name <> "Sheet1_" Then
                        table.LogOnInfo.ConnectionInfo = ConnectionInfo
                        table.ApplyLogOnInfo(table.LogOnInfo)
                    Else




                        'What do i code here to connect to an excel datasource table that has no logon information?


                    End If
                Next
            Next