Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
How to open exisiting word document from asp.net
Rakesh Kalluri
12y
2.1k
1
Reply
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
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to Open new tab when we click on LinkButton
send SMS Using asp.net website?