Microsoft OLE DB Provider for SQL Server 錯誤 '80040e21' 多重步驟 OLE DB 操作發生錯誤。請檢查每一個可用的 OLE DB 狀態值。尚未完成任何操作。 这是一个很复杂的查询时候出的错,网上有人说是数据字段长度不对,但我是查询的时候出错,而且以前应该是正常的,最近才出错,而且页面刷新又可以显示出查询结果。
各位帮帮忙,谢谢各位了!
在綫等,各位幫幫忙?
各位帮帮忙,谢谢各位了!
在綫等,各位幫幫忙?
如果是SQL 2000的话 打上SP4
SQL 2005的话 打上SP3
就是open這行出錯了
這是最長的一個,其他是這個的一半左右,,如果是無法分析 ,那為啥有時候又正常啊,各位,希望各位繼續關注。謝謝!
This error results from an attempt to get the next record before the previous database request has completed. You can avoid this error by buffering the page containing the form, so that it does not display in the browser until the data has been completely fetched and the page composed. To set buffering, add the following command to the top of the page:
<% Response.Buffering=true %>大致意思是,数据还没来得及全部返回,页面就开始加载了,设置下缓存就会好。