带有使用表单身份验证的帐户控制器的默认ASP.NET MVC 4项目,但此身份验证在我的服务器上的IIS 7.5上出现此错误。Internet应用程序
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred. Cannot create an automatic instance. See the Windows Application event log for error details.)
我该如何解决这个问题,因为我找不到类上的任何连接。
你真的建立了一个数据库吗?你用什么连接字符串? – levelnis 2013-04-03 20:53:32