locked
Permission Error During Excel Read RRS feed

  • Question

  • User-848116622 posted

    Hi,

    I am reading an Excel sheet in my asp.net application using Interop Component (Office Library11.0).

    I have given permission for network service and aspnet user in the DComConfg .

    My application was worked very well for about more that 4 month. Suddenly i have got the 'Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005' error (but we hav't done any changes in the DComconfiguration).

    After restarting my webserver, the application works fine. So any one suggest what colud be the problem and hw can i avoid it in the future.

    Thanks

    R.Vasanth

    http://dotnetcodeguide.blogspot.com 

    Monday, August 9, 2010 1:27 AM

Answers

  • User-1583970805 posted

    Please check permission of application.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 11, 2010 12:26 AM

All replies

  • User1765189006 posted

    Please show me your source code 

    Monday, August 9, 2010 4:24 AM
  • User-848116622 posted

    The code was working very fine from the initial (more that 4 month). But suddently it stopped working and throws the above expection.

     

    Tuesday, August 10, 2010 11:40 PM
  • User-1583970805 posted

    Please check permission of application.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 11, 2010 12:26 AM