freelanceprogrammers.org Forum Index » ASP

Permissions


View user's profile Post To page top
travis.falls@... Posted: Mon Jun 27, 2005 6:37 pm


Joined: 10 Jan 2006

Posts: 33
Permissions
I am writing a zipping application in C#. When I debug this application I
get a directory permission error; "An unhandled exception of type
`System.UnauthorizedAccessException` occurred in mscorlib.dll Additional
information: Access to the path "C:TEMPzipcompression" is denied." My
question is when running VS.Net and debugging what ID is it running under?
I figured it would run under the id that is currently logged on. Thoughts?

Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
travis.falls@...


*************************************************************************
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
Reply with quote
Send private message
View user's profile Post To page top
kindawords Posted: Mon Jun 27, 2005 8:52 pm


Joined: 11 Jan 2006

Posts: 46
Permissions
If you are running a web app, it is under the local ASPNET user.

If you are running a windows app, it is under the logged in user.

--- In AspNetAnyQuestionIsOk@yahoogroups.com, "Falls, Travis D (HTSC,
CASD)" <travis.falls@t...> wrote:
> I am writing a zipping application in C#. When I debug this
application I
> get a directory permission error; "An unhandled exception of type
> `System.UnauthorizedAccessException` occurred in mscorlib.dll
Additional
> information: Access to the path "C:TEMPzipcompression" is denied." My
> question is when running VS.Net and debugging what ID is it running
under?
> I figured it would run under the id that is currently logged on.
Thoughts?
>
> Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
> travis.falls@t...
>
>
>
*************************************************************************
> PRIVILEGED AND CONFIDENTIAL: This communication, including
attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information. If you are not the intended
> recipient, any use, copying, disclosure, dissemination or
distribution is
> strictly prohibited. If you are not the intended recipient, please
notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
>
*************************************************************************
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help