Slow application with Word Automation, on Terminal Server

N

Nicolas Hilaire

Hi all,

i encounter a problem with my application running in terminal server.
This application constructs a Word document (by code) using VB
Automation. Fields are substituated by data loaded (by an unique sql
instruction) from an Oracle database.

Slowness appears when :
- application is running on the terminal server and the database is
on another server.
- application is running on a client, connected in TSE, and the
database is on another server.

BUT, slowness doesn't appear when :

- application is running on the terminal server and the database is
on THE SAME server.
- application is running on a client, connected in TSE, and the
database is THE SAME server.

Tests have been made with win2000/2003 and Office 2000/XP.

We can notice that when TSE in not activated, the construction of the
word document is fast.


Thanks in advance for any help.

Nicolas H.
 
N

Nicolas Hilaire

hi,

it seems to come from the use of the property
Word.Document.AttachedTemplate

When setting this property (with a .dot), the next uses of Word
objects come very slow.

Is there any point in microsoft KB relating this problem ?


thanks

Nicolas H.
 
N

Nicolas Hilaire

Hi, thanks to those who read this post.

I've made an error telling that i've made test with Word 2003, that
was with Word XP...

The problem is solved with installing Word 2003.

But why ???

that's the question ;-)


Nicolas H.
 

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