c# - MVC Controller The server was not found or not accessible -
i create new mvc web project in visual studio 2015, add new class, , attach mvc 5 controller entity framework it. when run index file(the 1 display list of items have in class database), gives error shown below.how solve problem? don't know since new asp.net-mvc , thought controller handle things me.
edit: tried same thing in visual studio 2013 , comes out fine.
edit2: run same program in visual studio 2015 again , works. da...
chenge connection :
data source=.;initial catalog=aspnet-webapplication3-20150819093905;integrated security=true;
(.) in data source mean local server.
the following link create connection string :
Comments
Post a Comment