Hello,

I have enabled IIS server on Win XP Pro so that I can test a web app that I
am thinking about buying. I also had to install mini MS-Sql and NET 2.0 for
the app. Everthing seems to have been set up correctly.

However, when I attempt to bring up
http://localhost/adenin/portal.asp?login=1 in order to log into the
application I receive the message:

You are not authorized to view this page
You do not have permission to view this directory or page using the
credentials you supplied.

So, where do I need to start looking at what do I need to do to get around
this authorization problem? I'm not trying to serve anything onto the web,
just test this application locally before actually uploading to my ISP.

Many thanks.

Re: Authorization Problem With Personal IIS on Win XP by daKernel

daKernel
Thu Mar 06 14:29:53 CST 2008

On Mar 5, 8:44=A0pm, Strong Eagle
<StrongEa...@discussions.microsoft.com> wrote:
> Hello,
>
> I have enabled IIS server on Win XP Pro so that I can test a web app that =
I
> am thinking about buying. =A0I also had to install mini MS-Sql and NET 2.0=
for
> the app. =A0Everthing seems to have been set up correctly.
>
> However, when I attempt to bring uphttp://localhost/adenin/portal.asp?logi=
n=3D1in order to log into the
> application I receive the message:
>
> You are not authorized to view this page
> You do not have permission to view this directory or page using the
> credentials you supplied.
>
> So, where do I need to start looking at what do I need to do to get around=

> this authorization problem? =A0I'm not trying to serve anything onto the w=
eb,
> just test this application locally before actually uploading to my ISP.
>
> Many thanks.

You will need to add the IUSR_YOURPCNAME user to the folder where the
web site folders and files are pointed to in the IIS web site
settings. You might also need to add the Network Services and/or the
ASPNET user to the web site folders and files as well.

Larry

Re: Authorization Problem With Personal IIS on Win XP by StrongEagle

StrongEagle
Thu Mar 06 17:43:00 CST 2008



"daKernel" wrote:

> On Mar 5, 8:44 pm, Strong Eagle
> <StrongEa...@discussions.microsoft.com> wrote:
> > Hello,
> >
> > I have enabled IIS server on Win XP Pro so that I can test a web app that I
> > am thinking about buying. I also had to install mini MS-Sql and NET 2.0 for
> > the app. Everthing seems to have been set up correctly.
> >
> > However, when I attempt to bring uphttp://localhost/adenin/portal.asp?login=1in order to log into the
> > application I receive the message:
> >
> > You are not authorized to view this page
> > You do not have permission to view this directory or page using the
> > credentials you supplied.
> >
> > So, where do I need to start looking at what do I need to do to get around
> > this authorization problem? I'm not trying to serve anything onto the web,
> > just test this application locally before actually uploading to my ISP.
> >
> > Many thanks.
>
> You will need to add the IUSR_YOURPCNAME user to the folder where the
> web site folders and files are pointed to in the IIS web site
> settings. You might also need to add the Network Services and/or the
> ASPNET user to the web site folders and files as well.
>
> Larry
>

Please pardon my ignorance. IIS is totally new to me. I've found the
folders pointed to in the IIS manager but how do I do what you have suggested?

Many thanks.

Wayne

Re: Authorization Problem With Personal IIS on Win XP by daKernel

daKernel
Fri Mar 07 10:00:29 CST 2008

On Mar 6, 5:43=A0pm, Strong Eagle
<StrongEa...@discussions.microsoft.com> wrote:
> "daKernel" wrote:
> > On Mar 5, 8:44 pm, Strong Eagle
> > <StrongEa...@discussions.microsoft.com> wrote:
> > > Hello,
>
> > > I have enabled IIS server on Win XP Pro so that I can test a web app t=
hat I
> > > am thinking about buying. =A0I also had to install mini MS-Sql and NET=
2.0 for
> > > the app. =A0Everthing seems to have been set up correctly.
>
> > > However, when I attempt to bring uphttp://localhost/adenin/portal.asp?=
login=3D1inorder to log into the
> > > application I receive the message:
>
> > > You are not authorized to view this page
> > > You do not have permission to view this directory or page using the
> > > credentials you supplied.
>
> > > So, where do I need to start looking at what do I need to do to get ar=
ound
> > > this authorization problem? =A0I'm not trying to serve anything onto t=
he web,
> > > just test this application locally before actually uploading to my ISP=
.
>
> > > Many thanks.
>
> > You will need to add the IUSR_YOURPCNAME user to the folder where the
> > web site folders and files are pointed to in the IIS web site
> > settings. You might also need to add the Network Services and/or the
> > ASPNET user to the web site folders and files as well.
>
> > Larry
>
> Please pardon my ignorance. =A0IIS is totally new to me. =A0I've found the=

> folders pointed to in the IIS manager but how do I do what you have sugges=
ted?
>
> Many thanks.
>
> Wayne- Hide quoted text -
>
> - Show quoted text -

Wayne, after you have found the files that are being used by the IIS
web site, you will need to find the Top Level Folder (the main folder
being used for the web site) in windows explorer and single left mouse
click on it to highlite it. You will then need to single right mouse
click on it and choose "Properties". If there is a Security Tab shown
go to step a, if there is not a Security Tab shown go to step b.

