看不懂啊
我把日志贴出来
2005-04-27 11:00:47.50 spid55 Using 'dbghelp.dll' version '4.0.5'...
2005-04-27 11:00:50.92 spid55 Stack Signature for the dump is 0xC3DF8A66
2005-04-27 11:00:50.93 spid55 错误: 3624,严重度: 20,状态: 1。
2005-04-27 11:00:50.93 spid55 SQL Server 断言: 文件: <recbase.cpp>,行 = 1378 失败的断言 =“m_offBeginVar < m_SizeRec”。
我把日志贴出来
2005-04-27 11:00:47.50 spid55 Using 'dbghelp.dll' version '4.0.5'...
2005-04-27 11:00:50.92 spid55 Stack Signature for the dump is 0xC3DF8A66
2005-04-27 11:00:50.93 spid55 错误: 3624,严重度: 20,状态: 1。
2005-04-27 11:00:50.93 spid55 SQL Server 断言: 文件: <recbase.cpp>,行 = 1378 失败的断言 =“m_offBeginVar < m_SizeRec”。
上面那两个字段是表示什么?你最好把事件跟踪器里的记录贴出来,光看日志会要命的
set quoted_identifier on
set implicit_transactions off
set cursor_close_on_commit off
set ansi_warnings on
set ansi_padding on
set ansi_nulls on
set concat_null_yields_null on
set language 简体中文
set dateformat ymd
set datefirst 7RPC:Completed exec sp_reset_connection
RPC:Completed declare @P1 int
set @P1=0
declare @P2 int
set @P2=98305
declare @P3 int
set @P3=98305
declare @P4 int
set @P4=0
exec sp_cursoropen @P1 output, N'SELECT * FROM users WHERE username=''silencer''', @P2 output, @P3 output, @P4 output
select @P1, @P2, @P3, @P4
RPC:Completed declare @P1 int
set @P1=180150001
declare @P2 int
set @P2=8
declare @P3 int
set @P3=1
declare @P4 int
set @P4=1
exec sp_cursoropen @P1 output, N'SELECT * FROM users WHERE username=''silencer''', @P2 output, @P3 output, @P4 output
select @P1, @P2, @P3, @P4
RPC:Completed exec sp_cursorfetch 180150001, 16, 1, 1
RPC:Completed exec sp_cursorclose 180150001
RPC:Completed declare @P1 int
set @P1=0
declare @P2 int
set @P2=98305
declare @P3 int
set @P3=98305
declare @P4 int
set @P4=0
exec sp_cursoropen @P1 output, N'select * from patent where contrivance like ''%%'' order by id desc', @P2 output, @P3 output, @P4 output
select @P1, @P2, @P3, @P4
select @P1, @P2, @P3, @P4 在上面语句中''%%''有错,应该是'%%'或'%'因此sp_cursoropen 执行出错。你先把这改过来试试。改完后再执行,如果不对,在把改完后的跟踪记录全贴出来,还有日记
Microsoft OLE DB Provider for SQL Server 错误 '80004005'
Location: recbase.cpp:1378 Expression: m_offBeginVar < m_SizeRec SPID: 55 Process ID: 832查询跟踪器也就到我贴出来的这些就没了啊,所以我很郁闷
Microsoft OLE DB Provider for SQL Server 错误 '80004005'
Location: p:\sql\ntdbms\storeng\drs\include\record.inl:1447 Expression: m_SizeRec > 0 && m_SizeRec <= MAXDATAROW SPID: 52 Process ID: 832
RPC:Completed declare @P1 int
set @P1=0
declare @P2 int
set @P2=98305
declare @P3 int
set @P3=98305
declare @P4 int
set @P4=0
exec sp_cursoropen @P1 output, N'select * from patent where contrivance like ''%%'' order by id desc', @P2 output, @P3 output, @P4 output
select @P1, @P2, @P3, @P4
吗?因为在事件追踪器中并没有出现m_SizeRec 。
ASP+iis+MSSQL2000
昨天都好的,今天打开主页就显示一下内容,我没有改过任何文件,麻烦帮我看看:HTTP 错误 500.100 - 内部服务器错误 - ASP 错误
Internet 信息服务--------------------------------------------------------------------------------技术信息(用于支持人员)错误类型:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server 不存在或拒绝访问。
/conn.asp, 第 26 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322)
告诉你个很不好的消息,我想起来了。你所用的是API 系统存储过程。也就是说这些过程只不过是提供程序或驱动程序所使用的机制,用来传达用户对 SQL Server 的请求。它们仅供用于 SQL Server 的 OLE DB 提供程序、SQL Server ODBC 驱动程序和 DB-Library DLL 在内部使用。不支持从 SQL Server 应用程序显式调用它们。
相信你也查询过了,你的错误号(3624)在SQL中没有,sql的错误好从3622就直接到3625了,所以,在事件追踪器中都是正确的。
这个就有点麻烦了。看来很多事是急不来的。
把conn文件里的datasource改成计算机名就可以了以前用Local可以,后来我用windows优化大师修改了计算机名,会不会是这个原因呢但是现在服务器名用local、\\local等居然都找不到网络路径,谁知道格式如何
到底是什么问题啊?