I changed My Authentication mode to SQL authentication to windows authentication so this error occurred.
System.ComponentModel.win32Exception:no process on the other end of the pipe
At This Line:tblUser
logedInUser = _dbRepository.GetEntities().FirstOrDefault(m => m.UserName == model.UserName && m.Password == model.Password);
this is my connection string:
connectionString="metadata=res://*/DB.TransportMSDB.csdl|res://*/DB.TransportMSDB.ssdl|res://*/DB.TransportMSDB.msl;provider=System.Data.SqlClient;provider connection string="data source=DESKTOP-DB5NQJ7\RIDDHISH;initial catalog=TMS;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient"
And I also enabled pipe, TCP/Ip protocol
答案 0 :(得分:0)
请更新edmx(app.config)文件和web.config文件中的连接字符串。