473,406 Members | 2,549 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,406 software developers and data experts.

ASP.NET Not LIsted as User in File Security Property

I am having trouble accessing a datafile in m inetpub/wwwroot/_private
directory from a VB .Net app that I am debugging. When I run the program I
get an error saying that ASP.NET is not authorized to use the file. When I
right-click the file in question and select the Security tab ASP.NET is not
listed under User Names ... but Internet Guest Account and Launch IIS
Process Account are listed [along with a couple of others]. I am running
iis 5.1 and have installed .Net Framework Version 1.1 Rdistirbutable
Package.

Thanks.

Nov 19 '05 #1
5 1223
There is not "ASP.NET" account.

There *is* an "ASPNET" account under Windows XP, though,
but it only works for ASP.NET if you are not impersonating.

Are you impersonating ?
Did you try to "add" the ASPNET account to the ACLs ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:e3*************@TK2MSFTNGP15.phx.gbl...
I am having trouble accessing a datafile in m inetpub/wwwroot/_private directory from a
VB .Net app that I am debugging. When I run the program I get an error saying that
ASP.NET is not authorized to use the file. When I right-click the file in question and
select the Security tab ASP.NET is not listed under User Names ... but Internet Guest
Account and Launch IIS Process Account are listed [along with a couple of others]. I am
running iis 5.1 and have installed .Net Framework Version 1.1 Rdistirbutable Package.

Thanks.

Nov 19 '05 #2
I'm afraid you lost me. I don't know what you mean by "impersonating". I
have not tried to add the ASPNET account to the ACL's ... don't even know
hpow to do that.


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:un**************@TK2MSFTNGP09.phx.gbl...
There is not "ASP.NET" account.

There *is* an "ASPNET" account under Windows XP, though,
but it only works for ASP.NET if you are not impersonating.

Are you impersonating ?
Did you try to "add" the ASPNET account to the ACLs ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:e3*************@TK2MSFTNGP15.phx.gbl...
I am having trouble accessing a datafile in m inetpub/wwwroot/_private
directory from a VB .Net app that I am debugging. When I run the program
I get an error saying that ASP.NET is not authorized to use the file.
When I right-click the file in question and select the Security tab
ASP.NET is not listed under User Names ... but Internet Guest Account and
Launch IIS Process Account are listed [along with a couple of others]. I
am running iis 5.1 and have installed .Net Framework Version 1.1
Rdistirbutable Package.

Thanks.


Nov 19 '05 #3
re:
I have not tried to add the ASPNET account to the ACL's ... don't even know how to do
that.
You said you had done this :
When I right-click the file in question and select the Security tab ASP.NET is not
listed under User Names ... but Internet Guest

Account and Launch IIS Process Account are listed


Once you do that...do you see an "Add" button ?

Clicking the "Add" button starts the process of adding
an account to the list of accounts permitted to access that file.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:um*************@TK2MSFTNGP10.phx.gbl... I'm afraid you lost me. I don't know what you mean by "impersonating". I have not
tried to add the ASPNET account to the ACL's ... don't even know hpow to do that.


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:un**************@TK2MSFTNGP09.phx.gbl...
There is not "ASP.NET" account.

There *is* an "ASPNET" account under Windows XP, though,
but it only works for ASP.NET if you are not impersonating.

Are you impersonating ?
Did you try to "add" the ASPNET account to the ACLs ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:e3*************@TK2MSFTNGP15.phx.gbl...
I am having trouble accessing a datafile in m inetpub/wwwroot/_private directory from a
VB .Net app that I am debugging. When I run the program I get an error saying that
ASP.NET is not authorized to use the file. When I right-click the file in question and
select the Security tab ASP.NET is not listed under User Names ... but Internet Guest
Account and Launch IIS Process Account are listed [along with a couple of others]. I
am running iis 5.1 and have installed .Net Framework Version 1.1 Rdistirbutable
Package.

Thanks.

Nov 19 '05 #4
Thanks Juan ... I appreciate your help. Problem seems to be fixed.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ur**************@tk2msftngp13.phx.gbl...
re:
I have not tried to add the ASPNET account to the ACL's ... don't even
know how to do that.


You said you had done this :
When I right-click the file in question and select the Security tab
ASP.NET is not listed under User Names ... but Internet Guest

Account and Launch IIS Process Account are listed


Once you do that...do you see an "Add" button ?

Clicking the "Add" button starts the process of adding
an account to the list of accounts permitted to access that file.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:um*************@TK2MSFTNGP10.phx.gbl...
I'm afraid you lost me. I don't know what you mean by "impersonating".
I have not tried to add the ASPNET account to the ACL's ... don't even
know hpow to do that.


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:un**************@TK2MSFTNGP09.phx.gbl...
There is not "ASP.NET" account.

