CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2001
    Posts
    4

    CrystalReport Error

    I created a report using RDC(report design component) with 'Microsoft OLE DB Provider for SQL Server' to a stored procedure.

    Everything is fine on my computer. But after installed on another computer, when the program loads the report, following error happens:

    CystalViewer Error:
    Server has not be opened

    Any suggestion? Thanks



  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: CrystalReport Error

    May be on end Pc you do not have sql drivers, you do not have access to database, you do not have database you're looking for. However, this is only a guess.
    Good luck

    Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Jan 2001
    Posts
    4

    Re: CrystalReport Error

    well, I am using SQL7 database and my vb program can access the database even on another computer. Only Reports cann't be loaded with that error.
    When I create crystal report, I use OLEDB connection with either a user name and password or trust connection. But when I load Crystal report in VB code I just give parameters and assign crystal viewer's report source to that crystal report.
    Any idea what could be problem?



  4. #4
    Join Date
    Mar 2001
    Posts
    2

    Re: CrystalReport Error

    Most likely I know why. You should config the DB network library in that PC too. So you can use DB alias to acess that DB as same as in your PC.

    For example, in the registary, there should be a entry for the alias, under HKEy_local_machine\software\microsoft\mssqlserver\client\connectto
    and the value is like
    <ur db alais> Reg_SZ "DBMSSOCN,<ipadress>,1433"

    That's all



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

Featured