J
jim
We have a VBA application running within Access which opens a Word document,
establishes an ADODB connection to a SAS data set, and populates numbers in
MSgraph objects in the Word document. The VBA program loops through the
records in the data set and saves the Word document with a unique name at
each iteration. The program is supposed to generate 300+ unique documents,
but stops running after about 60 docs (approximately 90 minutes). It stops
with run time error 5360, "The server application, source file, or item
cannot be found." It does not always stop at exactly the same line in the
program. Everything works fine as long as we run only 50-60 documents at a
time, so there must not be anything inherently wrong with the code or the
data.
We are using Access 2007 on Windows XP Pro, but the problem also existed
with earlier versions of Access. Bypassing some of the code causes the
program to run through more documents, but it still stops after about the
same length of time. Adding code causes it to stop after fewer documents are
processed.
Is anyone aware of some kind of limit that we are running up against with
this application?
Thanks,
Jim
establishes an ADODB connection to a SAS data set, and populates numbers in
MSgraph objects in the Word document. The VBA program loops through the
records in the data set and saves the Word document with a unique name at
each iteration. The program is supposed to generate 300+ unique documents,
but stops running after about 60 docs (approximately 90 minutes). It stops
with run time error 5360, "The server application, source file, or item
cannot be found." It does not always stop at exactly the same line in the
program. Everything works fine as long as we run only 50-60 documents at a
time, so there must not be anything inherently wrong with the code or the
data.
We are using Access 2007 on Windows XP Pro, but the problem also existed
with earlier versions of Access. Bypassing some of the code causes the
program to run through more documents, but it still stops after about the
same length of time. Adding code causes it to stop after fewer documents are
processed.
Is anyone aware of some kind of limit that we are running up against with
this application?
Thanks,
Jim