Assuming you mean ASP.NET MVC trying to run Excel on the server, the answer is that it is not recommended. Excel is really designed as a desktop application, so running it on the server can cause some problems, as described in the MSDN article.
If you can target Excel 2007/2010, a good alternative is to use the Open Office XML libraries to create, read, or modify Excel workbooks without an instance instance and an Excel instance. Take a look at www.openxmldeveloper.org
Chris spicer
source share