我知道要寻找的一件事是确保任何SQLDataReaders都关闭了,我已经去了,并且确保了它们的关闭。我脑海中出现的一个问题是返回SQLDataReaders的方法,以及它们是如何被关闭的。public static SqlDataReader GetMoreData() return GetData;所以我的问题是,当我这样叫'GetMoreData‘时//do some stuff with 'dr
当我在我们的网站上运行多个页面时,我得到了以下错误:
.NET Framework execution was aborted by escalation policy because of out ofSystem.InvalidOperationException: There is already an open DataReader associated with this Command which或者是在运行查询时与锁并发?还是别的什么?