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. Advertising

  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. Advertising

  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. Advertising

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:
    506
    Mamcx
    Jun 26, 2003
  2. frederik

    GetDirectories UNC path - Acces Denied

    frederik, Feb 1, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    4,875
    frederik
    Feb 2, 2005
  3. kamig
    Replies:
    0
    Views:
    440
    kamig
    Feb 25, 2006
  4. cschang
    Replies:
    1
    Views:
    1,249
    John C. Bollinger
    Apr 6, 2005
  5. cathy
    Replies:
    0
    Views:
    142
    cathy
    Jul 17, 2003
Loading...

Share This Page