mdProgrammer
New member
- Joined
- Aug 2, 2005
- Messages
- 3
- Programming Experience
- 10+
Not sure if this is more of an IIS7 issue, or ASP.NET issue.
I have an application which is using Windows Authentication. When I start it, it opens up as "http://localhost:<some port number>/default.aspx. In previous versions of asp.net (1.1) and IIS6, it would show something like "http://localhost/webdirectory/default.aspx". Is there something I should set up to make it always use the webdirectory?
Also, this leads to my 2nd problem. For testing, I put in "response.write(user.identity.name)" in the Page_Load event. This works fine when the website is "http://localhost:<port number>/default.aspx", but when I go to "http://localhost/WebDirectory/default.aspx", the user.identity.name result doesn't show. Why isn't it working?
I have an application which is using Windows Authentication. When I start it, it opens up as "http://localhost:<some port number>/default.aspx. In previous versions of asp.net (1.1) and IIS6, it would show something like "http://localhost/webdirectory/default.aspx". Is there something I should set up to make it always use the webdirectory?
Also, this leads to my 2nd problem. For testing, I put in "response.write(user.identity.name)" in the Page_Load event. This works fine when the website is "http://localhost:<port number>/default.aspx", but when I go to "http://localhost/WebDirectory/default.aspx", the user.identity.name result doesn't show. Why isn't it working?