Word and Internet Server documents.

G

Gemma M

Hi,

Some time ago, I asked a question concerning slow response when opening a
Word document from an Internet server for the first time. All subsequent
Word document openings were pretty quick. Someone responded, in very
technical language, about SOEs and XCOPY to "prime" the network and caching.
However, despite my gentle prodding, he did not elucidate, or distance
himself from the abstract or the deeply technical. However, he did raise my
hopes that there might be a solution. So here, below, I present my problem,
in the hope that someone can be more specific about a solution.

----
I have an ASP page which generates a XML (wrapped in HTLM) file which
represents a Word document. Then, from the client side of the Internet
connection, I open this newly created document using Word. When first this
process runs, following a machine re-boot, it can take up to a minute to
complete. Thereafter, it takes 3 seconds.

The Word command is something like :

Set objWord = CreateObject("Word.Application")
Set doc = objWord.Documents.Open(http://localhost.service/document.doc)

------
Is it true that the network and caching needs priming? If so, does anyone
know how to "prime" such, or know of any Web pages that might tell me how.

I'm using IIS, under XP, and Word 2000.

Many thanks
Gem
 
J

Jonathan West

I suspect that it is not opening the document which takes a long time the
first time, but rather starting Word. If Word is already running, I suspect
that under IIS the CreateObject command doesn't attempt to open another copy
if one is already running.
 
G

Gemma M

Thanks for your reply, BUT...

I ensure that Word is closed each time. So, unless IIS manages to keep an
instance of Word hidden from the Task Manager's process list, I don't think
this is the problem.

Also, I have experimented, by running Word, before starting up the Web page,
but to no avail.

Gem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top