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



The information in this article applies to:

  • Microsoft Access 2000

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 <HyperlinkName>. 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 <ServerName>.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

  1. Open the sample database Northwind.mdb.
  2. On the File menu, click Database Properties.
  3. In the Hyperlink base text box, type http://www.msn.com/, and then click OK.
  4. Create a new blank form.
  5. On the Insert menu, click Hyperlink.
  6. 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

  7. 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.

Modification Type:MajorLast Reviewed:6/24/2004
Keywords:kbprb KB198452