473,395 Members | 1,885 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

IIS configuration problems with quickstart samples

Hello All,

I have installed the quick start samples that come along with .net sdk.
I am facing some strange behavior on my machine. I would be gratefull if
someone could explain what is going on.

If I type http://15.76.221.178/quickstart in my browser I get an error
message you are not authorized to view this page.

If I type http://localhost/quickstart. by browser automatically goes to
http://15.76.221.178/ that is my home page.

If I type http://127.0.0.1/quickstart. Everything works fine and I go
into the quickstart home page.

Why are the other 2 options not working correctly. Why is it that the IP
address of the machine gives me a authorization problem and why does the
localhost not work at all?

I use a domain account to log on to my machine and I am in the
administrator group of this local machine.

I would appriciate any help in this regard.

regards,
Abhishek.

Nov 18 '05 #1
1 1319
This error is coming because when you type http://localhost in your browser,
IIS automatically authenticates you, but when you type http://15.76.221.178
in your browser, IIS doesnt authenticates you, as IIS gets that you are an
external surfer. so for that you need to authenticate yourself before
viewing the web site.. but when user visits the web site, all users doesnt
know the username and password, so you have to give anonymous access to
quickstart folder. for that open a folder quickstart from Windows Explorer
or My Computer, and then right click on that folder, select properties,
click on security tab in properties dialog box, and then click on Add button
click on Advanced button, then click on Find Now buttong and then from the
list select IUSR_MACHINENAME and click on OK button, then click on Ok button
again close the properties dialog box by clicking on OK button, this will
allow IIS allows anonymous access, and anonymous access is having very low
previllages.

Hope this helps you.

--
Dhaval Faria
Founder, Programmer
Hirdhav (http://www.hirdhav.com)
Microsoft India Community Star
"Abhishek Srivastava" <ab******@nospam.net> wrote in message
news:u2**************@TK2MSFTNGP10.phx.gbl...
Hello All,

I have installed the quick start samples that come along with .net sdk.
I am facing some strange behavior on my machine. I would be gratefull if
someone could explain what is going on.

If I type http://15.76.221.178/quickstart in my browser I get an error
message you are not authorized to view this page.

If I type http://localhost/quickstart. by browser automatically goes to
http://15.76.221.178/ that is my home page.

If I type http://127.0.0.1/quickstart. Everything works fine and I go
into the quickstart home page.

Why are the other 2 options not working correctly. Why is it that the IP
address of the machine gives me a authorization problem and why does the
localhost not work at all?

I use a domain account to log on to my machine and I am in the
administrator group of this local machine.

I would appriciate any help in this regard.

regards,
Abhishek.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Damon | last post by:
I installed a .NET on my windowsXP pro. And, I ran "C:\Program Files\Microsoft Visual Studio ..NET\FrameworkSDK\Samples\Setup\ConfigSamples.exe" and got same virtual directories. when I use...
4
by: Jessard | last post by:
Hi Guys and Girls, I have a situation where I am wishing to deploy a .NET dll onto a number of servers. The classes in the DLL will be used by VBScripts. When one of the classes - Connection -...
0
by: Netsharp Ninja | last post by:
I am not sure this belongs to C# group but as I could not get a respond I wondering anybody here could help me Hello All, I am trying to develop a windows control to use in ASP.NET page. I have...
0
by: Netsharp Ninja | last post by:
Hello All, I am trying to develop a windows control to use in ASP.NET page. I have seen the samples given by .NET Framework and trying to repeat the same with my own pages. I succeded half way...
5
by: Bendik Engebretsen | last post by:
Developed this personal WEB site with the new ASP.NET 2.0 Beta: http://www.techsoft.no/bendik/ It has got this problem: After a while browsing through pictures on the site, an error occurs: ...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
1
by: rohan_from_mars | last post by:
I need to store configuration details like Database Connection String, and other config details in a single location so that I can access it from any .cs file of the prj. How is it possible?...
1
by: Roffers | last post by:
Okay I have a parent page, we'll call it parent.aspx and it holds the following two user controls <uc1:Box1 id="Box1" runat="server"></uc1:Box1<----THIS CONTAINS A DROP DOWN LIST <br>...
3
by: kal | last post by:
Hi I am trying this simple custom control. from here: http://samples.gotdotnet.com/quickstart/aspplus/doc/webctrlauthoring.aspx#innercontent when i browse the page it gives me an error: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.