{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3106","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3106/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3106/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3106/events","html_url":"https://github.com/aspnet/EntityFramework/issues/3106","id":106049632,"number":3106,"title":"scaffolding command fail","user":{"login":"lucadibiagio","id":6642521,"avatar_url":"https://avatars.githubusercontent.com/u/6642521?v=3","gravatar_id":"","url":"https://api.github.com/users/lucadibiagio","html_url":"https://github.com/lucadibiagio","followers_url":"https://api.github.com/users/lucadibiagio/followers","following_url":"https://api.github.com/users/lucadibiagio/following{/other_user}","gists_url":"https://api.github.com/users/lucadibiagio/gists{/gist_id}","starred_url":"https://api.github.com/users/lucadibiagio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucadibiagio/subscriptions","organizations_url":"https://api.github.com/users/lucadibiagio/orgs","repos_url":"https://api.github.com/users/lucadibiagio/repos","events_url":"https://api.github.com/users/lucadibiagio/events{/privacy}","received_events_url":"https://api.github.com/users/lucadibiagio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-11T16:47:32Z","updated_at":"2015-09-11T16:47:32Z","closed_at":null,"body":"hello i'm trying to use scaffolding feature but unfortunatelly something goes wrong:\r\n\r\nscenario:\r\ntrying scaffolding from database SqlExpress on MVC6  web site\r\n\r\ninstalled package \r\n    \"EntityFramework.SqlServer\": \"7.0.0-beta7\",        \r\n     \"EntityFramework.Commands\": \"7.0.0-beta7\",\r\n     \"EntityFramework.SqlServer.Design\": \"7.0.0-beta7\"\r\n\r\ncommand from powershell\r\ndnx ef dbcontext scaffold \"Data Source=.\\\\sqlexpress;Initial Catalog=FT360.DB;Integrated Security=False;User ID=sa;Password=xxx;Connect Timeout=60;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False\" EntityFramework.SqlServer\r\n\r\nError:\r\n[ERROR] dnx : System.InvalidOperationException: Instance failure.\r\n[ERROR] At line:1 char:1\r\n[ERROR] + dnx ef dbcontext scaffold \"Data Source=.\\\\sqlexpress;Initial Catalog= ...\r\n[ERROR] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n[ERROR]     + CategoryInfo          : NotSpecified: (System.InvalidO...stance failure.:String) [], RemoteException\r\n[ERROR]     + FullyQualifiedErrorId : NativeCommandError\r\n[ERROR]  \r\n[ERROR]    at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean \r\n[ERROR] ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boole\r\n[ERROR] an integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType)\r\n[ERROR]    at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, \r\n[ERROR] SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)\r\n[ERROR]    at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, \r\n[ERROR] SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, \r\n[ERROR] SqlCredential credential, TimeoutTimer timeout)\r\n[ERROR]    at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString \r\n[ERROR] connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean \r\n[ERROR] redirectedUserInstance)\r\n[ERROR]    at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString \r\n[ERROR] connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString \r\n[ERROR] newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData \r\n[ERROR] reconnectSessionData, DbConnectionPool pool, String accessToken)\r\n[ERROR]    at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey \r\n[ERROR] poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions \r\n[ERROR] userOptions)\r\n[ERROR]    at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection \r\n[ERROR] owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)\r\n[ERROR]    at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions \r\n[ERROR] userOptions, DbConnectionInternal oldConnection)\r\n[ERROR]    at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions \r\n[ERROR] userOptions, DbConnectionInternal oldConnection)\r\n[ERROR]    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 \r\n[ERROR] waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions \r\n[ERROR] userOptions, DbConnectionInternal& connection)\r\n[ERROR]    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 \r\n[ERROR] retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)\r\n[ERROR]    at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, \r\n[ERROR] TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, \r\n[ERROR] DbConnectionInternal& connection)\r\n[ERROR]    at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, \r\n[ERROR] DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)\r\n[ERROR]    at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, \r\n[ERROR] DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)\r\n[ERROR]    at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)\r\n[ERROR]    at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)\r\n[ERROR]    at System.Data.SqlClient.SqlConnection.Open()\r\n[ERROR]    at Microsoft.Data.Entity.SqlServer.Design.ReverseEngineering.SqlServerMetadataModelProvider.LoadMetadataFromData\r\n[ERROR] base(String connectionString)\r\n[ERROR]    at Microsoft.Data.Entity.SqlServer.Design.ReverseEngineering.SqlServerMetadataModelProvider.ConstructRelationalM\r\n[ERROR] odel(String connectionString)\r\n[ERROR]    at Microsoft.Data.Entity.Relational.Design.ReverseEngineering.ReverseEngineeringMetadataModelProvider.GenerateMe\r\n[ERROR] tadataModel(String connectionString)\r\n[ERROR]    at Microsoft.Data.Entity.Relational.Design.ReverseEngineering.ReverseEngineeringGenerator.GetMetadataModel(IData\r\n[ERROR] baseMetadataModelProvider provider, ReverseEngineeringConfiguration configuration)\r\n[ERROR]    at Microsoft.Data.Entity.Relational.Design.ReverseEngineering.ReverseEngineeringGenerator.<GenerateAsync>d__25.M\r\n[ERROR] oveNext()\r\n[ERROR] --- End of stack trace from previous location where exc\r\n[ERROR] eption was thrown ---\r\n[ERROR]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n[ERROR]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n[ERROR]    at Microsoft.Data.Entity.Commands.Program.<ReverseEngineerAsync>d__16.MoveNext()\r\n[ERROR] --- End of stack trace from previous location where exception was thrown ---\r\n[ERROR]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n[ERROR]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n[ERROR]    at Microsoft.Data.Entity.Commands.Program.<>c__DisplayClass9_4.<<Main>b__11>d.MoveNext()\r\n[ERROR] "}}