我连的时候总是显示login incorrect
人都快疯了,急等
17 个解决方案
#1
是在pb里连的吗?
#2
可以连接7.0但不能连2000,但也说不定别人有办法。
#3
我没有用过PB6.5,但是我记得以前有帖子说过这个事情,好像要下载最新的补丁吧,建议搜索一下原来的帖子。
#4
你的直联驱动要升级,或者使用odbc,也是要支持2000的新版本才可以
#5
要打pb补丁,不要疯,打了补丁绝对没问题。或者升级到pb8.0
补丁在这里下 sybase.com.cn
补丁在这里下 sybase.com.cn
#6
要打pb补丁,不要疯,打了补丁绝对没问题。或者升级到pb8.0
补丁在这里下 sybase.com.cn
补丁在这里下 sybase.com.cn
#7
没办法,update吧
#8
大哥,我用的是56k的猫一个补丁估计有10M,太大了
#9
谁有PB6.5/sql2000 的驱动,直接发給贴主就可以了。
#10
sql server 2000 的驱动 和sql server 7.0的dll不一样
你还要拷几个dll吧,好像是pbmss??.dll吧
你试试~~
你还要拷几个dll吧,好像是pbmss??.dll吧
你试试~~
#11
以下是我的程序:pb6.5+MS SQL SERVER 2000
SQLCA.DBMS = "MSS Microsoft SQL Server 6.x"
SQLCA.Database = "CATVNEW"
SQLCA.LogPass = "hehe" //密码
SQLCA.ServerName = "LQ"//数据库实例的名字
SQLCA.LogId = "sa"//数据库登陆用户
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
CONNECT USING SQLCA;
SQLCA.DBMS = "MSS Microsoft SQL Server 6.x"
SQLCA.Database = "CATVNEW"
SQLCA.LogPass = "hehe" //密码
SQLCA.ServerName = "LQ"//数据库实例的名字
SQLCA.LogId = "sa"//数据库登陆用户
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
CONNECT USING SQLCA;
#12
那就只有升级pb咯
#13
SQLCA.Database 应该添什么
sqlca.servername添什么
sqlca.servername添什么
#14
SQLCA.Databse="你要连接的数据库的名称"
SQLCA.ServerName="你数据库实例的名字"
把鼠标放到任务栏右下脚你的SQLSERVER的运行管理图标上,显示
"Running -\\LQ MSSQLSERVER"而LQ就是我的你数据库实例的名字。
SQLCA.ServerName="你数据库实例的名字"
把鼠标放到任务栏右下脚你的SQLSERVER的运行管理图标上,显示
"Running -\\LQ MSSQLSERVER"而LQ就是我的你数据库实例的名字。
#15
//注册一数据源,使SQLCA有效
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC Data Sources","mssql",RegString!,"SQL Server");
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mssql","Driver",RegString!,"D:\WINNT\System32\SQLSRV32.dll");
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mssql","LastUser",RegString!,"sa");
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mssql","Database",RegString!,"zyqdata"); //数据库名
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mssql","Server",RegString!,"strong"); //服务器名
SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = False
SQLCA.DBParm = "ConnectString='DSN=mssql;UID=sa;PWD='"
CONNECT USING SQLCA ;
肯定好使,我现在就在用
#16
或者就用Ini文件
ls_startupfile = "E:\工作目录\树脂管理系统PB\SZGL.ini"
sqlca.DBMS = ProfileString (ls_startupfile, "database", "dbms", "")
sqlca.database = ProfileString (ls_startupfile, "database", "database", "")
sqlca.userid = ProfileString (ls_startupfile, "database", "userid", "")
sqlca.dbpass = ProfileString (ls_startupfile, "database", "dbpass", "")
sqlca.logid = ProfileString (ls_startupfile, "database", "logid", "")
sqlca.logpass = ProfileString (ls_startupfile, "database", "LogPassWord", "")
sqlca.servername = ProfileString (ls_startupfile, "database", "servername", "")
sqlca.dbparm = ProfileString (ls_startupfile, "database", "dbparm", "")
/* Uncomment the following for actual DB connection */
connect using sqlca;
ls_startupfile = "E:\工作目录\树脂管理系统PB\SZGL.ini"
sqlca.DBMS = ProfileString (ls_startupfile, "database", "dbms", "")
sqlca.database = ProfileString (ls_startupfile, "database", "database", "")
sqlca.userid = ProfileString (ls_startupfile, "database", "userid", "")
sqlca.dbpass = ProfileString (ls_startupfile, "database", "dbpass", "")
sqlca.logid = ProfileString (ls_startupfile, "database", "logid", "")
sqlca.logpass = ProfileString (ls_startupfile, "database", "LogPassWord", "")
sqlca.servername = ProfileString (ls_startupfile, "database", "servername", "")
sqlca.dbparm = ProfileString (ls_startupfile, "database", "dbparm", "")
/* Uncomment the following for actual DB connection */
connect using sqlca;
#17
或者就用Ini文件
ls_startupfile = "E:\工作目录\树脂管理系统PB\SZGL.ini"
sqlca.DBMS = ProfileString (ls_startupfile, "database", "dbms", "")
sqlca.database = ProfileString (ls_startupfile, "database", "database", "")
sqlca.userid = ProfileString (ls_startupfile, "database", "userid", "")
sqlca.dbpass = ProfileString (ls_startupfile, "database", "dbpass", "")
sqlca.logid = ProfileString (ls_startupfile, "database", "logid", "")
sqlca.logpass = ProfileString (ls_startupfile, "database", "LogPassWord", "")
sqlca.servername = ProfileString (ls_startupfile, "database", "servername", "")
sqlca.dbparm = ProfileString (ls_startupfile, "database", "dbparm", "")
/* Uncomment the following for actual DB connection */
connect using sqlca;
ls_startupfile = "E:\工作目录\树脂管理系统PB\SZGL.ini"
sqlca.DBMS = ProfileString (ls_startupfile, "database", "dbms", "")
sqlca.database = ProfileString (ls_startupfile, "database", "database", "")
sqlca.userid = ProfileString (ls_startupfile, "database", "userid", "")
sqlca.dbpass = ProfileString (ls_startupfile, "database", "dbpass", "")
sqlca.logid = ProfileString (ls_startupfile, "database", "logid", "")
sqlca.logpass = ProfileString (ls_startupfile, "database", "LogPassWord", "")
sqlca.servername = ProfileString (ls_startupfile, "database", "servername", "")
sqlca.dbparm = ProfileString (ls_startupfile, "database", "dbparm", "")
/* Uncomment the following for actual DB connection */
connect using sqlca;
#1
是在pb里连的吗?
#2
可以连接7.0但不能连2000,但也说不定别人有办法。
#3
我没有用过PB6.5,但是我记得以前有帖子说过这个事情,好像要下载最新的补丁吧,建议搜索一下原来的帖子。
#4
你的直联驱动要升级,或者使用odbc,也是要支持2000的新版本才可以
#5
要打pb补丁,不要疯,打了补丁绝对没问题。或者升级到pb8.0
补丁在这里下 sybase.com.cn
补丁在这里下 sybase.com.cn
#6
要打pb补丁,不要疯,打了补丁绝对没问题。或者升级到pb8.0
补丁在这里下 sybase.com.cn
补丁在这里下 sybase.com.cn
#7
没办法,update吧
#8
大哥,我用的是56k的猫一个补丁估计有10M,太大了
#9
谁有PB6.5/sql2000 的驱动,直接发給贴主就可以了。
#10
sql server 2000 的驱动 和sql server 7.0的dll不一样
你还要拷几个dll吧,好像是pbmss??.dll吧
你试试~~
你还要拷几个dll吧,好像是pbmss??.dll吧
你试试~~
#11
以下是我的程序:pb6.5+MS SQL SERVER 2000
SQLCA.DBMS = "MSS Microsoft SQL Server 6.x"
SQLCA.Database = "CATVNEW"
SQLCA.LogPass = "hehe" //密码
SQLCA.ServerName = "LQ"//数据库实例的名字
SQLCA.LogId = "sa"//数据库登陆用户
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
CONNECT USING SQLCA;
SQLCA.DBMS = "MSS Microsoft SQL Server 6.x"
SQLCA.Database = "CATVNEW"
SQLCA.LogPass = "hehe" //密码
SQLCA.ServerName = "LQ"//数据库实例的名字
SQLCA.LogId = "sa"//数据库登陆用户
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
CONNECT USING SQLCA;
#12
那就只有升级pb咯
#13
SQLCA.Database 应该添什么
sqlca.servername添什么
sqlca.servername添什么
#14
SQLCA.Databse="你要连接的数据库的名称"
SQLCA.ServerName="你数据库实例的名字"
把鼠标放到任务栏右下脚你的SQLSERVER的运行管理图标上,显示
"Running -\\LQ MSSQLSERVER"而LQ就是我的你数据库实例的名字。
SQLCA.ServerName="你数据库实例的名字"
把鼠标放到任务栏右下脚你的SQLSERVER的运行管理图标上,显示
"Running -\\LQ MSSQLSERVER"而LQ就是我的你数据库实例的名字。
#15
//注册一数据源,使SQLCA有效
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC Data Sources","mssql",RegString!,"SQL Server");
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mssql","Driver",RegString!,"D:\WINNT\System32\SQLSRV32.dll");
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mssql","LastUser",RegString!,"sa");
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mssql","Database",RegString!,"zyqdata"); //数据库名
RegistrySet("HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\mssql","Server",RegString!,"strong"); //服务器名
SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = False
SQLCA.DBParm = "ConnectString='DSN=mssql;UID=sa;PWD='"
CONNECT USING SQLCA ;
肯定好使,我现在就在用
#16
或者就用Ini文件
ls_startupfile = "E:\工作目录\树脂管理系统PB\SZGL.ini"
sqlca.DBMS = ProfileString (ls_startupfile, "database", "dbms", "")
sqlca.database = ProfileString (ls_startupfile, "database", "database", "")
sqlca.userid = ProfileString (ls_startupfile, "database", "userid", "")
sqlca.dbpass = ProfileString (ls_startupfile, "database", "dbpass", "")
sqlca.logid = ProfileString (ls_startupfile, "database", "logid", "")
sqlca.logpass = ProfileString (ls_startupfile, "database", "LogPassWord", "")
sqlca.servername = ProfileString (ls_startupfile, "database", "servername", "")
sqlca.dbparm = ProfileString (ls_startupfile, "database", "dbparm", "")
/* Uncomment the following for actual DB connection */
connect using sqlca;
ls_startupfile = "E:\工作目录\树脂管理系统PB\SZGL.ini"
sqlca.DBMS = ProfileString (ls_startupfile, "database", "dbms", "")
sqlca.database = ProfileString (ls_startupfile, "database", "database", "")
sqlca.userid = ProfileString (ls_startupfile, "database", "userid", "")
sqlca.dbpass = ProfileString (ls_startupfile, "database", "dbpass", "")
sqlca.logid = ProfileString (ls_startupfile, "database", "logid", "")
sqlca.logpass = ProfileString (ls_startupfile, "database", "LogPassWord", "")
sqlca.servername = ProfileString (ls_startupfile, "database", "servername", "")
sqlca.dbparm = ProfileString (ls_startupfile, "database", "dbparm", "")
/* Uncomment the following for actual DB connection */
connect using sqlca;
#17
或者就用Ini文件
ls_startupfile = "E:\工作目录\树脂管理系统PB\SZGL.ini"
sqlca.DBMS = ProfileString (ls_startupfile, "database", "dbms", "")
sqlca.database = ProfileString (ls_startupfile, "database", "database", "")
sqlca.userid = ProfileString (ls_startupfile, "database", "userid", "")
sqlca.dbpass = ProfileString (ls_startupfile, "database", "dbpass", "")
sqlca.logid = ProfileString (ls_startupfile, "database", "logid", "")
sqlca.logpass = ProfileString (ls_startupfile, "database", "LogPassWord", "")
sqlca.servername = ProfileString (ls_startupfile, "database", "servername", "")
sqlca.dbparm = ProfileString (ls_startupfile, "database", "dbparm", "")
/* Uncomment the following for actual DB connection */
connect using sqlca;
ls_startupfile = "E:\工作目录\树脂管理系统PB\SZGL.ini"
sqlca.DBMS = ProfileString (ls_startupfile, "database", "dbms", "")
sqlca.database = ProfileString (ls_startupfile, "database", "database", "")
sqlca.userid = ProfileString (ls_startupfile, "database", "userid", "")
sqlca.dbpass = ProfileString (ls_startupfile, "database", "dbpass", "")
sqlca.logid = ProfileString (ls_startupfile, "database", "logid", "")
sqlca.logpass = ProfileString (ls_startupfile, "database", "LogPassWord", "")
sqlca.servername = ProfileString (ls_startupfile, "database", "servername", "")
sqlca.dbparm = ProfileString (ls_startupfile, "database", "dbparm", "")
/* Uncomment the following for actual DB connection */
connect using sqlca;