A
Albert S.
Hello all!
We are using Access2003/SQLServer2005 conbination with Stephen Lebans'
ConvertReportToPDF and Tom Wickerath's SendMail functions. Everything was
working well until about one month ago. When we would try to email a pdf from
some computers, it would crash Access (i.e. the Microsoft alert would appear
and the program would have to close). It started on the Server2003 machines
and spread to the XP machines and some of the Vista PCs also.
Here is what I have tried/checked:
1) Checked every computer's Access version and they are all the same.
2) Downloaded all the latest Access updates and installed them on one XP
computer to test - didn't work
3) Created a new blank .mdb, imported all the queries, forms, etc. - didn't
work
4) It DOES work on some of the Vista machines - but not on others!
5) If I step through the code, it will work for a couple of times, then it
will fail. Once it fails, it will fail everytime.
6) Downloaded the new .dll's but that didn't help. Went back to the old ones.
On the machine where I develop the Access frontend (running XP) - it works
fine. This machine also has a full version of Acrobat (v7.0). When I am done
with a new frontend, I copy it to a shared folder on a server, then push it
out to all the clients. I use the SendMail function to email Word docs and it
works fine.
On a step through, here is where it hangs (in modReportToPDF):
blRet = ConvertUncompressedSnapshot(mUncompressedSnapFile, sOutFile, _
CompressionLevel, PasswordOpen, PasswordOwner, PasswordRestrictions,
PDFNoFontEmbedding, PDFUnicodeFlags)
So the temporary snapshot file is being created, but when it gets to the
ConvertUncompressedSnapshot function, it is hanging.
We are a ways away from adopting Access2007 and I don't have much hair left
to tear out, so any suggestions would be greatly appreciated!
Thanks!
Albert S.
We are using Access2003/SQLServer2005 conbination with Stephen Lebans'
ConvertReportToPDF and Tom Wickerath's SendMail functions. Everything was
working well until about one month ago. When we would try to email a pdf from
some computers, it would crash Access (i.e. the Microsoft alert would appear
and the program would have to close). It started on the Server2003 machines
and spread to the XP machines and some of the Vista PCs also.
Here is what I have tried/checked:
1) Checked every computer's Access version and they are all the same.
2) Downloaded all the latest Access updates and installed them on one XP
computer to test - didn't work
3) Created a new blank .mdb, imported all the queries, forms, etc. - didn't
work
4) It DOES work on some of the Vista machines - but not on others!
5) If I step through the code, it will work for a couple of times, then it
will fail. Once it fails, it will fail everytime.
6) Downloaded the new .dll's but that didn't help. Went back to the old ones.
On the machine where I develop the Access frontend (running XP) - it works
fine. This machine also has a full version of Acrobat (v7.0). When I am done
with a new frontend, I copy it to a shared folder on a server, then push it
out to all the clients. I use the SendMail function to email Word docs and it
works fine.
On a step through, here is where it hangs (in modReportToPDF):
blRet = ConvertUncompressedSnapshot(mUncompressedSnapFile, sOutFile, _
CompressionLevel, PasswordOpen, PasswordOwner, PasswordRestrictions,
PDFNoFontEmbedding, PDFUnicodeFlags)
So the temporary snapshot file is being created, but when it gets to the
ConvertUncompressedSnapshot function, it is hanging.
We are a ways away from adopting Access2007 and I don't have much hair left
to tear out, so any suggestions would be greatly appreciated!
Thanks!
Albert S.