Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > The message filter indicated that the application is busy

Reply
Thread Tools

The message filter indicated that the application is busy

 
 
=?Utf-8?B?bXRlcm1vdWw=?=
Guest
Posts: n/a
 
      07-19-2004
Hi,
I'm trying to write an ASP.NET page using VS.NET 2003, Office 2003, Win 2000
but I keep gettin this error:
"The message filter indicated that the application is busy" this is the code.
================================================== ===
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim oWordApplication As Word.Application
Dim oDoc As Word.Document
Dim strTemp As String
oWordApplication = New Word.Application
oDoc = oWordApplication.Documents.Add
oDoc.Activate()
oWordApplication.Selection.TypeText("Hi This My First Test Document")
oWordApplication.Selection.TypeParagraph()
oWordApplication.Selection.TypeText("Please resd the following lines carefully!")
oWordApplication.Selection.TypeParagraph()
oWordApplication.Selection.TypeText("Continue reading on the next page...")
oWordApplication.Selection.TypeParagraph()
oDoc.SaveAs("E:\Inetpub\wwwroot\SampleWebApp\WebQA \MyFirstDoc1.doc")
oDoc.Close()
oWordApplication.Quit()
Label2.Text = " Word Doc is saved..."
End Sub
================================================== ===
This error only occurs on the second time click on line oDoc.Activate() line, I also tried all of the followings but still the same problem.
A- I noticed after the error the Winword.exe process still running on the task manager and I cannot kill it.
B- I also tired a simpler version of the code create a oWordApp object and oWordApp.Quit() the same issue I think ASP cannot quit the process.
C- I tried the same code on a Windows Form and it worked.
D- I tried to increase the TerminateTime = infinite on Machine.Config file of the .NET framework configuration but still the same issue.
E- I assigned Admin rights to ASPNET user but the same Issue.
F- I also noticed a file Normal.dot created after the error on my system drive (E:\Normal.dot) which I cannot delete it says "File in use"
Conclusion: My ASP.NET application cannot terminate the Word process!
Can anyone give me some other suggestions?

Thank you.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The message filter indicated that the application is busy =?Utf-8?B?bXRlcm1vdWw=?= ASP .Net 0 07-19-2004 06:03 PM
message filter indicated that the application is busy Domino ASP .Net 0 12-04-2003 04:28 PM
The message filter indicated that the application is busy. bq ASP .Net 0 11-24-2003 09:54 PM
The message filter indicated that the application is busy bq ASP .Net 0 11-24-2003 09:50 PM
The message filter indicated that the application is busy. bq ASP .Net 0 11-10-2003 03:36 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57