项目发布到iis7.5,输入localhost可以正常访问页面

但是注册账号的时候,跟数据库交互,就报错了。
webconfig链接(是创建项目默认链接)
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\aspnet-MyDemo-20140620110306.mdf;Initial Catalog=aspnet-MyDemo-20140620110306;Integrated Security=True"
providerName="System.Data.SqlClient" />
错误提示:
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.
)