Results 1 to 5 of 5

Thread: CR-11R2 asking for user name password in vs2005

Threaded View

  1. #5
    Junior Member Troy Davis's Avatar
    Join Date
    Feb 2007
    Posts
    31

    Re: CR-11R2 asking for user name password in vs2005

    ok it might be solved for him but I'm having the same issue but on my development machine. I've enter your code it seems sound and correct but when I run and trigger the Report it askes for a usernbame and password to connect to the database. As I have no username or password associated with the database this is a problem.

    This is my connection information:

    Code:
       ''' <summary>                
        ''' Open Connection Here     
        ''' </summary>              
        ''' <returns></returns>  
        ''' <remarks></remarks>  
        Public Function OpenNewConnection() As OleDb.OleDbConnection
            Dim NewConnection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source =" & fPath & "")
            Try
                NewConnection.Open()
                Return NewConnection
            Catch ex As Exception
                Throw (ex)
            End Try
        End Function
    Upon debugging my path is correct and in the right place for my database.

    Last edited by Troy Davis; Mar 13th, 2007 at 10:50 PM.

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