Excel Error :(
-
I'm sending mail with excel attchment and it's working fine when I run it from my local machine. but if I try to access it from another machine it's giving me this Error: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. Error coming on first line of below code Microsoft.Office.Interop.Excel.Workbook aBook; Microsoft.Office.Interop.Excel.Application ExlApp = new Microsoft.Office.Interop.Excel.Application(); i have given all rights (http://blog.crowe.co.nz/archive/2006/03/02/589.aspx\[^\]) still error is coming please help me out as soon as possible
-
I'm sending mail with excel attchment and it's working fine when I run it from my local machine. but if I try to access it from another machine it's giving me this Error: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. Error coming on first line of below code Microsoft.Office.Interop.Excel.Workbook aBook; Microsoft.Office.Interop.Excel.Application ExlApp = new Microsoft.Office.Interop.Excel.Application(); i have given all rights (http://blog.crowe.co.nz/archive/2006/03/02/589.aspx\[^\]) still error is coming please help me out as soon as possible
-
I'm sending mail with excel attchment and it's working fine when I run it from my local machine. but if I try to access it from another machine it's giving me this Error: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. Error coming on first line of below code Microsoft.Office.Interop.Excel.Workbook aBook; Microsoft.Office.Interop.Excel.Application ExlApp = new Microsoft.Office.Interop.Excel.Application(); i have given all rights (http://blog.crowe.co.nz/archive/2006/03/02/589.aspx\[^\]) still error is coming please help me out as soon as possible
What exactly are you doing with the Excel objects? You certainly don't need excel to send an e-mail. If you are creating or modifying the spreadsheet before you send it, is it something you could do through the ODBC driver? Don't assume that anything outside of the System namespace will be installed on a server.