VS2015 connection properties pop out while Debugging [Resolved]

Posted by Bhuvanesh6 under ASP.NET MVC on 7/19/2016 | Points: 10 | Views : 1473 | Status : [Member] | Replies : 3
When start the Debugging of solution using "F5" option, the connection properties pop out and ask to enter the credentials and connection properties for the database server in VS 2015 for MVC - Entity framework application.

Can some one help me to stop this pop out.

Thanks in advance.

Bhuvan


Responses

Posted by: Sheonarayan on: 7/19/2016 [Administrator] HonoraryPlatinum | Points: 50

Up
1
Down

Resolved
The problem seems to be the connectionString used with Entity Framework.

Check your web.config file where you have stored the connectionString, see that the connectionString value contains the username and password both.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Bhuvanesh6, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bhuvanesh6 on: 7/19/2016 [Member] Starter | Points: 25

Up
0
Down
Thanks Sheo, yes connection string has both user name & Password, even though it ask for during start up.

Note: Even what ever valid credentials of local database or any other database details which can be connected is provide then it launch the application.

Bhuvan

Bhuvanesh6, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bhuvanesh6 on: 7/21/2016 [Member] Starter | Points: 25

Up
0
Down
Yes, after modifying the web.config files with an entry pointing to local database has fixed this issue [Connection string shouls be provided with User name and password as mentioned by Sheo]

Thanks Sheo.

Bhuvan

Bhuvanesh6, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response