WebService 'Acces to path is denied'

Discussion in 'ASP .Net Web Services' started by the max, May 9, 2005.

  1. the max

    the max Guest

    I need to setup WebService so it can read/write folder e.g. SharedFolder

    When i setup sharing permissions & security for ASPNET user, it's not enogh.
    When i setup for Everyone (local or domain) WebService works fine.

    what do i need to do?
    what is the right way to set it up?
    is webservice run as ASPNET user?

    Thanx
     
    the max, May 9, 2005
    #1
    1. Advertisements

  2. "the max" <> wrote in
    news::
    > I need to setup WebService so it can read/write folder e.g. SharedFolder


    This is not a good idea in general.

    > When i setup sharing permissions & security for ASPNET user, it's not
    > enogh. When i setup for Everyone (local or domain) WebService works
    > fine.


    You havent given the ASP.NET user the right permissions then.

    > is webservice run as ASPNET user?


    By default yes, its run as IUSR_


    --
    Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
    "Programming is an art form that fights back"

    Blog: http://blogs.atozed.com/kudzu
     
    Chad Z. Hower aka Kudzu, May 9, 2005
    #2
    1. Advertisements

  3. the max

    the max Guest

    I gave ASPNE user Full Control in both Sharing, and Security

    I'am accessing shared folder \\server\sharedFolder



    "Chad Z. Hower aka Kudzu" <> wrote in message
    news:Xns9651F08649B6Acpub@127.0.0.1...
    > "the max" <> wrote in
    > news::
    >> I need to setup WebService so it can read/write folder e.g. SharedFolder

    >
    > This is not a good idea in general.
    >
    >> When i setup sharing permissions & security for ASPNET user, it's not
    >> enogh. When i setup for Everyone (local or domain) WebService works
    >> fine.

    >
    > You havent given the ASP.NET user the right permissions then.
    >
    >> is webservice run as ASPNET user?

    >
    > By default yes, its run as IUSR_
    >
    >
    > --
    > Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
    > "Programming is an art form that fights back"
    >
    > Blog: http://blogs.atozed.com/kudzu
     
    the max, May 10, 2005
    #3
  4. "the max" <> wrote in news::
    > I gave ASPNE user Full Control in both Sharing, and Security


    Ive given you proper steps to test. It doesnt matter what you HAVE done, as
    obviously its not working. Persisting with the same thing and expecting
    different results will not work.

    Try what I said.


    --
    Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
    "Programming is an art form that fights back"

    Blog: http://blogs.atozed.com/kudzu
     
    Chad Z. Hower aka Kudzu, May 10, 2005
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mamcx
    Replies:
    0
    Views:
    594
    Mamcx
    Jun 26, 2003
  2. Jéjé
    Replies:
    1
    Views:
    580
    JiangZemin
    Feb 18, 2004
  3. frederik

    GetDirectories UNC path - Acces Denied

    frederik, Feb 1, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    5,164
    frederik
    Feb 2, 2005
  4. =?Utf-8?B?SmVzc2FyZA==?=

    hash.web is denied when trying to run webservice on dc

    =?Utf-8?B?SmVzc2FyZA==?=, Sep 29, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    675
    =?Utf-8?B?SmVzc2FyZA==?=
    Sep 29, 2005
  5. kamig
    Replies:
    0
    Views:
    506
    kamig
    Feb 25, 2006
  6. cschang
    Replies:
    1
    Views:
    1,375
    John C. Bollinger
    Apr 6, 2005
  7. cathy
    Replies:
    0
    Views:
    210
    cathy
    Jul 17, 2003
  8. Kent Tegels
    Replies:
    0
    Views:
    353
    Kent Tegels
    Aug 26, 2004
Loading...