Results 1 to 10 of 10

Thread: crystal report error

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    crystal report error

    when I run my app on other machines, I can't get my Crystal Reports to run.


    Error msg:

    File or assembly name CrystalDecisions.Windows.Form or one of it's dependdencies was not found
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    That's pretty obvious. You need to build a setup project and add merge modules of CR to it.
    http://support.crystaldecisions.com/...oyment.pdf.asp
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  3. #3

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    thanks Luna...another question, is there a way to GroupBy two fields without adding another Group?
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  4. #4
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Huh?
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  5. #5

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    in my report I was trying to group by the purchase date and a sequential field generated by Oracle. I just added another Group to the report....back to the merge modules. I'm developing this app on an XP box and also testing on a NT box that has the .NET framework installed. Do I still need to create a setup project for the NT box or can I just install Crystal on that box?
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  6. #6
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Do I still need to create a setup project for the NT box or can I just install Crystal on that box?
    How you gonna do that? Thats what a setup project does for you. You also need to register your copy of CR and put the registration code somewhere in those setup files.

    And for grouping question: As a quick answer, No. But maybe you can bind the two fileds as desired into one formula filed and group by that. You may give it a try.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  7. #7

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    thanks
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  8. #8

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    hey Luna, on my report I have a txt object in the page header. I want to place the date selected from the app in there...do you know how I can pass this parameter over to the report?
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  9. #9
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Define a formula filed in your report-lets say 'myformula'- and leave its formula blank and put the filed in the textbox. Then in your code use this:
    VB Code:
    1. Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument
    2. rpt = New myreprt()
    3. rpt.DataDefinition.FormulaFields("myformula").Text = yourdate_here
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  10. #10

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    hey Luna, I build my setup package and merged the files I needed...when I run my .exe from on other machine I still get the Crystal error? Is there something else I need to do?

    Error msg:

    File or assembly name CrystalDecisions.Windows.Form or one of it's dependdencies was not found
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width