By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,401 Members | 1,187 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,401 IT Pros & Developers. It's quick & easy.

Exception when closing excel workbook

P: 1
I am using office automation to open and read an excel doc on a K2 workflow server. I get an intermittent bug where I get a pop-up error box in excel saying "Not enough system resources to display properly", and the K2 server reports that the document is in use and is locked.

The excel doc opens and reads the data ok, but when calling ExcelWorkbook.Close throws the following error:

System.Runtime.InteropServices.COMException (0x800AC472): Exception from HRESULT: 0x800AC472.
at Excel.WorkbookClass.Close(Object SaveChanges, Object Filename, Object RouteWorkbook)

The excel file isnt in use by any other process. I'm not sure whats happening and I cant find any info on this. Any ideas? Thanks
Aug 21 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.