While in Access Runtime OutputTo Fails

I started having some problems with some older Access apps that use the OutputTo command (RTF Files).   When running full Access, no problem, but when running Runtime (Same PC) I get Error 2578 "Can't Complete the Output Operation". (Or without the error trap, it will report) "The object type, name, or output format is invalid."

It's very intermittant. Some PCs will have a problem, others will not.
askolitsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

puppydogbuddyCommented:
I don't know if this is the problem in your specific case, but here is the cause of the problem and the solution as posted in the public forums:

the runtime is looking for Utility.accda which is in the \Accwiz folder and which the runtime doesn't know about. Copying the file UTILITY.ACCDA from the ACCWIZ directory to the same directory as MSACCESS.EXE fixes the problem.

HTH
0
askolitsAuthor Commented:
I tried this on two PCs, but still a no go. It just showed up on another PC in a different program that's been running for years. Think there was some sort of patch that Microsoft did that starting to cause this error? Very frustrating.

 
0
puppydogbuddyCommented:
If you are converting to Access 2007 RunTime, the following link will download sp1 which contains a fix for errors related to the OutputTo in Access 2007 Runtime.

              http://support.microsoft.com/kb/943249
If you are still using Access 2000 Runtime, and have not converted to Access 2007 RunTime, the only other thing I can think of is to make sure you don't have any missing vb library references, particularly to the DAO3.6 dll
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

askolitsAuthor Commented:
Actually, I am testing this with two runtime versions. One is created using the MSAccess tools, the other is created using the WiseINstalltion using the SageKey scripts. They both are bvased off Access 2000 runtime files.

DAO360.dll reference? Well, what's odd is that these applications have been running years without a problem, so they must have their refernces set correctly. The other issue may be that another program that has been installed (which is done regularly) may have placed a second DAO360.dll in some other folder and then registered it. Is it possible the app is confused on which DAO360.dll to use? For instance, I found a few on a PC in places like C:\windows\system32  or maybe the  "C:\Program Files\Common Files\Microsoft Shared\DAO. Think this could be the problem?
0
puppydogbuddyCommented:
Not confused as to which one, but where to find it if it is in a different location then the location it was in when the reference was set, or missing altogether.
0
askolitsAuthor Commented:
"it if it is in a different location then the location it was in when the reference"

That's possible but remember, this is not an issue with the full version of Access, only runtime. You would think, if that was the issue, it would affect both.

Is there a way to find in the registry which one(s) have been registered and where they are. I did a search and had some hits on DAO360.dll, but cuoldn't figure out which was registered and which wasn't.

0
puppydogbuddyCommented:
0
askolitsAuthor Commented:
Actually, I was looking for a way to look in the registry itself to find which DAO360.dll has been registered in Windows and where it was located.
0
puppydogbuddyCommented:
I never monkey with the registry...too risky....the code I gave you should tll you what you need to know...

Here is something else you can try.....place a copy of DAO3.6 and any actively used OCX files in the same directory/folder as the database file. i understand that when access can't find a referenced file in its normal location, it checks for it tn the db folder before raising an error.
0
askolitsAuthor Commented:
"the code I gave you should tll you what you need to know..."

I don't quite agree. The code won't tell me whether the dll is registered or not within the Windows Environment, it just tells me that Access as referenced the file. I can unregister all those files and Access will still show them in the list. Wether or not the file is actually registered in the 'Windows Registry' is different then viewing it in the References dialog in Access. I'd like to find out if the file is actually regfistered when the Regsvr32 is executed. And if sucessful, where in the registruy that info is stored. I have no plans to change the registery, just get some info from it.


I'll try you other idea now.

0
puppydogbuddyCommented:
in re: registry, I don't know because I never monkey with it.
0
puppydogbuddyCommented:
If you still having problems, try the OutputTo using the snapshot format.
0
askolitsAuthor Commented:
Unfortunately, I can't because they may need to fine tune the doc before the end up emailing it out. RTF is the only option
0
askolitsAuthor Commented:
Well, never really figured out the problem. If I do I'll try to add it to this question.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.