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
Please don't cross-post.
-
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
Don't cross post here. If anybody answers your previous question then you will be notified in your registered email.