Hi,
I am trying to display a dwf file in IE, but the page crashes, I don't know the reason. Sometimes, it loads but with discrepancies.
How to fix it?
Thanks.
Thank you for your question.
Please provide more details for your issue.
- What version of ADR you installed?
- Does that dwf/x file can be opened in ADR application?
- Is this issue only happens for a special dwf/x file? Or all of dwf/x files?
- What are discrepancies when it was loaded?
Yes, please tell us how you fixed it. ADR crashes IE at least 3 times a week for me. No pattern I can see but it is a real pain.
Craig
Hi,
In my case, I was supposed to provide the filename dynamically.
Intially I used this:
DwfViewer.SourcePath = fileurl;
But IE would crash now and then. So I used the below script.
<script language='Javascript' >
var fileurl ; // assign filename dynamically here
function writeAppletTag() {
document.writeln('<OBJECT id="DwfViewer" style="position:absolute; top:0px; left:0px;" classid="clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF" codebase="http://www.autodesk.com/global/dwfviewer/installer/DwfViewerSetup.cab" height="580px" width="980px">');
document.writeln(buildParamTag('src', fileurl));
document.writeln('</OBJECT>');
}
function buildParamTag(name, value) {
return '<PARAM NAME="' + name + '" VALUE="' + value + '">';
}
writeAppletTag();
</script>
It solved the crashing problem. Don't know if this is any relevant to your problem.
Thanks.