473,414 Members | 1,716 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

The message filter indicated that the application is busy

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.
Nov 18 '05 #1
0 827

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Google Mike | last post by:
I need an Application object replacement. I was creating my own using shared memory -- shm* API in PHP. I was doing fine for 6 months until it just got too fat, I guess, and the RH9 Linux server...
0
by: Don Stevic | last post by:
I am running VS2005 and using VSTO for Word. I keep getting this error saying that there is no source code available for this location when I try and run this application. I am going to...
0
by: Malcolm Cook | last post by:
I've discovered: Using "File > Print Preview" in a form's datasheet view with a server Filter crashes access after previewing... ....that is, unless ServerFilterByForm has been turned off...
3
by: Brian Keating EI9FXB | last post by:
Hello again, I've already placed a few posts on this topic. This time i've a simple application that exhibits my problem, I've placed sample solution 8k on my website should anyone be interested...
6
by: Dave Weber | last post by:
I'm in the process of writing an open-source plugin-enabled application. I know that you can define the API in several ways, and right now it is equipped as an Interface. The gist of the...
2
by: szilvaa | last post by:
Hi there, The .NET Framework developer's guide claims that one can filter managed exceptions in C++....
0
by: bq | last post by:
When I automate Word application in ASP .NET as below: Dim wordApp As Word.ApplicationClass .. .. wordApp = New Word.ApplicationClass() .. .. When the ASP.NET runs at the above line, it...
0
by: Domino | last post by:
Hi Trying to automate word. Works well on dev box using vs.net (c#). When I deploy it to production I get hit by this error "message filter indicated that the application is busy" Word is...
0
by: mtermoul | last post by:
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....
1
by: Jean Stachler | last post by:
We have a VB app that is set off automatically when a file exists in a certain directory. The file contains a listing of part numbers which the program reads and than retrieves drawings which are in...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.