TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rakesh Kalluri
348
4.5k
3m
How to open exisiting word document from asp.net
Oct 9 2012 10:26 PM
I am using VS2008 and MS office word 2007. Initially I was getting error at following code :
mw.Application wrdApp = new mw.Application();
To solve that problem, I used DCOMCNFG. I have added ASPNET user and I have set the identity to Lounching user. Now that problem is solved.
Here is main problem, when I use the following statement, I am trying to open the document. I do not get any exception as well as there isn't anything in event log. but it doesn't open the file. It just hangs. I don't know what to do and what is worng.
mw.Document wrdDoc = wrdDocs.Open(ref wdFile,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing);
Please help.
Thanks and Regards,
RAKESH
Reply
Answers (
1
)
How to Open new tab when we click on LinkButton
Problem with GridView Search Page