SQL Server files (*.mdf) require SQL Server Express 2005 to function properly.
2009-05-04 11:35
519 查看
Installed tools:(VS 2008sp1, sql 2005
express, sql 2005 server, Asp.net MVC)
Today when I was going to Add a new mdf
database file, I got the following error:
“Connections to SQL Server files (*.mdf)
require SQL Server Express 2005 to function properly. Please verify the
installation of the component ...”
After searching for google, the problem
solved, here’s they are
Navigate to “Tools” --> “Option” --> “Database
Tools ” -->“Data Connections ->“SQL Server Instance Name (Blank for default): In the TextBox, I
found it was “datasvr1” which is another computer’s name.
Whatever I left it blank or changed it to “./SQLEXPRESS”,
it didn’t work.
Then I found another one says:
“I then happened to notice in SQL Server
Configuration Manager that the SQLEXPRESS SQL Server service showed “NT
AUTHORITY/NetworkService” under “Log On As” while MSSQLSERVER (the SQL Standard
Edition service) showed LocalSystem.
Right click on the SQLEXPRESS service, click Properties and then select
Local System from the built-in account dropdown. Please note that in your situation using this
account may not be an option due to security and/or network connectivity.”
Following the instruction he metioned, then
I also found in the “SQL Native Client Configuration”, the alias name was also
datasvr1, which must be Design1 in my situation.
The problem still exist….
Finally I changed the data instance name in
the Tools -> Options….. of visual studio 2008 to SQLEXPRESS, without the prefix
of “./”, All things went OK, haha.
express, sql 2005 server, Asp.net MVC)
Today when I was going to Add a new mdf
database file, I got the following error:
“Connections to SQL Server files (*.mdf)
require SQL Server Express 2005 to function properly. Please verify the
installation of the component ...”
After searching for google, the problem
solved, here’s they are
Navigate to “Tools” --> “Option” --> “Database
Tools ” -->“Data Connections ->“SQL Server Instance Name (Blank for default): In the TextBox, I
found it was “datasvr1” which is another computer’s name.
Whatever I left it blank or changed it to “./SQLEXPRESS”,
it didn’t work.
Then I found another one says:
“I then happened to notice in SQL Server
Configuration Manager that the SQLEXPRESS SQL Server service showed “NT
AUTHORITY/NetworkService” under “Log On As” while MSSQLSERVER (the SQL Standard
Edition service) showed LocalSystem.
Right click on the SQLEXPRESS service, click Properties and then select
Local System from the built-in account dropdown. Please note that in your situation using this
account may not be an option due to security and/or network connectivity.”
Following the instruction he metioned, then
I also found in the “SQL Native Client Configuration”, the alias name was also
datasvr1, which must be Design1 in my situation.
The problem still exist….
Finally I changed the data instance name in
the Tools -> Options….. of visual studio 2008 to SQLEXPRESS, without the prefix
of “./”, All things went OK, haha.
相关文章推荐
- 64bit SQL Server issues : Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly
- Sql Server Express 2005提示"failed to generate a user instance of sql server "
- A SOLUTION to SQL SERVER 2005EXPRESS SETUP problem
- upgrade sql server 2005 express to enterprise
- 解决SQL Server 2005 还原数据库错误:System.Data.SqlClient.SqlError: 在对 'C:/Program Files/Microsoft SQL Server/MSSQL.1/MSSQL/BusinessDB.mdf
- "Performance Monitor Counter Requirement" When installing SQL Server 2005 Express
- Answer to Chapter 4 of O'Reilly Learning Sql on SQL Server 2005
- [转]Microsoft SQL Server 2005 Express 远程访问设置详述,100%成功篇
- ColdFusion連結MS SQL Server 2005 Express方法
- How to build an OLE DB application for SQL Server CE in Visual Studio 2005
- Answer to Chapter 10 of O'Reilly Learning Sql on SQL Server 2005
- 安装TFS2010时的错误解决 (TF255455: SQL Server Reporting Services is configured to require a secure connection)
- SQL Server Express 2005 Beta 两处BUG及解决方案
- Steps to change the default location of SQL Server /SQL Server Agent - Error log files
- Wrox's SQL Server 2005 Express Edition Starter Kit
- [High-Performance]Using ROW_NUMBER() to paginate your data with SQL Server 2005(数亿级海量数据瞬间闪现)
- Microsoft SQL Server 2005 Express 远程访问设置详述,100%成功篇
- SQL SERVER EXPRESS 2005 连接字符串
- (SQL2005 Server Express服务启动失败,关闭VIA协议就好了)TDSSNIClient initialization failed with error 0x7e, status code 0x60.
- An Introduction to Dynamic Management Views and Functions in SQL Server 2005