I'm not an expert in Crystal Reports, however you might find my info and experiences to be of some use with your question. I've been working with VB6.0 for some time. One day I decided to checkout Visual Studio 2008, (which came with crystal reports) I decided I didn't like it and removed it from my computer. It was after the removal of crystal reports that my computer went to hell. Every program I tried to install since it's removal was not being allowed, also every program I tried to uninstall was not being allowed. After some research I found out that Crystal Reports was the culprit. It has a management package that was designed to protect it's rights management. Simply stated.....it was governing parts of my registry by setting certain parts of my registry key permissions to, "read only". I ended up having to use the administrative tool in Windows XP and reloading default permissions through an existing INF file thus resetting every registry key back to it's default read/write state. I would not recommend you do this. Doing so may harm your existing install of Crystal Reports. What I would do though if I was in your situation, would be to change just the one key that pertains to your .tmp file location in regedit. My guess is it would be located HKLM under software. You can change any key permissions by simply right clicking any key and go to, "permissions" However, if i'm guessing right, Crystal Reports has a backup mech. that would not allow you to change the key permissions even in regedit. In wich case you'll have to use a utility like
::.HERE.:: and create a custom bat file for just that one key. You can try contacting Crystal Reports directly but i'm quite sure they'll just tell you to kindly, "get bent" lol. This method of protection serves no purpose other then to protect their software from being pirated. So i'm 99% sure they won't help you in the matter that you need. Changing permissions to registry keys back to default would negate their program protective measures. From the problem you described i'm 90% sure that is exactly what is going on due to what I already know about the protection measures of Crystal Reports. Any file that is being generated with Crystal Reports, temp or otherwise is now governed by Crystal Reports through your registry, through a registry like firewall, also run by Crystal Reports. This is why you're getting Access Denied when you try to right click the file and delete it locally. You have two options.
1.) Become submissive and a slave to their tech support and wait for them to come up with a solution that will allow them to maintain control over your registry, with a patch of some sort provided by either Microsft Visual Studio or through Crystal Reports directly that will resolve your particular issue.
2.) Setup a dummy computer install all the crystal reports programs on it. Get it all setup, then do a full registry reset (from that link i posted above) and see if you can still use crystal reports after the full registry reset and if that truely resolves all the access conflicts. If so then apply it your main work machine and once again become the master of your registry.
Hope that helps,
9x
×