brockallen / BrockAllen.MembershipReboot

MembershipReboot is a user identity management and authentication library.
Other
742 stars 238 forks source link

DefaultMembershipRebootDatabase doesn't like the connectionString #586

Closed Wesley82 closed 8 years ago

Wesley82 commented 8 years ago

var db = new DefaultMembershipRebootDatabase(this.connString);

I am keep getting this network-related error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

but the instance name is correct, remote connection is enabled, the same connection string is used in another project and it works fine. Why would this happen, did I miss something?

brockallen commented 8 years ago

That's EF giving the error, since MR is just passing along the connection string.

Wesley82 commented 8 years ago

Thank you very much, Brock!

On Tue, Feb 23, 2016 at 7:55 AM, Brock Allen notifications@github.com wrote:

Closed #586 https://github.com/brockallen/BrockAllen.MembershipReboot/issues/586.

— Reply to this email directly or view it on GitHub https://github.com/brockallen/BrockAllen.MembershipReboot/issues/586#event-560379146 .