lizhonggeng吧 关注:21贴子:2,459
  • 2回复贴,共1

Microsoft VBScript 编译器错误及Microsoft OLE DB Provider for O

只看楼主收藏回复

Microsoft VBScript 编译器错误 错误 '800a03f6' 

缺少 'End' 

/iisHelp/common/500-100.asp,行242 

Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' 

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified 

/index.asp,行8
我的程序代码是
<!--#include file="Connections/cnnliuyan.asp" -->
<%
Dim xinwen
Dim xinwen_numRows

Set xinwen = Server.CreateObject("ADODB.Recordset")
xinwen.ActiveConnection = MM_cnnliuyan_STRING
xinwen.Source = "SELECT * FROM News ORDER BY ID DESC"
xinwen.CursorType = 0
xinwen.CursorLocation = 2
xinwen.LockType = 1
xinwen.Open()

xinwen_numRows = 0
%>
我在WINDOWS xp系统中运行正常但是在WINDOWS 2000中运行出现上述错误,还请指教.


1楼2008-01-15 11:14回复
    第8行代码是 xinwen.ActiveConnection = MM_cnnliuyan_STRING


    2楼2008-01-15 11:17
    回复
      • 61.150.78.*
      卡弗蒂enlish is bad doesn't you chinese is great lauger it is good


      3楼2008-05-13 23:13
      回复