Microsoft KB Archive/198452

= ACC2000: Unable to Open Web Site When You Click a Hyperlink on an Access Form =

Article ID: 198452

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q198452



For a Microsoft Access 2002 version of this article, see 289530.



SYMPTOMS
When you click a hyperlink, you may receive the following error message:

Unable to open . The Internet site reports that the item you requested could not be found. (HTTP/1.0 404)

-or-

When you click a hyperlink, Microsoft Internet Explorer may start, and it displays a message similar to:

Sorry, there is no .com Web page matching your request.

It's possible you typed the address incorrectly, or that the page no longer exists.



CAUSE
This behavior occurs if the following two conditions are true:
 * A Uniform Resource Locator (URL) is assigned to the Hyperlink Base property in the Database Properties dialog box.

-and-


 * An invalid value is assigned to the Hyperlink Address property of the hyperlink control.



RESOLUTION
Type a valid value in the Hyperlink Address property of the hyperlink control.



MORE INFORMATION
When you type an invalid value in the Hyperlink Address property of a hyperlink control on an Access form or report, Microsoft Access has no method by which to validate the value before using it. When you open the form or the report and you click the hyperlink, you will encounter one of the two possible results that is mentioned in the "Symptoms" section of this article.

Steps to Reproduce the Behavior
 Open the sample database Northwind.mdb. On the File menu, click Database Properties. In the Hyperlink base text box, type http://www.msn.com/, and then click OK. Create a new blank form.</li> On the Insert menu, click Hyperlink.</li> In the Insert Hyperlink dialog box, type the following text in the Type the file or Web page name box, and then click OK:

BlankLink

</li> Open the form in Form view, and then click the Blank Link hyperlink.

Note that you encounter one of the problems listed in the "Symptoms" section of this article.</li></ol>

Additional query words: HTTP/1 0

Keywords: kbprb KB198452

-

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

© Microsoft Corporation. All rights reserved.