我这里没有错误手册,  forgettor能告诉我具体帮助吗???

解决方案 »

  1.   

    Some comments maybe help you :
    1. Change Global.asa file,make the connection string refer to accurate server ,database ,uid,pwd.
    2. DSN must be a SYSTEM DSN
    3. Comfig SQL Server(both Server and client ) ,Using TCP/IP network libary replace namepipeHope this can help you,If not ,can you give me more infomation about your configure and the error?
     
      

  2.   

    看是不是字段[m_tto]的值是‘NULL’
      

  3.   

    给DOU:
    我没有用Global.asa, 可能是网络配置的问题, 我再查查...
    给cloud:
    news_to是int型 = 0, 不应该出错这个奇怪的现象有点像写Delphi或C++程序时不注意某些变量被覆盖的感觉...
    可能是DSN配置的问题.
      

  4.   

    很可能是ADO2.0在将VB类型绑定到SQL类型时的一个BUG(特别是WCHAR -> nvarchar)
    升级到ADO2.1可以解决问题
      

  5.   

    问题我已经基本上查出来了, 将72行和73行换个位置就可以了, 我发现了这个规律:
    1. 为什么select 出来的结果在使用的时候有顺序性(在本地机器Win98+PWS上没有)???
    2. 为什么不能用 "select * from csdn_news where news_id="&m_change???谁能回答这两个问题, 将大大送分...
      

  6.   

    我查了一下OLEDBErr.h文件,好象微软也没给出此错误的详细信息,
      

  7.   

    根据zdg的反馈,此种情况应为一个ADO本身的BUG,我好象也曾遇到过。当时是用
    rs.Fields("FieldName").Value代替省略形式rs("FieldName")来解决的。也许适合你的情况。1,2应该同属一类情况,建议升级ADO并尝试替换省略形式
      

  8.   

    如果你要在网络上调用数据库必须使用文件数据源!!!
    1、User DSN 能被当前用户使用
    2、System DSN能被本机所有用户使用
    3、File DSN能在本机或远程访问
      

  9.   

    TO zdg:
       It too late. I just want to say you should change line 72 and 73's position, and you found it.
       But an other way you can try.   set rs = createobject('adodb.recordset')
       rs.open "select ....", conn, 3, 3   Then switch the line 72 and 73, to see the result.if it works, you might always use open method rather than execute.
    PS: the parameter 3, 3 is somewhat important,
    because My chinese windows 95 is down, I had to stay in jp mode for a few
    days.