integrated security
SimonMartin
Posts: 12
I have sql prompt 3.6 and am trying to connect to my local Sql Express. The connection from Visual Studio to the SQL Express instance is using integrated security but there doesn't seem to be an option for that in the "Change connection" settings in SQL Prompt 3. Windows authentication fails, the only other option is a SQL connection, but I haven't created any logins in the SQL Express so I don't see that will work either.
So... how do I get it to connect?
So... how do I get it to connect?
Sharing knowledge saves valuable time!
Comments
"Authentication Failed"
It isn't a failure of the product. Rather a failure to connect to the SQL Express database using Windows Authentication which I have chosen as there is no option for Integrated Security which is how my Windows form is connecting to the database.
I created the database from Visual Studio and with the integrated security connection string I can see all my tables, sprocs etc.
So would I need to create another user in order to authenticate with SQL Prompt, can't it also use the integrated security that Visual Studio is using?
There doesn't appear to be a "logins" node in Visual Studio for the Sql Express, so I don't think I can even add a user that way.
Using my windows logon name (prefixed and not prefixed with machine name) and password does not authenticate either.
When using Management Studio I am able to get SQL Prompt to authenticate. But I can't then use Visual Studio to connect to the database. So after closing Management Studio and opening a Sproc in Visual Studio I am asked to authenticate for SQL Prompt, it fails to authenticate... and leaves nothing in either the logs (that I can see, my logs are totally empty) or in Event Viewer
Thanks for sorting that out.
Having installed Management Studio I can do everything I need (and its quicker at interacting with the database than Visual Studio) and I get SQL Prompt working as well - so I'm happy
Simon