This project has moved and is read-only. For the latest updates, please go here.

Error while using Excel

Apr 14, 2014 at 7:33 PM
Hi team,
I am getting error when it tries to create excel using Netoffice. It is working in my local but when I deploy it to the server I am getting below error. Can anybody please help me.

System.ArgumentException: progId not found. Excel.Application
Apr 14, 2014 at 8:06 PM
typical is(progId not found. means microsoft excel is not present(not installed) on this system.
you have 2 options now:

a) Make sure excel is present(installed). (if you try accessing from an application, let me know)
b) create and manipulate an excel file directly(without excel). since 2007 its very easy. Excel use an open xml file format. The Closed XML project( available on codeplex, is very easy to use. Just give'm a try,

hope it's helpful
Apr 14, 2014 at 8:25 PM
Thank You Sebastian, yes I am using to build this, I cannot install excel because it is server where I don't have access.
Apr 14, 2014 at 8:47 PM
Hi Sebastian,
Can I create multiple sheets in one book using Closed XML?
Apr 15, 2014 at 10:04 PM
of course, its possible with ClosedXML.

about the server situation:
this thread is may helpful for you. (check the link in last posting)