none
Classic ASP : Response.ContentType = "application/vnd.ms-word RRS feed

  • Question

  • Hi,
    I am going to open word document inside the browser. In here I am using following codes


        Response.ContentType = "application/vnd.ms-word"
        Response.Buffer = True
        Response.ContentType = "application/vnd.ms-word"
        Response.AddHeader "content-disposition", "inline; filename =Document000001.doc"

    This is working fine in widows server 2003 .but in windows server 2008 this its giving error "user does not have access privileges ".But here i am testing as a Admin user. wt kind of additional should I have to open this doument?

    Thursday, October 8, 2009 12:32 PM

Answers

All replies