Hyperlinks becoming invalid
-
Dear All, I'm facing a strange problem here. I've added a user control in my application that is basically a Page Header for many of the pages of the application. This header just contains hyperlinks to other areas of the application with navigateURL specified as "../Directory/Page.aspx". During development and still after deployment if accessed by using the "localhost" instead of "MachineName" it works fine. But when I access the application using the url:" http://MachineName/AppName" the links on the user control become invalid and take the users to page saying "Resource cannot be found." When I observed the URL in the browser, it is as follows: 1) When accessed by using localhost: http://localhost/AppName/Store/ViewMIRForApproval.aspx 2) When accessed by using the machine name: http://mis-7/AppName/AppName/Store/ViewMIRForApproval.aspx Notice the occurence of AppName twice in the second case. Kindly suggest me how to get rid of this problem. With best regards, Zee_Zee