The causes
of above errors are as follows :
1.The Excel
COM object is not installed or registered on the server.
-->Is it compulsory to install the MS office in order to use Excel interop.Excel assembly for reading Excel file.
2.The office COM components are 32 bit only.
Under the application pool's advanced settings, set the following option.
--> Enable 32-Bit Applications to True
No comments:
Post a Comment