There *is* an "ASPNET" account under Windows XP, though,
but it only works for ASP.NET if you are not impersonating.

Are you impersonating ?
Did you try to "add" the ASPNET account to the ACLs ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:e3*************@TK2MSFTNGP15.phx.gbl...
I am having trouble accessing a datafile in m inetpub/wwwroot/_private
directory from a VB .Net app that I am debugging. When I run the
program I get an error saying that ASP.NET is not authorized to use the
file. When I right-click the file in question and select the Security
tab ASP.NET is not listed under User Names ... but Internet Guest
Account and Launch IIS Process Account are listed [along with a couple
of others]. I am running iis 5.1 and have installed .Net Framework
Version 1.1 Rdistirbutable Package.

Thanks.


Nov 19 '05 #5
Great!

It's the simple things which stump us the most.

Sometimes I've stared at screens and googled for hours,
getting exactly nowhere but if I show the problem to someone
else, or even if I just take a break for a while, the answer
appears almost automagically.

;-)

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:u5**************@TK2MSFTNGP12.phx.gbl...
Thanks Juan ... I appreciate your help. Problem seems to be fixed.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ur**************@tk2msftngp13.phx.gbl...
re:
I have not tried to add the ASPNET account to the ACL's ... don't even know how to do
that.


You said you had done this :
When I right-click the file in question and select the Security tab ASP.NET is not
listed under User Names ... but Internet Guest
Account and Launch IIS Process Account are listed


Once you do that...do you see an "Add" button ?

Clicking the "Add" button starts the process of adding
an account to the list of accounts permitted to access that file.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:um*************@TK2MSFTNGP10.phx.gbl...
I'm afraid you lost me. I don't know what you mean by "impersonating". I have not
tried to add the ASPNET account to the ACL's ... don't even know hpow to do that.


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:un**************@TK2MSFTNGP09.phx.gbl...
There is not "ASP.NET" account.

There *is* an "ASPNET" account under Windows XP, though,
but it only works for ASP.NET if you are not impersonating.

Are you impersonating ?
Did you try to "add" the ASPNET account to the ACLs ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"fripper" <yo***@indiana.edu> wrote in message
news:e3*************@TK2MSFTNGP15.phx.gbl...
>I am having trouble accessing a datafile in m inetpub/wwwroot/_private directory from
>a VB .Net app that I am debugging. When I run the program I get an error saying that
>ASP.NET is not authorized to use the file. When I right-click the file in question
>and select the Security tab ASP.NET is not listed under User Names ... but Internet
>Guest Account and Launch IIS Process Account are listed [along with a couple of
>others]. I am running iis 5.1 and have installed .Net Framework Version 1.1
>Rdistirbutable Package.
>
> Thanks.



Nov 19 '05 #6

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

Similar topics

0
by: rm | last post by:
Through the LDB viewer we are seeing one of our servers in the "users listed" list. The information is legitimate as we have code that is dependent on the non-presence of the LDB file. The code...
1
by: Mr Gordonz | last post by:
Hi All, I am trying to replicate the functionality of the HTML FileField control (<INPUT type="file">). It does everything I need but for one thing: I can't programmatically set the value of...
1
by: Earl Teigrob | last post by:
Background: When I create a ASP.NET control (User or custom), it often requires security to be set for certain functionality with the control. For example, a news release user control that is...
8
by: Razak | last post by:
Hi, I have a class which basically do Impersonation in my web application. From MS KB sample:- ++++++++++++++++++++code starts Dim impersonationContext As...
8
by: David Lozzi | last post by:
Howdy, I have a user control that is a report to display data. On the page the control is inserted in, I have filter options to filter the report. When I try to do something like this, nothing...
5
by: c676228 | last post by:
Hi, I guess I am confused. In aspx script, I mean (you won't use Codebehind="enrollinfo.aspx.vb", but mix code with html and code together) You can access user control's property directly. Since I...
7
by: John.NET | last post by:
Hi, First please forgive that this is a repost as the first time I didn't have my proper nospam email configured... I'm writing a web service where one method will launch another .NET program...
9
by: webrod | last post by:
Hi all, how can I check a user/password in a LDAP ? I don't want to connect with this user, I would like to connect to LDAP with a ADMIN_LOG/ADMIN_PWD, then do a query to find the user and...
4
by: =?Utf-8?B?QXZhRGV2?= | last post by:
ASP.Net 2. We are migrating to Windows 2008 64 bit Server with IIS 7 from Windows 2003 32 Bit with IIS 6. A few library classes we wrote uses impersonation in code like explained in this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.