当我尝试在我的本地IIS 7运行MVC 2应用程序,我不断收到此错误:如何防止SQL Server Express数据库文件自动创建错误?
Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.
不过,我没有连接到SQL Server Express的东西,和我所有的连接字符串工作很好,当我在我的本地主机上运行。
这种错误的原因是什么?我怎样才能防止它?
你可以向我们展示**你的连接字符串之一吗? – 2012-01-11 06:09:11