none
Crystal report not working on win 7 32bit PC RRS feed

  • General discussion

  • Hi all

    After installing my application at a client's PC, i couldn't be able to open the Crystal reports, the application crashes immediately without even catchin the error

    when i click on debug, i got the following msg

    Problem Event Name:    APPCRASH
      Application Name:    FinanceEasyApp.exe
      Application Version:    1.0.0.0
      Application Timestamp:    504f5eb2
      Fault Module Name:    KERNELBASE.dll
      Fault Module Version:    6.1.7600.16385
      Fault Module Timestamp:    4a5bdaae
      Exception Code:    e0434352
      Exception Offset:    00009617
      OS Version:    6.1.7600.2.0.0.256.1
      Locale ID:    16393

    again no specific error msg, the one window open for checking the solution on net or Debug the solution, where i got the following error

    Problem Event Name:    CLR20r3
      Problem Signature 01:    financeeasyapp.exe
      Problem Signature 02:    1.0.0.0
      Problem Signature 03:    504f5eb2
      Problem Signature 04:    mscorlib
      Problem Signature 05:    4.0.0.0
      Problem Signature 06:    4ba1da6f
      Problem Signature 07:    2463
      Problem Signature 08:    0
      Problem Signature 09:    System.IO.FileNotFoundException
      OS Version:    6.1.7600.2.0.0.256.1
      Locale ID:    16393
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

    Pl. helpme out to run the application properly on win7 32bit PC AMD processor

    Thanks

    Tuesday, September 11, 2012 4:43 PM

All replies

  • Was your application compiled for 32bit? It might have 64bit only binaries in it which would fail to load.

    You could try to use fushion logging to figure out the problem (as it seems to be related to not being able to load an assembly). Take the FUSLOGVW.exe from the .NET SDK (it should be enough to just take the exe) and run it on the client machine and turn on the logging. Then run the app and see if the fusion log caught some binding failures. It would have more details on them in it if that happens.

    Thanks,


    Vitek Karas [MSFT]

    Tuesday, September 11, 2012 4:54 PM
  • thanks for the prompt reply Karas, its very morning here in INDIA and i will try your suggesstion today on client machine and get back to you. uptill then there are few details about my environment and code as under:

    I am developing on 64bit win7 on a Intel i3 processor with 6GB Ram

    and compiling it for 'any CPU', coz. i need to run it on win7 32bit with AMD Sampron processor(Client's).

    and this is the code i am using, more msgboxes i used just to check the program flow limit, because i was not getting error msg to report. the program just crashes.

    ----------------------------------------------------------

    Dim subDs As DataTable = FinanceDL.tabReceipt.PrintReceipt(iID)   'gets the datatable to print
            If subDs.Rows.Count > 0 Then
                MsgBox(rpt & subDs.Rows.Count)
            Else
                MsgBox("No rows aviable to report")
            exit sub
            End If

            Try            'then i added one more dynamic row to the datatable
                Dim dtRow As DataRow = subDs.NewRow
                dtRow.Item(0) = CInt(subDs.Rows(0).Item(0)) + 1
                For i As Integer = 1 To dtRow.ItemArray.Count - 1
                    If Not IsDBNull(subDs.Rows(0).Item(i)) Then dtRow.Item(i) = subDs.Rows(0).Item(i)
                Next
                MsgBox("")
                subDs.Rows.Add(dtRow)
                subDs.AcceptChanges()
                subDs.Rows(0).Item("RctRemarks") = "Customer Copy"
                subDs.Rows(1).Item("RctRemarks") = "Office Copy"
                subDs.AcceptChanges()
                MsgBox(" Row added-" & subDs.Rows.Count)
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try

            Try
                Dim CurrD As String = My.Computer.FileSystem.CurrentDirectory
                '        crvReceipt.ReportSource = CurrD & "\Reports\rptReceipt.rpt"
                rpt = CurrD & "\Reports\rptReceipt.rpt"
                MsgBox(rpt)

                Dim rdRpt As New ReportDocument

                Dim fileExists As Boolean
                fileExists = My.Computer.FileSystem.FileExists(rpt)
                MsgBox(fileExists)

                rdRpt.Load(rpt)
                MsgBox("comp1")
                Try
                    rdRpt.SetDataSource(CType(subDs, System.Data.DataTable)) 'here it crashes

                Catch ex As Exception
                    MsgBox(ex.Message)
                End Try

            Catch ex As Exception
                MsgBox(ex.Message)
            End Try

    --------------------------------------------

    pl. let me know if there is any coding or environment issue.

    and suggest me the better way if there is any

    Thanks


    Navin Kumar INDIA

    Wednesday, September 12, 2012 3:23 AM