database connection from java
Posted on 2007-11-18
i am trying to connect to a db from my java program.the database i log into does not have a username password.i mean i use windows authentication to login my db.but now when i try to connect from my java program i get this error
jdbc:sqlserver://localhost:1433; databaseName=ERP;user="" ;password=""
Login failed for user '""'. The user is not associated with a trusted SQL Server connection