Error in loading dll when loading .dot

G

Greg Oij

I have a shortcut that loads a document template when
word is loaded:
"C:\Program Files\Microsoft
Office\OfficeX\winword.exe" /L"C:\pathtotemplate\template.
dot"

(OfficeX variable depending on version of Word) ...
(template.dot is digitally signed with "timstamped"
verisign authenticode.)

This works great on Word '97, Word 2000, Word XP, Word
2003

EXCEPT ON AN OCCASIONAL SYSTEM... I've seen it on two
(out of about 1500) systems with Windows XP with Word XP
AND on Windows XP with Word 2003.

The error is: " ! Error in Loading DLL"

I've tried changing the tools, options, file locations,
startup folder to a folder where this .dot resides and
got the same error.

Works fine on other identically configured systems...

Does anyone know which .dll(s) is(are) used for loading
document templates when Word starts up... My guess is
that a .dll is missing or corrupt on these two systems.

Any ideas greatly appreciated.

Greg
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Greg,

If you want a template to load when Word is started, the usual thing to do
is put it in the Word\Startup folder.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
G

Greg Oij

Doug:
I tried
1. changing the startup location and
2. adding the document template to the default startup
location and

still get the "Error in Loading DLL" when word starts.
All of the macros in the .dot are disabled when this
occurs.

The goofy thing is that I have hundreds of identically
configured systems (Win XP, Word XP or Win XP, Word 2003)
that work just fine with
the "Winword.exe" /L "template.dot" shortcut.
 
T

Thomas Winter

Does this happen only when using your shortcut, or does it happen even when
you start Word "normally", with the icon on the start menu?

Is that all the error message says? Error messages generated by Word are
(usually) more verbose. My guess is that these few machines have some other
add-in to Word that is having a problem. Check Word's STARTUP folder to see
if it is trying to load anything else. See if any COM Add-Ins are installed.
These might be the ones having the problem, not Word or your template.

Another quick thought, if the error only happens when loading your template,
perhaps there is something wrong with the digital certificate DLL's on those
systems. You said your template is signed. I could imagine Word only trying
to use the digital certificate related DLL's when it encounters a signed
template. Try this out with a version of your template that is not signed.
If that seems to be the problem, maybe reinstall Office (or maybe even
Windows).

-Tom
 
B

Bob S

I have a shortcut that loads a document template when
word is loaded:
"C:\Program Files\Microsoft
Office\OfficeX\winword.exe" /L"C:\pathtotemplate\template.
dot"

(OfficeX variable depending on version of Word) ...
(template.dot is digitally signed with "timstamped"
verisign authenticode.)

This works great on Word '97, Word 2000, Word XP, Word
2003

EXCEPT ON AN OCCASIONAL SYSTEM... I've seen it on two
(out of about 1500) systems with Windows XP with Word XP
AND on Windows XP with Word 2003.

The error is: " ! Error in Loading DLL"

I've tried changing the tools, options, file locations,
startup folder to a folder where this .dot resides and
got the same error.

Works fine on other identically configured systems...

Does anyone know which .dll(s) is(are) used for loading
document templates when Word starts up... My guess is
that a .dll is missing or corrupt on these two systems.

Any ideas greatly appreciated.

Greg

You could go to www.sysinternals.com and get a copy of FileMon. Start
it and then start Word. It will give you a list of every file
operation. If the answer isn't obvious, you could try it on a good
system and compare with the bad system.

Prepare to be appalled at how awful Word startup is. It does literally
hundreds of file operations (only about three for the file you are
actually opening).

Bob S
 
G

Greg Oij

-----Original Message-----


You could go to www.sysinternals.com and get a copy of FileMon. Start
it and then start Word. It will give you a list of every file
operation. If the answer isn't obvious, you could try it on a good
system and compare with the bad system.

Prepare to be appalled at how awful Word startup is. It does literally
hundreds of file operations (only about three for the file you are
actually opening).

Bob S

.

Bob,
Thanks! You are right. Amazing that Word starts up at
all. On my moderately vanilla system (that works fine),
there are a number of "file not founds" when Word fires
up.
Now if I can just find the one that is making this one
computer puke.
Greg
 

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