I have a Java based web application that runs on Apache-Tomcat. I'm having one problem with downloading RTF documents to WordPerfect.
The way it works is the application creates a RTF document and saves it on the server, providing a link to open it in MS Word or Corel WordPerfect. It works with any version of Word and WordPerfect, but there is a problem I get sometimes with WordPerfect.
In order to open in WordPerfect, I have to change the file association for RTF so it opens in WP. The problem is that the web application downloads the RTF file to a temporary location in the user's ...\local settings\temporary internet files\content.IE5\sometempname folder.
On most computers, this presents no problems. On some, I get an error that WordPerfect can't find the file. The error I get is something like this:
C:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.IE5\4HE7GDMN\DistrictInformation.rtf cannot be opened or retrieved: the file cannot be found.
I can find the file using Windows Explorer, so I know it's there. The application downloads it to that location, then uses the file association for RTF files to open the file in the application that is associated with it.
The thing that is puzzling and so hard to figure out is that it works on some computers, but not on others. The version of Windows in all cases is Windows XP Pro SP2.
The version of WordPerfect varies from 9.08033 to 12.xxx. The version of WP doesn't seem to matter so much as some setting on the computer. There are 2 computers right next to each other that have the same OS version # and the same exact WP version #. One works with no problems, the other gets the error and won't open the file.
If I choose to download the file to a local folder (such as C:\Download) instead of open the file directly, then open the downloaded file from that folder, WP opens it just fine. It just gives the error if I try to open it directly using the file association.
The problem is the same in IE 6 and IE 7. I've put the application URL in the Trusted Sites under security, so that shouldn't be an issue.
Does anyone know how to resolve this?
The way it works is the application creates a RTF document and saves it on the server, providing a link to open it in MS Word or Corel WordPerfect. It works with any version of Word and WordPerfect, but there is a problem I get sometimes with WordPerfect.
In order to open in WordPerfect, I have to change the file association for RTF so it opens in WP. The problem is that the web application downloads the RTF file to a temporary location in the user's ...\local settings\temporary internet files\content.IE5\sometempname folder.
On most computers, this presents no problems. On some, I get an error that WordPerfect can't find the file. The error I get is something like this:
C:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.IE5\4HE7GDMN\DistrictInformation.rtf cannot be opened or retrieved: the file cannot be found.
I can find the file using Windows Explorer, so I know it's there. The application downloads it to that location, then uses the file association for RTF files to open the file in the application that is associated with it.
The thing that is puzzling and so hard to figure out is that it works on some computers, but not on others. The version of Windows in all cases is Windows XP Pro SP2.
The version of WordPerfect varies from 9.08033 to 12.xxx. The version of WP doesn't seem to matter so much as some setting on the computer. There are 2 computers right next to each other that have the same OS version # and the same exact WP version #. One works with no problems, the other gets the error and won't open the file.
If I choose to download the file to a local folder (such as C:\Download) instead of open the file directly, then open the downloaded file from that folder, WP opens it just fine. It just gives the error if I try to open it directly using the file association.
The problem is the same in IE 6 and IE 7. I've put the application URL in the Trusted Sites under security, so that shouldn't be an issue.
Does anyone know how to resolve this?