I solved the problem myself by specifying the connection string like this string connString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Examples\MVC\EmployeePortal\EmployeePortal\App_Data\EmployeeDB.mdf;Integrated Security=True;User Instance=True"; Before the connection string used to be ....
\Examples\MVC\EmployeePortal\EmployeePortal\App_Data\EmployeeDB.mdf;Integrated Security=True;User Instance=True"; Before the connection string used to be .. connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Att...
I solved the problem myself by specifying the connection string like this string connString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Examples\MVC\EmployeePortal\EmployeePortal\App_Data\EmployeeDB.mdf;Integrated Security=True;User Instance=True"; Before the connection string used to be ....
I too had the same problem i tried many options but it didnt work for me after some permutations and combinations I solved the problem myself by specifying the connection string like this string connString =@"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Examples\MVC\EmployeePortal\EmployeePorta...