- 最后查阅:
- 2024年12月22日 16:22
- 25552
D 问题描述
2017计价软件,Excel导入时,弹窗提示:当前使用运行内存不足!为保证程序正常运行,请重新启动程序!
晨曦工程计价系统2017.exe
版本 1.2.16
2023年4月10日 14:32:35
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\Administrator\AppData\Local\Temp\tmpEA6.xlsx' is denied.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Delegate method)
at pGZMaE2QPASTGR1MQcB.RjbPNb2RFqjbGVxH5mh.<>c__DisplayClass120_0.XjOugcOqcU()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.TaskExceptionHolder.Finalize()
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\Administrator\AppData\Local\Temp\tmpEA6.xlsx' is denied.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Delegate method)
at pGZMaE2QPASTGR1MQcB.RjbPNb2RFqjbGVxH5mh.<>c__DisplayClass120_0.XjOugcOqcU()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---A 问题解答
问题原因:电脑不兼容.xlsx格式的Excel
解决方法:打开.xlsx的Excel,另存为.xls的格式,再导入.xls的Excel即可导入。