Help and Support
 

powered byLive Search

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

Article ID:306094
Last Review:January 31, 2007
Revision:3.2
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.

Back to the top

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 "Show HTTP friendly error message" setting is on.

Back to the top

WORKAROUND

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

Back to the top

STATUS

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

Back to the top

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 "ACCESS DENIED" error. URLMON handles this error as a generic error, and displays the "Page cannot be displayed / Cannot find server or DNS Error" error message.

Back to the top


APPLIES TO
Microsoft Internet Explorer 6.0, when used with:
  Microsoft Windows XP Home Edition
  Microsoft Windows XP Professional
  Microsoft Windows XP Media Center Edition
  Microsoft Windows XP Tablet PC Edition
  Microsoft Windows 2000 Advanced Server
  Microsoft Windows 2000 Datacenter Server
  Microsoft Windows 2000 Professional Edition
  Microsoft Windows 2000 Server
  Microsoft Windows NT Server 4.0 Standard Edition
  Microsoft Windows NT Server 4.0, Terminal Server Edition
  Microsoft Windows NT Workstation 4.0 Developer Edition
  Microsoft Windows 98 Second Edition

Back to the top

Keywords: 
kberrmsg kbenv kbprb KB306094

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.