c# - Connection string not working with default user authentication -


i new visual studio , trying connect database. using default windows authentication. on application login page when enter login user name , password, getting following error.

cannot open database "mydb" requested login. login failed. login failed user 'vserver90\iwpd_1(tappaas)'. 

when right click on connection server name "vserver90" , authentication "windows authentication" selected. these working in management studio.

i don't know iwpd_1 coming , why not able login.

your connection string setup "windows authentification". means, don't need user name , password database, , login current windows user name.

now, project seems have "login " page; however, whatever insert here, not taken, because windows user taken. name of user vserver90\iwpd_1(tappaas)


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -