내가 원격으로 연결하기 위해 노력하고있어 나는 내 MVC3에서 다음 연결 문자열이 처음 EF4의 ctp5 코드연결하는 방법 MVC3 EF4
<add name="ApplicationServicesX"
connectionString="provider=System.Data.SqlClient;provider connection string='Data Source=asc-svr2;
Initial Catalog=AdventureWorks;Integrated Security=True;Connection Timeout=60;
multipleactiveresultsets=true'" providerName="System.Data.EntityClient" />
을 사용하고 그것이 오류를 제공를 사용하여 원격으로 SQL Server 2008로
[ProviderIncompatibleException: The provider did not return a ProviderManifestToken string.]
및
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
내 컨트롤러는이
처럼 보인다public ActionResult Index()
{
var post = cmsDB.Posts.ToList();
return View(post);
}
내 로컬 컴퓨터에서 코드를 실행할 때 아무런 문제가 발생하지 않지만 에 SQL Server 2008에 원격으로 연결하면 문제가 발생합니다.
도움을 주셔서 감사합니다.
원격 SQL 서버가 다른 서버의 연결을 허용합니까? 명명 된 파이프 또는 TCP/IP? –