locked
Create word application object in classic asp page RRS feed

  • Question

  • Hi,
    i am going to create word apllication object in  classi asp.following are the code i am using

    docpath = "Document.docx"

     

     

    set word = Server.createobject("Word.Application")

    text = word.documents.open(docpath).Content.Text

    word.quit

    Response.write(text)

    but exception occring at the createobject

    Error :Server object: 006~ASP 0178~Server.CreateObject Access Error~The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
    Can any one help me regarding this???
    Wednesday, September 30, 2009 6:54 AM

Answers

All replies