Cannot create a text file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Abhi

    #1

    Cannot create a text file

    I have a simple guestbook application which writes all the entries made on
    the guestbook on a text file which I save at Request.Physica lApplicatinPath
    Now when I run the application it tells me that

    Exception Details: System.IO.IOExc eption: The process cannot access the file
    "C:\MyPhysicalP ath\guestbook.t xt" because it is being used by another
    process.

    Then I tried changing the path to something else, well then I got an error
    saying that MachineName\Asp .NET does not enough privilages to access the
    path, well then I added the user ASP.NET to the adminsitrators group, but
    still it says that the account does not have enough privilages.

    Any clues what is going on ???

    Abhi




Working...