60能卖?能的话给我也留个言...
jdjdj...
用webgl+unity3d听我的...
源错误: 行 22: public void dlDataBind()行 23: {行 24: ddlsf.DataSource = JsManager.getAllJs();行 25: ddlsf.DataValueField = "jsbh";行 26: ddlsf.DataTextField = "jsmc"; 源文件: e:\JXC\JCXX\JCXX_DL.aspx.cs 行: 24
学习一下。
System.Exception: System.Data.SqlClient.SqlException: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)<br/> 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)<br/> 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)<br/> 在 System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)<br/> 在 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)<br/> 在 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)<br/> 在 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)<br/> 在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)<br/> 在 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)<br/> 在 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)<br/> 在 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)<br/> 在 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)<br/> 在 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)<br/> 在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)<br/> 在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)<br/> 在 System.Data.SqlClient.SqlConnection.Open()<br/> 在 JXCDAL.DBHelper.get_Connection() 位置 D:\下载安装\JXC\JXCDAL\DBHelper.cs:行号 26<br/> 在 JXCDAL.DBHelper.GetReader(String safeSql) 位置 D:\下载安装\JXC\JXCDAL\DBHelper.cs:行号 90<br/> 在 JXCDAL.JsService.getAllJs() 位置 D:\下载安装\JXC\JXCDAL\JsService.cs:行号 17<br/> 在 JXCDAL.JsService.getAllJs() 位置 D:\下载安装\JXC\JXCDAL\JsService.cs:行号 31<br/> 在 JXCBLL.JsManager.getAllJs() 位置 D:\下载安装\JXC\JXCBLL\JsManager.cs:行号 16<br/><br/><br/><br/>数据库连接语句是 string connectionString = "server=.;database=JXC;uid=sa;Password=123";<br/><br/>高手看下,不知道咋的一直不行
检查sqlserver2005的网络设置
System.Exception: System.Data.SqlClient.SqlException: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)<br/> 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)<br/> 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)<br/> 在 System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)<br/> 在 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)<br/> 在 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)<br/> 在 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)<br/> 在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)<br/> 在 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)<br/> 在 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)<br/> 在 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)<br/> 在 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)<br/> 在 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)<br/> 在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)<br/> 在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)<br/> 在 System.Data.SqlClient.SqlConnection.Open()<br/> 在 JXCDAL.DBHelper.get_Connection() 位置 E:\downcode\JXC\JXCDAL\DBHelper.cs:行号 21<br/> 在 JXCDAL.DBHelper.GetReader(String safeSql) 位置 E:\downcode\JXC\JXCDAL\DBHelper.cs:行号 89<br/> 在 JXCDAL.JsService.getAllJs() 位置 E:\downcode\JXC\JXCDAL\JsService.cs:行号 17<br/> 在 JXCDAL.JsService.getAllJs() 位置 E:\downcode\JXC\JXCDAL\JsService.cs:行号 31<br/> 在 JXCBLL.JsManager.getAllJs() 位置 E:\downcode\JXC\JXCBLL\JsManager.cs:行号 16
data source=.;database=JXC;uid=sa;Password=123"; <br/>这样试试
server=.\<font color="Blue">sqlserver </font>server后边要加上实例的名字,比如我的是sqlserver 还有数据库的密码也是要修改的 根据自己设定的密码。
[attachimg]2907[/attachimg]<br/>这次给你用sqlserver2000来说明吧,标记前边是我电脑的名称,后边就是服务器的名字,填写服务器的名字就可以了。
数据库帐号密码就是那个了,server=.\sqlserver的实例名字去哪看,我数据库登入的时候,服务器名称就是.直接登入的
估计是我VS出问题了,传入字符段都改了,设断点测试,传入的值还是没改之前的值真悲剧
数据库连接语句是:string connectionString = "server=.;database=JXC;uid=sa;Password=123";
想看看具体锝 谢谢了。
楼主可以免费下载下来研究的!
不错。。。。
对楼主有帮助就好~~
有些功能用不了啊,比如添加订单的时候日期输入不行的
数据库已加上了,但如何运行程序,急!急!
选择vs 打开解决方案 设起始页,点击F5 即可
能再细一点,我是菜鸟,最好有截图
为什么我的数据库加不上设备 'G:\JXC\DB_51aspx\JXC.mdf' 上的媒体簇的结构不正确。SQL Server 无法处理此媒体簇。RESTORE FILELIST 正在异常终止。 (.Net SqlClient Data Provider)
,,,,.................
楼主您好 使用sql2005附加数据库,是可以附加成功的!
有谁帮我一下,急
我是菜菜,数据库导入了,但进不了程序,要运行什么软件
最开始的 总经理 账号是怎么加上去的? 求教~
数据库中已经存在的吧:~
用asp.net编程时,电脑上用不用再安装什么软件呀
vs 、数据库、……