473,804 Members | 2,280 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 2229
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

0
1367
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 set up a WebApp project. All went well. I compiled the project then opened a browser and tried to navigate to the page and I got the message listed below. I did some newsgroup browsing and found that since I had both v1.0.3705 and
0
1554
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 6 ( http://localhost/teste.htm ) and get a error ( The error is in the end of this page). I have trying the following solution:
0
1174
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 radio buttons and do a postback I am gettingthe following error: You are not authorized to view this page You do not have permission to view this directory or page usingthe credentials you supplied. HTTP 401.1 - Unauthorized: Logon Failed Internet...
1
4688
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 to a standard error page. This pseudo-code demonstrates what I want to do: if (condition) { Redirect to 403 error;
5
16934
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 -...
0
1011
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 newsgroups@a-znet.com and A2Z/Guest which don't make sense to me.
2
1302
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 http://localhost/website/default.aspx, I can view my page. What is causing me not be able to view my page when I enter in the computer name in the URL?
0
1333
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 error msg 'DISCO, wsdl, XML element not found etc.' I researched and added 'validate=true' in <httpHandlers><add verb="*.asmx"in machine.config(v1.x) and web.config(v2.x). Now I try and get 'You are not authorized to view this page' after I enter...
3
4325
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 as I need them. I can't find anything about it using searches. Yesterday, I removed the "Enable anonymous access" option from my web (within the Default Web Site). The web has Integrated Windows authentication checked. The site must check AD...
2
2031
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 for this website using ASP forms. How do I set up the permissions so when users click on this site the page will launch "You are not authorized to view this page"? and only authorized users using group can access the site. I configured the IIS where...
0
9714
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
10346
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...
0
10090
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
9173
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
7635
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
5531
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...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
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.