---
title: "Hyperlink not navigating to the predefined URL in asp.net"  
description: "Hyperlink not navigating to the predefined URL in asp.net"  
author: "Anonymous User"  
published: 2014-11-17  
updated: 2014-11-17  
canonical: https://www.mindstick.com/forum/12619/hyperlink-not-navigating-to-the-predefined-url-in-asp-dot-net  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Hyperlink not navigating to the predefined URL in asp.net

I have a hyperlink that does not navigate to the set URL. It is dead [simple](https://yourviews.mindstick.com/story/1469/5-simple-ways-to-stay-fit-amp-healthy) I have no idea what is wrong. The [link](https://www.mindstick.com/articles/23633/link-builder) in my [aspx page](https://www.mindstick.com/forum/218/how-do-i-create-an-aspx-page-that-periodically-refreshes-itself):

```
<asp:HyperLink ID="HyperLinkLostPass"runat="server"     Text="Forgot username or password?" NavigateUrl="~/test.aspx"
Target="_self">   
</asp:HyperLink>
```

## Replies

### Reply by Sumit Kesarwani

Hi Chintoo, \

You can solve this by adding the following to your web.config file:

```
  <location path="test.aspx">    <system.web>     
<authorization>        <allow users="*"/>     
</authorization>   
</system.web>  </location>
```


---

Original Source: https://www.mindstick.com/forum/12619/hyperlink-not-navigating-to-the-predefined-url-in-asp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
