dcsimg
Results 1 to 3 of 3

Thread: [RESOLVED] Report using ReportViewer

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Posts
    669

    Resolved [RESOLVED] Report using ReportViewer

    Hi

    When i run report it say Login failed for user sa . When i Preview in Dataset it shows data

    Private Sub frmRpt_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    Me.ItemTableAdapter.Fill(Me.dsItem.Item

    Me.ReportViewer1.RefreshReport()
    End Sub

    Thanks

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    102,949

    Re: Report using ReportViewer

    That indicates that you're not using the same connection string in each case. If the error message says that the login failed for user 'sa' then that's what happened, so fix your connection string so that the either the login works for that user or you use a different user for which the login works.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Posts
    669

    Re: Report using ReportViewer

    Hi

    Resolved. In connectionString Password was not given

    Thanks

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width