Step A - Security Tab is visible:
You should now be in the Security settings. Click on the "Add" button,
then click on the "Locations" button and select your local machine
(this way when you show all the user names, you are being shown all
the usernames on your local machine), click ok, click the "Advance"
button and then click the "Find Now" button. This should now display
all the users and groups on your local machine. Find the users that
starts with IUSR_ and left mouse click on it and click the "OK" button
and click the next "OK" button again. Find the IUSR_ user in the
"Groups or user names:" text box on the Security tab, left mouse click
on the user and select "Modify" from the permission in the list below
the Groups or user names:" text box. Now click "apply" and "ok" and
the permissions have been set for the IUSR_ user to work with IIS.

Step B - Security Tab not visible:
Open up Windows Explorer, click "Tools", click "Folder Options", click
"View". Scroll down to the last option in the "Advanced Settings"
window, it should be "Use simple file sharing", click on the radio box
to the left of it to disable this option. This will now let you
manually set permission on folders and files. Now click "apply" and
"ok" and go to Step A.

HTH......Larry

Re: Authorization Problem With Personal IIS on Win XP by StrongEagle

StrongEagle
Mon Mar 10 23:01:00 CDT 2008



"daKernel" wrote:

> On Mar 6, 5:43 pm, Strong Eagle
> <StrongEa...@discussions.microsoft.com> wrote:
> > "daKernel" wrote:
> > > On Mar 5, 8:44 pm, Strong Eagle
> > > <StrongEa...@discussions.microsoft.com> wrote:
> > > > Hello,
> >
> > > > I have enabled IIS server on Win XP Pro so that I can test a web app that I
> > > > am thinking about buying. I also had to install mini MS-Sql and NET 2.0 for
> > > > the app. Everthing seems to have been set up correctly.
> >
> > > > However, when I attempt to bring uphttp://localhost/adenin/portal.asp?login=1inorder to log into the
> > > > application I receive the message:
> >
> > > > You are not authorized to view this page
> > > > You do not have permission to view this directory or page using the
> > > > credentials you supplied.
> >
> > > > So, where do I need to start looking at what do I need to do to get around
> > > > this authorization problem? I'm not trying to serve anything onto the web,
> > > > just test this application locally before actually uploading to my ISP..
> >
> > > > Many thanks.
> >
> > > You will need to add the IUSR_YOURPCNAME user to the folder where the
> > > web site folders and files are pointed to in the IIS web site
> > > settings. You might also need to add the Network Services and/or the
> > > ASPNET user to the web site folders and files as well.
> >
> > > Larry
> >
> > Please pardon my ignorance. IIS is totally new to me. I've found the
> > folders pointed to in the IIS manager but how do I do what you have suggested?
> >
> > Many thanks.
> >
> > Wayne- Hide quoted text -
> >
> > - Show quoted text -
>
> Wayne, after you have found the files that are being used by the IIS
> web site, you will need to find the Top Level Folder (the main folder
> being used for the web site) in windows explorer and single left mouse
> click on it to highlite it. You will then need to single right mouse
> click on it and choose "Properties". If there is a Security Tab shown
> go to step a, if there is not a Security Tab shown go to step b.
>
> Step A - Security Tab is visible:
> You should now be in the Security settings. Click on the "Add" button,
> then click on the "Locations" button and select your local machine
> (this way when you show all the user names, you are being shown all
> the usernames on your local machine), click ok, click the "Advance"
> button and then click the "Find Now" button. This should now display
> all the users and groups on your local machine. Find the users that
> starts with IUSR_ and left mouse click on it and click the "OK" button
> and click the next "OK" button again. Find the IUSR_ user in the
> "Groups or user names:" text box on the Security tab, left mouse click
> on the user and select "Modify" from the permission in the list below
> the Groups or user names:" text box. Now click "apply" and "ok" and
> the permissions have been set for the IUSR_ user to work with IIS.
>
> Step B - Security Tab not visible:
> Open up Windows Explorer, click "Tools", click "Folder Options", click
> "View". Scroll down to the last option in the "Advanced Settings"
> window, it should be "Use simple file sharing", click on the radio box
> to the left of it to disable this option. This will now let you
> manually set permission on folders and files. Now click "apply" and
> "ok" and go to Step A.
>
> HTH......Larry
>

Larry, thank you so much for a detailed response. As life turned out, I had
to pursue option b). After doing so, I went to option a). It turns out that
the adenin website I am trying to evaluate is marked as as (vdir) in the IIS
console and the web folder itself does not exist under Inetpub. Instead, it
is located in a folder called 'Web' in /Program Files/adenin/Web.

I did as required in a), found the IUSR and made the 'Modify'. After Apply
and OK I have a user 'Internet Guest Account (WAYNE\IUSR_WAYNE) with allow
permissions set. Unfortunately I still get the same not authorized problem.

For the adenin folder web there are adenin Users(WAYNE\adenin Users as well
as administrator, users, and other accounts. While playing around I gave
them all full control rights to this folder with no change in the error
message.

Don't know if I can supply you with additional information to id a solution
but your help is most appreciated.