OpenXml and Unable to create mutex

后端 未结 4 1496
Happy的楠姐
Happy的楠姐 2021-01-06 13:00

I tried to create Excel document through openXml lib, but when i wanna create Excel from large number of data, server shoe me Unable to create mutex. (Exception from

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-06 13:50

    It also seems that changing ApplicationPool's Identity to LocalSystem does not always help which was in my case with Windows Server 2009 R2. The strange thing is that it worked for about half a year since I have read this topic and fixed my problem with large OpenXML-based reports but several days ago it just stopped working.

    So after a day of research I found that additionally in ApplicationPool's Advanced Settings set Load User Profile to True (default value was False) and no problems again.

提交回复
热议问题