473,796 Members | 2,569 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 16932
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.EduJiniOnl ine.com)"
<ga************ *****@nospam.gm ail.comwrote in message
news:Oe******** ******@TK2MSFTN GP04.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)@l akesideos.comwr ote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Hello Gaurav.

Yes, Anonymous Access is checked.

Thanks,
Tony

"Gaurav Vaish (www.EduJiniOnl ine.com)"
<ga************ *****@nospam.gm ail.comwrote in message
news:Oe******** ******@TK2MSFTN GP04.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.ac centure.comwrot e in message
news:u6******** ******@TK2MSFTN GP02.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)@l akesideos.comwr ote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
>Hello Gaurav.

Yes, Anonymous Access is checked.

Thanks,
Tony

"Gaurav Vaish (www.EduJiniOnl ine.com)"
<ga*********** ******@nospam.g mail.comwrote in message
news:Oe******* *******@TK2MSFT NGP04.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)@l akesideos.comwr ote in message
news:%2******** ********@TK2MSF TNGP04.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.ac centure.comwrot e in message
news:u6******** ******@TK2MSFTN GP02.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)@l akesideos.comwr ote in message
news:%2******* *********@TK2MS FTNGP06.phx.gbl ...
>>Hello Gaurav.

Yes, Anonymous Access is checked.

Thanks,
Tony

"Gaurav Vaish (www.EduJiniOnl ine.com)"
<ga********** *******@nospam. gmail.comwrote in message
news:Oe****** ********@TK2MSF TNGP04.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
1697
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 'default.asp' for the default document. Aside from that they appear to be configured the same. Any ideas? Thanks, Brian
1
3646
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 Guid Connect() { return Guid.NewGuid(); }
11
1641
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 Application Center Test, number of Http errors rises with the number of requests, so I suspect those are Http exceptions. The worst part is that, when total number of exceptions accumulated to certain extent, it seems to cause messive...
1
11086
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 understand what users or, preferably, groups, need to have what permissions for basic operation of ASP.NET 2.0. And specifically WHAT permissions should I give these users?
5
2229
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 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 -...
1
1293
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
7830
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 some pages, I suspect that's due to issues with IE6. I'm hoping to use the app on the company network, and most of our computers have to stay at IE6 until the powers that be say we can upgrade to IE7. Anyways, here's the BIG error in my case. On...
1
15525
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 pages and the database are both on the server, where I want them to be, it displays the error message below: You are not authorized to view this page You do not have permission to view this directory or page using the credentials that you supplied....
1
2757
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, W3SVC1, REMEDYDEV, 10.3.3.30, 328, 321, 708, 200, 0, GET, /businessobjects/enterprise115/WebTools/Default.htm, -, 10.3.3.30, -, 11/18/2007, 7:17:20, W3SVC1, REMEDYDEV, 10.3.3.30, 15, 345, 1772, 404, 50, GET,...
0
9680
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
9528
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
10228
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
10173
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
10006
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9052
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...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2925
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.