473,395 Members | 1,856 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 16881
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

4
by: Brian Rupert | last post by:
I have 2 sites on my Windows Server 2003/ISA/IIS machine. One of the sites works fine and has 'default.htm' for the default document. The other site returns an 'HTTP error 404' and has a...
1
by: BuddyWork | last post by:
Hello All, I'm using VS2003.NET Framework 1.1 with Microsoft Application Center Test. I am doing stress testing on a webservice. The method of the webservice has the following code. public...
11
by: George | last post by:
Everytime when I redirect from one particular page to another, it will raise 4 exceptions, before Page_Load routine runs. I can't figure out a way to find out what are the exceptions. When I use...
1
by: Alex Maghen | last post by:
I'm getting the error "HTTP Error 403.1 - Forbidden: Execute access is denied" when I try to reach my ASPX pages. Before I go giving Windows permissions to my docroot, etc., I want to...
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...
1
by: harshsingla | last post by:
i have installed .net but when i try to do smthng in asp then igot mesg. http access forbidden plz tell me the solution
0
by: Wayne Deleersnyder | last post by:
Hi All, I'm hoping to try to solve this error. I'm currently putting together a little web app, but I need it to work under both IE6, IE7, Mozilla, etc... Although the formatting is off for...
1
by: HMS1 | last post by:
Hi, When I try to access an SQL Server 2005 database using ASP pages, it works fine on one PC when the ASP pages are on the local machine and the database on the server. However, when the ASP...
1
by: ix27 | last post by:
I installed business object with a fresh new installation. When I open the launchpad (.aspx page), HTTP Error 404 occurs. The log file shows the following log: 10.3.3.30, -, 11/18/2007, 7:17:20,...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.