locked
Error while using Microsoft.office.excel 8.0 RRS feed

  • Question

  • User-1184974587 posted

    Hii all,

     i have used excel DLL in my ASP.NET website where in i kept an interface which would take excel file as input. Event is reading all the records from excel file and makes processing on that.

    Below error i am getting on server..

    ASP.NET 'Microsoft.Office.Tools.Excel, Version=8.0.0.0' Could not find

     Will i have to install whole office excel to resolve or other setup will do??

     Please help me.

     

    Tuesday, June 2, 2009 1:58 AM

All replies

  • User-319574463 posted

     You will need to install Microsoft Office on the server. You also face some considerable problems getting the permissions right. The account that you run the web site will have to be logged into interctively to run Excel at least once.

    You should also be prepared to log in to the server yourself whenever there is a problem. Word will lock up is there is an error, until it has an interactive user to report the porblem to. Excel is proably the same.

    Write your program such if any of the excel related code encounters an error, the code notifies you to log in and run Excel manually.

    Tuesday, June 2, 2009 5:43 PM