Results 1 to 10 of 10

Thread: [RESOLVED] crviewer problems

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    245

    Resolved [RESOLVED] crviewer problems

    Hey all

    I have an issue with the CR references in my application. I am trying to just run a small app that calls the CR viewer and display a report. Of course, on my machine since I have all the correct .dll and such do to having CRX on my machine, it is no problem. But on a clean testing environment i am getting the crviewer.dll not correctly registered error. Now initially this was thought to be a deployment issue but I am afraid I may not have the correct references in place. With the viewer I am using the CR viewer control with is the .oca(which i assume comes with the crviewer.dll). Also I am using the CR ActiveX Designer Run Time Library 10.0 as CRX is the version I have on hand.

    My question is this: Is there another reference that is needed in order for this to actually work on a non CR loaded machine? I do assume that this is possible to do on a machine not running Crystal. If this is not true, how would I go about setting the application up to pull the CR info from the server that the program is hitting anyway so the viewer will work as intended.

    Thanks

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: crviewer problems

    Thread Moved

    You need to deploy the Merge Modules too. This will give the cr viewer and reports functionality and viewability.

    I dont have CR 10 but it was a new way to do it starting with 10.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    245

    Re: crviewer problems

    No offense, but this was meant more of a VB question rather than a deployment of CR. And I have used the Merge Modules to no avail so thats why I ask in VB, to make sure I am not missing any references that the application needed.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: crviewer problems

    What part deals with vb though? Wasnt your question to figure out how to get it to work on a non-cr machine? That actually should be a deployment issue. So then where would you want the thread to be?

    ps, no offense taken
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    245

    Re: crviewer problems

    I guess the question could be split between the 2 forums but I am looking more for an answer on if there is any missing references in VB I may have overlooked. Simply craxdrt.dll and crviewer.dll are the only references I need inside VB itself? If yes, then the rest is an issue of deployment as I have an open post there trying to figure out why the error is coming up.

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    245

    Re: crviewer problems

    I apologize, I have the same question about the virgin machine in the other post and it was redundant and i should have edited this one.

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: crviewer problems

    It only depends on what code your needing to write. If your app runs fine on your system then its fine and is a deployment issue. You can not simply include references to make it runable on other systems without deploying the dependant supporting files. A reference points to a dependant file
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    245

    Re: crviewer problems

    Ok, great!

    Always, RobDog, thank you very much.

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [RESOLVED] crviewer problems

    No prob.

    You may want to check out any documents on deploying and using CR from their site. I have this doc for .net but may come in handy or direct you to something more relevant.
    http://diamond.businessobjects.com/node/728
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  10. #10
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: [RESOLVED] crviewer problems

    Quote Originally Posted by RobDog888
    No prob.

    You may want to check out any documents on deploying and using CR from their site. I have this doc for .net but may come in handy or direct you to something more relevant.
    http://diamond.businessobjects.com/node/728

    Thanks Rob!!!
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


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