Microsoft KB Archive/306094

= Cannot View Page When You Use a FILE:// URL =

Article ID: 306094

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0

-



This article was previously published under Q306094



SYMPTOMS
When you click on a file:// URL that points to a file for which you do not have the required permissions, Internet Explorer may generate the following generic error message:

Page cannot be displayed / Cannot find server or DNS Error.



CAUSE
This problem occurs under the following conditions:
 * The FILE:// URL refers to a UNC name that points to a file (not a UNC name to a share or folder.).
 * The client user account does not have proper permissions to access the share where the file resides.
 * The Internet Explorer &quot;Show HTTP friendly error message&quot; setting is on.



WORKAROUND
To work around this problem, use HTTP:// URLs instead of FILE:// URLs.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
In the preceding scenario, Internet Explorer calls Urlmon.dll to bind to the FILE:// URL. URLMON uses the SMB protocol to request the file. Because the client does not have proper permissions on the file, the server sends back an &quot;ACCESS DENIED&quot; error. URLMON handles this error as a generic error, and displays the &quot;Page cannot be displayed / Cannot find server or DNS Error&quot; error message.

Keywords: kberrmsg kbenv kbprb KB306094

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.