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
slayer_stb
NA
2
0
please help
Jan 17 2005 5:31 AM
hi...i mad a code to create a new doc file, but it give me an error "Exception Details: System.Runtime.InteropServices.COMException: The message filter indicated that the application is busy." here is my code that generated that error : object fileName="C:\\Inetpub\\wwwroot\\OpenWordDocument\\Document\\MyWord.doc"; object noValue = System.Reflection.Missing.Value; Word.ApplicationClass objWord = new Word.ApplicationClass(); /* Exception Details: System.Runtime.InteropServices.COMException: The message filter indicated that the application is busy.*/ Word.Document objWordDoc = objWord.Documents.Add(ref noValue, ref noValue, ref noValue, ref noValue); objWordDoc.Activate(); objWord.Selection.TypeText(".NET Rocks!!!"); objWord.Selection.TypeParagraph(); objWord.Selection.TypeText("Sumit loves .NET"); objWord.Visible = true; objWordDoc.SaveAs(ref fileName, ref noValue, ref noValue, ref noValue,ref noValue, ref noValue, ref noValue, ref noValue, ref noValue,ref noValue, ref noValue); objWord.Quit(ref noValue, ref noValue, ref noValue); i had add com for MS Word, and had run DCOMCNFG.EXE to give ASP_NET user to access the source event to everyone. please help.... regards
Reply
Answers (
0
)
stored procedure parameter problem
checkbox in grid