473,386 Members | 1,786 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,386 software developers and data experts.

File Permissions? Aghhhrr

Hi,

Could anyone give me a clue as to what is going on with my ASP.NET app?
Recenlty when I try and run the application, I get propted for logon
credentials when trying to access a page in a particular directory. I have
no idea why I am being prompted for these. I have checked that the website
has anonymous access enabled (it is using the IUSR_ account). I'm my
frustration I have also allowed full access to all the files and directories
within the website for the IUSR_ account, and ASPNET account. I have tried
entering every username I can think of in the login prompt (including
administration accounts) but am still getting

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

Could anyone tell me what might be going on??

Thanks!
Nov 23 '05 #1
1 809
The error you are getting is client-side, that is, the server will not
send a file that is requested by your browser. Contrast that with
server-side, where you will get an ASP.NET error page and a 500 error
code.

The exact file causing the problem can be found in the IIS logs at c:
\windows\system32\logfiles\w3svcxxx (unless moved from default).

For permissions, you will not need to modify permissions fro ASPNET (or
NETWORK_SERVICES). You will need to review permissions for IUSR_ or your
NTLM account if you are using Integrated Authentication.

----
700cb Development, Inc.
http://www.700cb.net
..NET utilities, developer tools,
and enterprise solutions

"Sosh" <so*******@something.com> wrote in
news:#0**************@TK2MSFTNGP11.phx.gbl:
Hi,

Could anyone give me a clue as to what is going on with my ASP.NET
app? Recenlty when I try and run the application, I get propted for
logon credentials when trying to access a page in a particular
directory. I have no idea why I am being prompted for these. I have
checked that the website has anonymous access enabled (it is using the
IUSR_ account). I'm my frustration I have also allowed full access to
all the files and directories within the website for the IUSR_
account, and ASPNET account. I have tried entering every username I
can think of in the login prompt (including administration accounts)
but am still getting

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

Could anyone tell me what might be going on??

Thanks!


--
Dec 3 '05 #2

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

Similar topics

14
by: deko | last post by:
Do I need to use flock() when reading a file into an array? It's possible that the file in question could be open at the time the file('filename') request is made. I realize flock() is required...
5
by: Phil Powell | last post by:
print_r(is_file("$logPath/$logFileName")); // RETURNS 1 unlink("$logPath/$logFileName"); // RETURNS WARNING: PERMISSION DENIED This code should tell me that the file located at...
0
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company...
2
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company...
14
by: Mark C. | last post by:
I'm trying to call a batch file that I've built using the FileSystemObject and CreateObject("Wscript.Shell"), oShell.Run... in an asp script. Naturally, I can get the script to work from a command...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
10
by: John Salerno | last post by:
I always read about how you need to set certain file permissions (for cgi files, for example), but it's never been clear to me *how* you do this. I know you can run the line chmod 755...
0
by: Tim Payne | last post by:
I have an odd permissions issue with uploading files to a windows 2003 server. I have a reasonably unusual setup. We have a php website, running through IIS that was written to use mod_rewrite....
2
by: beary | last post by:
Hello everyone, I posted this in unix/linux but it received no replies, so I assume it was the wrong forum. I'm trying here. I'm in way over my head with file permissions. The directory and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.