473,395 Members | 2,253 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.

You are not authorized to view this page HTTP Error 403 - Forbidden

Hello.

I developed and tested a web application using VS.NET 2003, VB, .NET
Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form.

Development testing works fine on my development computer, but when i take
the files to another computer and install them using the deployment project
files, when i go to execute it on the different computer, it gives the error
"You are not authorized to view this page. HTTP Error 403 - Forbidden.

I am logged on the computer as Administrator.

I gave all of the following full permissions to the wwwroot folder:
Administrastor
Administrators Group
IUSR
System
Network
ASP.NET user

Any help would be gratefully appreciated.

Thanks,
Tony

Sep 11 '06 #1
5 2208
I am logged on the computer as Administrator.
>
I gave all of the following full permissions to the wwwroot folder:

Check if Anonymous Access is enabled in IIS.
It's not about folder access but HTTP access :-)
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------
Sep 11 '06 #2
Hello Gaurav.

Yes, Anonymous Access is checked.

Thanks,
Tony

"Gaurav Vaish (www.EduJiniOnline.com)"
<ga*****************@nospam.gmail.comwrote in message
news:Oe**************@TK2MSFTNGP04.phx.gbl...
>I am logged on the computer as Administrator.

I gave all of the following full permissions to the wwwroot folder:


Check if Anonymous Access is enabled in IIS.
It's not about folder access but HTTP access :-)
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------


Sep 11 '06 #3
Does the anonymous user have file system level ACL access to the files?
That can cause this problem as well.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Tony Girgenti" <tony(nospam)@lakesideos.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hello Gaurav.

Yes, Anonymous Access is checked.

Thanks,
Tony

"Gaurav Vaish (www.EduJiniOnline.com)"
<ga*****************@nospam.gmail.comwrote in message
news:Oe**************@TK2MSFTNGP04.phx.gbl...
>>I am logged on the computer as Administrator.

I gave all of the following full permissions to the wwwroot folder:


Check if Anonymous Access is enabled in IIS.
It's not about folder access but HTTP access :-)
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------



Sep 12 '06 #4
Hello Joe.

By "Anonymous user", do you mean the ANONYMOUS LOGON" group. That's the
only one that i can find with "Anonymous" in it.

Also, what is file system level ACL access ?

Thanks,
Tony

"Joe Kaplan" <jo*************@removethis.accenture.comwrote in message
news:u6**************@TK2MSFTNGP02.phx.gbl...
Does the anonymous user have file system level ACL access to the files?
That can cause this problem as well.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Tony Girgenti" <tony(nospam)@lakesideos.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>Hello Gaurav.

Yes, Anonymous Access is checked.

Thanks,
Tony

"Gaurav Vaish (www.EduJiniOnline.com)"
<ga*****************@nospam.gmail.comwrote in message
news:Oe**************@TK2MSFTNGP04.phx.gbl...
>>>I am logged on the computer as Administrator.

I gave all of the following full permissions to the wwwroot folder:
Check if Anonymous Access is enabled in IIS.
It's not about folder access but HTTP access :-)
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------




Sep 12 '06 #5
No, when you configure anonymous access in IIS, it actually logs in a fixed
user account, typically named IUSR_MACHINE, that is used for applying
security to the executing web request.

When Windows accesses any securable kernel object like a file or registry
key, it compares the security settings (the ACL) on that object to the
security capabilities of the currently executing thread's security context
and decides whether the requested access is allowed.

In ASP.NET, it sometimes gets confusing whether the anonymous user account
or the web server process account will get used when making these security
decisions. However, you can always ACL your files to allow access to both.

The best way to determine if a file system ACL issue is the problem is to
use filemon. It will tell you all the files that are being accessed, will
tell you if an access denied was triggered, what type of access was
requested that was denied and what account was used that was denied. It
basically tells you exactly how to change the ACL to fix the problem.

Best of luck,

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Tony Girgenti" <tony(nospam)@lakesideos.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hello Joe.

By "Anonymous user", do you mean the ANONYMOUS LOGON" group. That's the
only one that i can find with "Anonymous" in it.

Also, what is file system level ACL access ?

Thanks,
Tony

"Joe Kaplan" <jo*************@removethis.accenture.comwrote in message
news:u6**************@TK2MSFTNGP02.phx.gbl...
>Does the anonymous user have file system level ACL access to the files?
That can cause this problem as well.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Tony Girgenti" <tony(nospam)@lakesideos.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>Hello Gaurav.

Yes, Anonymous Access is checked.

Thanks,
Tony

"Gaurav Vaish (www.EduJiniOnline.com)"
<ga*****************@nospam.gmail.comwrote in message
news:Oe**************@TK2MSFTNGP04.phx.gbl...
I am logged on the computer as Administrator.
>
I gave all of the following full permissions to the wwwroot folder:
Check if Anonymous Access is enabled in IIS.
It's not about folder access but HTTP access :-)
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------




Sep 12 '06 #6

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

Similar topics

0
by: Tomas Vera | last post by:
Hello All, I'm posting this for the benefit of the search engines. I've been developing web apps on my computer for about 18 months using VS2002. This morning, I was showing a colleague how to...
0
by: Thiago Campos Pereira | last post by:
Hi, I am with the following problem. I have installed a IIS 6.0 / Windows 2003 and created a simple HTML Page (with a simple text, for test - Test.HTML). I am trying access the page with the IE...
0
by: Tim via .NET 247 | last post by:
I am creating a webpage using VB.Net with several datagrids, byclicking different radio buttons, I hide and display thedifferent grids. I am able to do the first post but when Iclick one of the...
1
by: Dylan Parry | last post by:
Hi folks, I've been searching for this for some time, but all I seem to be able to find are pages describing how to set custom error pages, whereas what I want to do is simply redirect the user...
5
by: Tony Girgenti | last post by:
Hello. I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. Development testing works fine on my...
0
by: Franky | last post by:
Clicking on http://localhost/ or http://127.0.0.1/ I get a dialog box like the following Connecting to localhost Username:---- Password:---- The username is a combobox containing...
2
by: =?Utf-8?B?VG9t?= | last post by:
If I try to access my web page as http://computername/website/default.aspx I'm getting an error message: You are not authorized to view this page, but, if I do...
0
by: =?Utf-8?B?TGVraGEgSm9obnNvbg==?= | last post by:
Hi all I created a custom web service, generated XXwsdl.aspx, XXdisco.aspx and copied them to SP server. I can see the webservice while adding Web Reference. But the system showed the classical...
3
by: ssg31415926 | last post by:
I'm getting the error: "Unable to open the Web 'http://blah/blahblah'. You are not authorized to perform the current operation". I have changed a few things recently but I can't change them back...
2
by: techno01 | last post by:
Hi, I am new in ASP and I just created a website in Visual Studio 2005. I only want a group that have access to this website. I also created a security group in AD. I am also using SQL Server 2005...
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
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.