Yes I am doing the same and also I am using this connection String and giving me an error "Login failed for user gpcode"
Any this that I missed, my connection string is below which I am using.
Conn = New SqlConnection("Server=GP02; Database=PRD; User ID=gpcode; Password=xxx" & "Data Source=DynamicsGP;")