Cannot create ActiveX component while using Application.Excel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HiSam
    New Member
    • Aug 2008
    • 1

    Cannot create ActiveX component while using Application.Excel

    Hi

    I am using CreateObject("A pplication.Exce l") in my class which is deployed as an exe on server which basically reads the excel file and creates the xml of it.

    Few days back it was working perfectly fine without any changes but suddenly it is giving Cannot create ActiveX component error.
    I checked the server and there were no recent updates installed from microsoft ,neither excel application was uninstalled.

    I also checked with dcomconfig utility by giginv permissions and all but it is still not working.

    I tried using New key word to instantiate insted os using CreateObject but with no help.

    I am much bothered because it stopped working suddenly .

    Please help me in debugging this problem.

    Sam
  • yvrmurari
    New Member
    • Aug 2008
    • 4

    #2
    Try placing an excel file in the same folder, and try opening that file in the browser to see if there is any problem with Excel

    Comment

    Working...