473,785 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1337
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_MACHINENAM E 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******@nospa m.net> wrote in message
news:u2******** ******@TK2MSFTN GP10.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
2187
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 this URL-http://localhost/quickstart to use Quickstart, the webpage could not display.IE always asks me to download "default.aspx". So, how to config IIS or something else to use Quickstart correctly?
4
2736
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 - is instantiated from a VBScript the code looks to a simple text file for initialisation of certain variables. I want this text file to reside with the dll when it is installed (via a setup project) and have the file opened by the Connection...
0
253
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 seen the samples given by .NET Framework and trying to repeat the same with my own pages. I succeded half way but important part is still missing :(
0
257
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 but important part is still missing :( Tried to use SimpleControl(.Net Samples QuickStart/winforms/samplesWritingControls/SimpleControl..)
5
1697
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: 'Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.'
10
3737
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 Error in '/QuickStartv20' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file
1
3772
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? Thru some particular xml file or a text file?? PLZ reply asap as its urgent
1
1679
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> <uc1:Box2 id="Box2" runat="server"></uc1:Box2<----THIS CONTAINS A DATALIST In Box1, I have a dropdown list that gets selected and should set
3
1089
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: Could not load file or assembly SimpleControlSamples or one of its dependencies. The system cannot find the file specified.
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.