Results 1 to 4 of 4

Thread: crystal prob

  1. #1

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

    crystal prob

    I have a app that utilizings Crystal Reports. Everything was working fine till we changed our server. I added the new connection to the reports, but everytime I go to run a report it still trys to access the old server...any suggestions?
    It's tough being an unhandled exception...

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

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    How did you change the connection? Did you change it in the report itself at designtime? Did you change it in the code that runs at runtime? Also make sure you changed it for all of the tables (I'm not sure if this is needed at designtime but it is if the change is on the fly at runtime. Sorry I can't seem to find my project that I had to do this in. I'll keep looking.

    Crystal Reports can be a bit of a pain at times huh.

    Try this: http://www.experts-exchange.com/Data..._20700347.html
    Last edited by Edneeis; Oct 7th, 2003 at 12:25 PM.

  3. #3

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    thanks Edneesis...got it working...the first time I went in and changed the source by clicking Database --> Set Datasource Location on the menu bar but that didn't seem to save. Instead I went to Database Fields, opened it up and right clicked on one of the tables then clicked Set Datasource Location..after I changed the server name I got the dialog box that the database has been updated..didn't get that when I went through the menu bar options.
    It's tough being an unhandled exception...

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

  4. #4
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Dublin (Ireland)
    Posts
    304
    there is another way, which I have not yet deployed but adopted, it's based around a local host connection:
    it uses the report document property connection.info and the applylogoninfo method, to make the report generic.

    Unfortunately not tested in deployment, but would appear to provide a solution.

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