Link is not working Well
<p>this is my link in my page</p>

<p>asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Add 
                    Record /asp:HyperLink</p>

<p>with VS2008 it is fine but with IIS it creates the problem like </p>

<p>Server Error in '/' Application.</p>

<p>The resource cannot be found.</p>

<p>Description: HTTP 404. </p>

<p>my directory to view.aspx page and default.aspx page is same which library.</p>

<p>also the path changes form </p>

<p><a href="http://localhost/library/View.aspx" rel="nofollow">http://localhost/library/View.aspx</a>
to 
<a href="http://localhost/Default.aspx" rel="nofollow">http://localhost/Default.aspx</a></p>

<p>is anybody help me where the problem is ?</p>
