>I have the following situation:
>
>Windows 2003 server.
>I created a web site (MyApp) in the IIS.
>.NET 2.0 Framework.
>
>When I run an HTML file from the following link works without any problems:
>
>http://172.28.11.129/MySite/MyTest.htm
>
>
>The HTML page is displayed.
>
>When I try to run any .ASPX page I get different negative reports:
>
>1. If I run the page with local host like
>
>http://localhost/MySite/Mytest.aspx
>
>
>The error "Server Error in '/' Application" points to the Web.config on the line "Authentication mode="Windows". The
>
>2. If I run the page with IP as:
>
>http://172.28.11.129/MySite/MyTest.aspx
>
>
>Message "Server Error in '/' Application. Resource cannot be found"
>
I realized that the problem was in the fact that I was using my site name (MySite) in the URL. The IP address, I guess, actually includes this address. That is, the correct syntax should have been:
http://172.28.11.129/MyTest.aspx
The above syntax works.
What I still don't get is why it does not work with LOCALHOST. I am pretty sure that the url with LOCALHOST should be
http://LOCALHOST/MySite/MyTest.aspx
But the above one does not work.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham