SQL Server Express 2005 Beta 两处BUG及解决方案
2004-10-31 12:37
519 查看
为了能更完整的体验M$的.Net 2.0打算做几个小东东来试验一下,所以下载了SQL Server Express 2005 Beta。安装过程比较顺利。SQL Server Express 2005 Beta没有提供图形化管理工具只提供了一个SQL Computer Manager 用于管理服务,及客户端设置等。
不过 Visual C# Express 提供了一个DataBase Explorer里面可以进行进行数据库的设计。打开DataBase Explorer 创建一个新的连接。我在Server Name处添上了localhost,选择windows身份验证,但是在选择数据库的时候,出现 “Named Pipes Provider:系统找不到指定文件”。我又尝试了用”.”,机器名,来做 Server Name 也尝试了用SA密码登录,都是同一个错误“Named Pipes Provider:系统找不到指定文件”。如下图:
无论怎么弄就是不行,在网上狂搜一通,终于在 M$的BUG反馈站点上找到了解决方案,要把Server Name 改成 “.\SQLEXPRESS”或“机器名\SQLEXPRESS”就可以了,改了以后一试过来可以了。下面是M$网站上的解释: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=6da73f4e-ebeb-4dba-965a-41a730b5c965
Resolved as By Design by Microsoft on 2004-07-01 at 10:35:09
Most everyone is used to creating a new database by going to “Add new database“ from the Server Explorer. This approach will still work. (Although you need to use the instance name of SQLExpress. So, type “.\SQLExpress“ for the server name. But, this isn't the preferred way. The preferred way is to simply copy the database into your project. So, from the project menu, right click and choose “Add new item“ or “Add existing item“. In either case the MDF (and LDF if present) is copied into your project. Then a connection is automatically opened for you in Server Explorer. So, you can directly party on the database structure.
数据库是连上了,但是当我尝试新建一个数据库的时候,又出错了。这会说我没有足够的内存进行下一步操作,开玩笑,我一共 768M的内存啊。
这次学乖了,直接在M$的BUG反馈里找,果然早就有好几个仁兄提过了。而且也有了解决方案。他提供了几种办法http://lab.msdn.microsoft.com/productfeedback/ViewFeedback.aspx?FeedbackID=0b62f548-73d9-447d-8b03-8a897be68550
1、用SQLCMD命令创建
1. Open a DOS Prompt
2. Run sqlcmd like so: sqlcmd -S .\SqlExpress
3. Write this two lines inside SqlCmd:
3.1 create database MyNewDatabase
3.2 go
2、新建一个空白的MDF(这是我自己试的,可能连上)
1.点击方案名右键。添加一个新建项目
2.选择Blank DataBase
到底还是Beta版的东东啊,BUG多多,不过M$的BUG反馈站点还是做的比较好的,回答也比较快,但是还是希望能在下一版本中解决这些问题,还有就是 但愿还能免费下载。:)
相关文章推荐
- 安装Microsoft SQL server Management Studio Express 2005 错误码是29506解决方案
- SQL 2005的企业管理器Microsoft SQL Server Management Studio Express(SSMSE) 下载不错的哦
- 无法用TCP/IP协议连接远端SQL Server EXPRESS 2005 数据库问题
- [转]Microsoft SQL Server 2005 Express 远程访问设置详述,100%成功篇
- 无法用TCP/IP协议连接远端SQL Server EXPRESS 2005 数据库问题
- (SQL2005 Server Express服务启动失败,关闭VIA协议就好了)TDSSNIClient initialization failed with error 0x7e, status code 0x60.
- MS SQL SERVER 2005 EXPRESS用法笔记
- 读书笔记——Microsoft SQL Server 2005 Express Edition For Dummies
- Sql Server Express 2005提示"failed to generate a user instance of sql server "
- 无法用TCP/IP协议连接远端SQL Server EXPRESS 2005 数据库问题
- App_Data在SQL Server Express2005下的部署
- SQL Server 2005 Express Edition和SQL Server Management Studio Express安装步骤详解
- Sql 2005 express,开发版,企业版远程连接解决方案
- upgrade sql server 2005 express to enterprise
- ArcIMS 9.2 直连 ArcSDE for Sql Server 2005 Express
- 无法用TCP/IP协议连接远端SQL Server EXPRESS 2005 数据库问题
- PHP+SQL_SERVER2005之乱码解决方案
- "Performance Monitor Counter Requirement" When installing SQL Server 2005 Express
- SQL-Server2005mssqlserver服务与sqlexpress服务有什么区别
- 无法用TCP/IP协议连接远端SQL Server EXPRESS 2005 数据库问题