Skip to content

出現 "There is already an open DataReader associated with this Command which must be closed first." 錯誤 #4

@JamesHuang1018

Description

@JamesHuang1018

當我使用 transaction 執行多筆 insert 語法時會出現 There is already an open DataReader associated with this Command which must be closed first. 錯誤,但是當我在 db connection 加上 MultipleActiveResultSets=true 則可正常運行.

請問 CoreProfiler 在監控 DB 效能時與 單一連線中執行多個批次作業 會有關聯性嗎?

DB 為 MS SQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions