Unable to create a new file in my web site

Discussion in 'ASP .Net Web Services' started by asherLaci, Nov 28, 2006.

  1. asherLaci

    asherLaci Guest

    Hi,

    I'v written an client/server application using SOAP. I can read
    existing files, but when I try to create a new file on my Web Site I'v
    been refused by the server. Here is the system error information:
    Server was unable to process request. --> Access to the path
    "d:\hosting\ashersh\clientsData\qqq.txt" is denied.

    Running the same server application in my computer (at localhost) works
    well.

    Please help !!!

    Asher
     
    asherLaci, Nov 28, 2006
    #1
    1. Advertising

  2. asherLaci

    Andrew Brook Guest

    Is d: a mapped drive? If so, what about using the UNC?

    Andrew

    "asherLaci" <> wrote in message
    news:...
    > Hi,
    >
    > I'v written an client/server application using SOAP. I can read
    > existing files, but when I try to create a new file on my Web Site I'v
    > been refused by the server. Here is the system error information:
    > Server was unable to process request. --> Access to the path
    > "d:\hosting\ashersh\clientsData\qqq.txt" is denied.
    >
    > Running the same server application in my computer (at localhost) works
    > well.
    >
    > Please help !!!
    >
    > Asher
    >
     
    Andrew Brook, Nov 29, 2006
    #2
    1. Advertising

  3. asherLaci

    mcrose Guest

    The Account which is running the application must have write access to
    the directory you are trying to write too.

    This may be either the default user which runs asp container, or the
    user which is running the Application Pool which this particular web
    application is assigned to run in.

    SECURITY NOTE: I've read (and it makes sense to me) that for security
    reasons you should NOT allow write access to the directories from which
    you serve you application. If you do, then a malicious user may be able
    to write and arbitrary script to that directory and then browse
    to/execute that script.

    -Matt

    asherLaci wrote:
    > Hi,
    >
    > I'v written an client/server application using SOAP. I can read
    > existing files, but when I try to create a new file on my Web Site I'v
    > been refused by the server. Here is the system error information:
    > Server was unable to process request. --> Access to the path
    > "d:\hosting\ashersh\clientsData\qqq.txt" is denied.
    >
    > Running the same server application in my computer (at localhost) works
    > well.
    >
    > Please help !!!
    >
    > Asher
     
    mcrose, Nov 29, 2006
    #3
  4. asherLaci

    asherLaci Guest

    Andrew Brook ëúá:
    > Is d: a mapped drive? If so, what about using the UNC?
    >
    > Andrew
    >
    > "asherLaci" <> wrote in message
    > news:...
    > > Hi,
    > >
    > > I'v written an client/server application using SOAP. I can read
    > > existing files, but when I try to create a new file on my Web Site I'v
    > > been refused by the server. Here is the system error information:
    > > Server was unable to process request. --> Access to the path
    > > "d:\hosting\ashersh\clientsData\qqq.txt" is denied.
    > >
    > > Running the same server application in my computer (at localhost) works
    > > well.
    > >
    > > Please help !!!
    > >
    > > Asher
    > >

    Thanks,
    The site adminstrator solved the problem
    Asher
     
    asherLaci, Dec 3, 2006
    #4
  5. asherLaci

    asherLaci Guest

    mcrose ëúá:
    > The Account which is running the application must have write access to
    > the directory you are trying to write too.
    >
    > This may be either the default user which runs asp container, or the
    > user which is running the Application Pool which this particular web
    > application is assigned to run in.
    >
    > SECURITY NOTE: I've read (and it makes sense to me) that for security
    > reasons you should NOT allow write access to the directories from which
    > you serve you application. If you do, then a malicious user may be able
    > to write and arbitrary script to that directory and then browse
    > to/execute that script.
    >
    > -Matt
    >
    > asherLaci wrote:
    > > Hi,
    > >
    > > I'v written an client/server application using SOAP. I can read
    > > existing files, but when I try to create a new file on my Web Site I'v
    > > been refused by the server. Here is the system error information:
    > > Server was unable to process request. --> Access to the path
    > > "d:\hosting\ashersh\clientsData\qqq.txt" is denied.
    > >
    > > Running the same server application in my computer (at localhost) works
    > > well.
    > >
    > > Please help !!!
    > >
    > > Asher


    Thanks,
    You are right, the site adminstrator solved the problem
    Asher
     
    asherLaci, Dec 3, 2006
    #5
    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. mike kim
    Replies:
    2
    Views:
    530
    clintonG
    Aug 20, 2003
  2. Pawan

    Unable to create New Project

    Pawan, Sep 22, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    460
    TJoker .NET [MVP]
    Sep 22, 2003
  3. =?Utf-8?B?U2l2YXJhbWFuLlM=?=

    Unable to create new users using Directory services in Windows 200

    =?Utf-8?B?U2l2YXJhbWFuLlM=?=, Jan 19, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    437
    David Jessee
    Jan 20, 2005
  4. =?Utf-8?B?QmlsbGFsbGFuXzk4Mjcy?=

    Newbie... Unable to create a new Web Application Project

    =?Utf-8?B?QmlsbGFsbGFuXzk4Mjcy?=, Jan 13, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    418
  5. Peter K
    Replies:
    2
    Views:
    313
    Peter K
    May 29, 2008
Loading...

Share This Page