Results 1 to 4 of 4

Thread: CR XI login problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    11

    Unhappy CR XI login problem

    Hi,
    Is there anyone who knows how can I open my crystal reports in deployment pc?It works fine on mine.But when I deploying it on my boss's pc a pop up appear which has my connection path(C:\Users\Selenimo\Documents\Visual Studio 2005\Projects\doktor\doktor\bin\Debug\doktor.mdb) ,server (C:\Users\ Selenimo\Documents\Visual Studio 2005\Projects \doktor\ doktor\ bin\Debug\ doktor.mdb) those are same and asking for password and login name but there is no password for my mdb.I try ID:Admin and pswnull) but it did not work. pleas help me about that problem ?? I cant pass the pop up window and the rapor window still inactive because of this

  2. #2

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    11

    Re: CR XI login problem

    I use this code under the report form

    Dim parametre As CrystalDecisions.Shared.ParameterValues
    Dim deger As CrystalDecisions.Shared.ParameterDiscreteValue
    Dim tedavikarti As tedavikarti
    Dim crtableLogoninfos As New TableLogOnInfos()
    Dim crtableLogoninfo As New TableLogOnInfo()
    Dim crConnectionInfo As New ConnectionInfo()
    Dim CrTables As Tables
    Dim CrTable As Table

    Dim crReportDocument As New tedavikarti()
    With crConnectionInfo
    .ServerName = "Isthost"
    .DatabaseName = Application.StartupPath & "doktor.mdb"

    End With
    CrTables = crReportDocument.Database.Tables
    For Each CrTable In CrTables
    crtableLogoninfo = CrTable.LogOnInfo
    crtableLogoninfo.ConnectionInfo = crConnectionInfo
    CrTable.ApplyLogOnInfo(crtableLogoninfo)
    parametre = New CrystalDecisions.Shared.ParameterValues
    deger = New CrystalDecisions.Shared.ParameterDiscreteValue
    deger.Value = frmtani.adsoyad
    parametre.Add(deger)
    tedavikarti = New tedavikarti

    tedavikarti.DataDefinition.ParameterFields(0).ApplyCurrentValues(parametre)
    CrystalReportViewer1.ReportSource = tedavikarti
    Next

    End Sub


    End Class



    tedavikarti : is my crystal reports name
    deger : is my parameter to call reports
    adsoyad : is my query field

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    11

    Re: CR XI login problem

    no one can solve this problem I think
    Is there anyone who can suggest sth I gonna lost my hope

  4. #4

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    11

    Re: CR XI login problem

    ı solved this problem like this do not get the data from db get it from dataset
    good luck....

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