All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
C#中ErrorProvider组件应用实例
总结经典常用的SQL语句(2)_[SQL Server教程]
解析SQL Server中如何得到自动编号字段_[SQL Server教程]
详细讲解动态网页制作技术PHP中的函数应用_php资料_编程技术
.net生成静态页方法总结_[Asp.Net教程]
C#教程:开发UDP聊天程序使用实例
不经保存,直接读取上传文件的内容_[Asp.Net教程]
C#数据库操作的三种经典用法_[Asp.Net教程]
C#中同一DataTable中合并相同条件的行数据_[Asp.Net教程]
ASP.NET实现进度条_[Asp.Net教程]
Reading number is top 10 pictures
这才叫绝色美女1
超级大兔子
China's ambassador to Libya embassy was shock, and the glass is broken in
2012 national geographic daily picture6
Breasts woman big set 2
初五接财神啦!五路财神齐来到
Group of female porn in 《westwards》, uninhibited woman threatened to not the bottom line1
含苞欲放的素颜美少女3
湖边的风景
Beauty Sun Feifei
Download software ranking
金山office2007
美女写真2
Desire a peach blossom
Boxer's Top ten classic battle10
Sora aoi 120 minutes
Tram sex maniac 2 (H) rar bag18
ASP.NET.2.0.XML.高级编程(第3版)
中国结婚习俗实录
塘西风月痕
超级战舰
delv published in(发表于) 2014/1/6 9:08:41 Edit(编辑)
一些关于SQL2005+ASP.NET2.0的问题_[Asp.Net教程]

一些关于SQL2005+ASP.NET2.0的问题_[Asp.Net教程]

一些关于SQL2005+ASP.NET2.0的问题_[Asp.Net教程]

一般我们能过VS2005的SQL explorer来添加一个本地的MDF文件。也许你可能会出现下面这个问题:
Exception Details: System.Data.SqlClient.SqlException: The user instance login flag is not supported on this version of SQL Server. The connection will be closed.


通过搜索。发现这里有我们所需要的信息:Error Message: The user instance login flag is not supported on this version of SQL Server. The connection will be closed


仔细分析Scott的回答:


"The issue is that User Instancing, which allows the automatic creation of databases from code, isn't support on the full version of SQL 2005. That is a function of SQL Express only. The solution is to manually create the database in SQL Server 2005 and set a connection string to point to it. You will also need to run aspnet_regsql.exe manually against the database if you will be using any of the new built-in database features of ASP.NET v2.0."


因此,如果我们不是使用的从MS下载下来的SQL Server 2005 Express,那么我们只能过过在SQL2005管理器上把MDF文件添加进去在连接它。


解决方法:在SQL2005管理器上,通过Attach(附加)本地的MDF文件成功之后。在VS2005的sql explorer的连接即可。


以后继续补充。


cnzc's blogs







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.