您的位置:首页 > 运维架构

error 'there is already an open datareader associated with this command which must be closed first'

2014-09-02 11:13 841 查看
This can be easily solved by allowing MARS in your connection string. Add
MultipleActiveResultSets=true
to the provider part of your connection string (where Data Source, Initial Catalog, etc. are specified).
http://msdn.microsoft.com/en-us/library/h32h3abf(v=vs.100).aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