Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server and database arguments not being parsed correctly #6

Open
nzduck opened this issue Jun 18, 2012 · 0 comments
Open

Server and database arguments not being parsed correctly #6

nzduck opened this issue Jun 18, 2012 · 0 comments

Comments

@nzduck
Copy link

nzduck commented Jun 18, 2012

I had trouble passing server and database attributes on the command line. This line:

using (var con = new System.Data.SqlClient.SqlConnection(conn.DatabaseConnection))

in Application.cs was throwing an exception:

Unhandled Exception: System.ArgumentException: Keyword not supported: '<my_database_name>;integrated security'.

Different versions of the connection string had the same effect. A quick bit of Googling suggested the wrong provider was being set explicitly by the SqlConnection constructor, or something like that. Hard-coding the Program.cs worked around the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant