Developer Network
Developer Network
Developer Network
ProfileText
ProfileText
:CreateViewProfileText:
Sign in
Subscriber portal
Get tools
Downloads
Visual Studio
SDKs
Trial software
Free downloads
Office resources
Programs
Subscriptions
Overview
Administrators
Students
Microsoft Imagine
Microsoft Student Partners
ISV
Startups
Events
Community
Magazine
Forums
Blogs
Channel 9
Documentation
APIs and reference
Dev centers
Samples
Retired content
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
This forum has migrated to
Microsoft Q&A
.
Visit
Microsoft Q&A
to post new questions.
Learn More
Ask a question
Quick access
Forums home
Browse forums users
FAQ
Search related threads
Remove From My Forums
Answered by:
Classic ASP : Response.ContentType = "application/vnd.ms-word
Archived Forums 421-440
>
Visual Basic
Question
0
Sign in to vote
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?
Edited by
ColourInteligent
Friday, October 9, 2009 3:42 AM
Thursday, October 8, 2009 12:34 PM
Answers
1
Sign in to vote
I would repost your question to the Classic ASP forum:
http://forums.iis.net/1032.aspx
Paul ~~~~ Microsoft MVP (Visual Basic)
Proposed as answer by
_-Steve-_
Thursday, October 8, 2009 1:14 PM
Marked as answer by
Jeff Shan
Friday, October 9, 2009 9:04 AM
Thursday, October 8, 2009 12:54 PM
All replies
1
Sign in to vote
I would repost your question to the Classic ASP forum:
http://forums.iis.net/1032.aspx
Paul ~~~~ Microsoft MVP (Visual Basic)
Proposed as answer by
_-Steve-_
Thursday, October 8, 2009 1:14 PM
Marked as answer by
Jeff Shan
Friday, October 9, 2009 9:04 AM
Thursday, October 8, 2009 12:54 PM
0
Sign in to vote
Thanks paul.I will post this there
Friday, October 9, 2009 4:34 AM