FIX: WinIOException Occurs when Calling dumpHTML or dumpDHTML (195173)
The information in this article applies to:
This article was previously published under Q195173 SYMPTOMS
When calling DhDocument.dumpHTML() or DhDocument.dumpDHTML() the following
exception might occur:
com.ms.wfc.io.WinIOException: The system cannot find the path specified
(D:/Visual%20Studio%20Projects/Dump%20Test/__dump.txt)
at com/ms/wfc/io/File.<init> (File.java)
at com/ms/wfc/io/File.create (File.java)
at com/ms/wfc/html/DhDocument.writeHTML (DhDocument.java)
at com/ms/wfc/html/DhDocument.dumpHTML (DhDocument.java)
at com/ms/wfc/html/DhDocument.dumpDHTML (DhDocument.java)
CAUSE
The dumpHTML method does not translate URLs with "%20" into a space when
determining the file name to create.
NOTE: Other characters besides "%20" in the URL might also not be translated properly.
void dumpDHTML(Object, Event) has been deprecated by the author
of 'com.ms.wfc.html.DhDocument' and should not be used.
RESOLUTION
Do one of the following to work around this issue:
- Make sure your files are stored in a directory structure containing only numbers and letters.
- Write your own method to show the HTML and make sure the file it creates is in a directory structure containing only numbers and letters.
- Write your own method that loads a blank page and then dynamically adds data to the page.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/14/2006 |
---|
Keywords: | kbBug kbDHTML kbfix kbhtml kbJava kbVS600sp3fix kbWFC KB195173 |
---|
|