Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

DefaultMembershipRebootDatabase doesn't like the connectionString #586

Closed
Wesley82 opened this issue Nov 4, 2015 · 2 comments
Closed

DefaultMembershipRebootDatabase doesn't like the connectionString #586

Wesley82 opened this issue Nov 4, 2015 · 2 comments

Comments

@Wesley82
Copy link

Wesley82 commented Nov 4, 2015

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
Copy link
Owner

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

@Wesley82
Copy link
Author

Thank you very much, Brock!

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

Closed #586
#586.


Reply to this email directly or view it on GitHub
#586 (comment)
.

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

No branches or pull requests

2 participants