Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Office OLE suddenly VERY slow

Status
Not open for further replies.

GriffMG

Programmer
Mar 4, 2002
6,334
FR
I am off to a client's at the end of the week, to have another delve into why his burnt-in XP SP2 machines still do Word OLE v e r y v e r y s l o w l y...

I've tried all the usual things, antivirus, firewall etc. and have a plan to disconnect an offending machine from their network and make sure that the only authentication going on is local (i.e. quick).

If anyone else has any suggestions, I would be very grateful - the only solution thus far has been to install Windows 2K (a process that takes their engineer about half a day, by the time he's put all the software and whatnot on).


Regards

Griff
Keep [Smile]ing
 
If your app will run while disconnected from the network, can we assume that the vfp app runing the automation, the data files, word, the documents or templates, you are using are all located on the local machine. Mabee the printing must go to a network printer. What is the offending code that runs slow?
 
Hi,

It is VFP code, and it doesn't get as far as printing. It just takes a file that has been copied from a template, opens it in Word, does a series of 'find and replace' and then something similar with some bookmarks and saves the document - then presents it to the user forany further editting they might want to do.

Each document is typically just a page long (like a fax) and takes (normally) about 3 secs to process, save and present - even on the network.

On some XP SP2 machines this can slow to up to 15 minutes - it's as if the machine is authenticating the user with the domain for each line of code that is executed in Word...

It renders the application useless.

Regards

Griff
Keep [Smile]ing
 
Hi Rob,

Thanks for the thoughts, but as I said, I have tried removing anti-virus and firewall stuff - makes no difference.

The two articles are interesting, but don't shine any light on the problem either.

I have found that the 'burnt-in' SP2 that Dell ship does not exhibit this behaviour out-of-the-box, and think it is related to COM+ authentication... but I still don't have a solution.

Martin

Regards

Griff
Keep [Smile]ing
 
Update:

Went to clients' site this morning, tried everything I could think of - with no success.

Found that SP2 was available for uninstall in the 'Add/Remove Programs' feature and tried to remove it.

This failed with an 'Access Denied' error for some reason, so I followed the M$ web site instructions and tried again in Safe Mode using the command line approach.

Funnily enough this didn't seem to have removed SP2, but the slowness problem went away!

So, I stopped there - did a Windows Update (which also failed, and said I should remove SP2 and retry [which still didn't want to work]).

Thus we are left with a fully functioning PC, running as it did before SP2 was applied, that thinks it has SP2 but which cannot now update... not perfect, but usable.

Regards

Griff
Keep [Smile]ing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top