i have seen this posted on a couple different forums but have NOT found a resolution to this issue.
i have uploaded my ASP .NET web application on GoDaddy's Shared Hosting. Im having an issue with the Request.ApplicationPath returning the folder name with the domain name. For example, if my domain is "www.mywebsite.com", Request.ApplicationPath returns "www.mywebsite.com/mywebsite" since the web application has been installed in the "mywebsite" virtual directory.
I AM in fact able to access all pages within the website with "www.mywebsite.com/samplepage.aspx". However, when I use the tilde operator to access a page ("~/samplepage.aspx"), it adds the folder name after the domain name and resolves to this url - "www.mywebsite.com/mywebsite/samplepage.aspx" (due to Request.ApplicationPath returning the foldername with the domain name)
I'd like to find a way such that references to the ...
Go to the complete details ...