Hi all,
My Asp.Net application gives System.UnauthorizedAccessViolation exception
when It tries to write a word document to a special folder I created for
storing word documents. It says ASPNET account does not have write access to
the folder. How can I give the ASPNET account the write access to this
folder?
Thanks. 5 1519
Right click on the folder, go to the security tab....
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Nikhil Patel" <do*******@nospaml.com> wrote in message
news:uq*************@TK2MSFTNGP10.phx.gbl... Hi all, My Asp.Net application gives System.UnauthorizedAccessViolation exception when It tries to write a word document to a special folder I created for storing word documents. It says ASPNET account does not have write access to the folder. How can I give the ASPNET account the write access to this folder?
Thanks.
Hi Curt,
Thanks for the reply. But I don't have security tab. I am using Windows
XP. I have General, Sharing, Web Sharing and Customize tabs.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... Right click on the folder, go to the security tab....
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Nikhil Patel" <do*******@nospaml.com> wrote in message news:uq*************@TK2MSFTNGP10.phx.gbl... Hi all, My Asp.Net application gives System.UnauthorizedAccessViolation exception when It tries to write a word document to a special folder I created for storing word documents. It says ASPNET account does not have write access to the folder. How can I give the ASPNET account the write access to this folder?
Thanks.
Hi,
You can set the security of the folder in Windows Explorer. Right-click it,
choose "Properties" and go to the "Security" tab. Then add the ASPNET user
(or the user with which the worker process executes - see in Task Manager
the column User Name for the w3wp.exe or aspnet_wp.exe process depending on
the windows and framework version, or the impersonated user if you use
impersonation) and give it the appropriate rights for the folder.
Hope this helps
Martin
"Nikhil Patel" <do*******@nospaml.com> wrote in message
news:uq*************@TK2MSFTNGP10.phx.gbl... Hi all, My Asp.Net application gives System.UnauthorizedAccessViolation
exception when It tries to write a word document to a special folder I created for storing word documents. It says ASPNET account does not have write access
to the folder. How can I give the ASPNET account the write access to this folder?
Thanks.
Sounds like you've got simple file sharing enabled. To disable it, follow
the steps outlined in the following KB article: http://support.microsoft.com/default...b;EN-US;307874.
HTH,
Nicole
"Nikhil Patel" <do*******@nospaml.com> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl... Hi Curt, Thanks for the reply. But I don't have security tab. I am using Windows XP. I have General, Sharing, Web Sharing and Customize tabs.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl... Right click on the folder, go to the security tab....
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Nikhil Patel" <do*******@nospaml.com> wrote in message news:uq*************@TK2MSFTNGP10.phx.gbl... Hi all, My Asp.Net application gives System.UnauthorizedAccessViolation exception when It tries to write a word document to a special folder I created for storing word documents. It says ASPNET account does not have write access to the folder. How can I give the ASPNET account the write access to this folder?
Thanks.
Hi Nicole,
After disabling simple file sharing I was able to give write access to
ASPNET. Thanks for your help.
-Nikhil
"Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in message
news:uT*************@TK2MSFTNGP15.phx.gbl... Sounds like you've got simple file sharing enabled. To disable it, follow the steps outlined in the following KB article: http://support.microsoft.com/default...b;EN-US;307874.
HTH, Nicole
"Nikhil Patel" <do*******@nospaml.com> wrote in message news:OP**************@TK2MSFTNGP10.phx.gbl... Hi Curt, Thanks for the reply. But I don't have security tab. I am using Windows XP. I have General, Sharing, Web Sharing and Customize tabs.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl... Right click on the folder, go to the security tab....
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Nikhil Patel" <do*******@nospaml.com> wrote in message news:uq*************@TK2MSFTNGP10.phx.gbl... Hi all, My Asp.Net application gives System.UnauthorizedAccessViolation exception when It tries to write a word document to a special folder I created for storing word documents. It says ASPNET account does not have write access to the folder. How can I give the ASPNET account the write access to this folder?
Thanks.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nancy Drew |
last post by:
hi all
i want to build a trouble ticket system. i'd like to have a component
written in vbscript watch a specific mail folder for income email (something
like 'troubletickets@acme.com') the...
|
by: scott |
last post by:
I'm creating a tree menu that uses FSO to read folders, subfolders and
files. I'd like for each folder to have capabilty of being either Level
1,2,3,4 or 5 security. The 5 Levels are my security...
|
by: Tom |
last post by:
Can anyone give me any advice on how to secure a folder on a network server
so that documents in the folder can only be opened through an Access
database or by the database admin. I need to store...
|
by: Jon L. Lovesky |
last post by:
Hello all,
I am attempting to access a remote folder from an asp.net application (all
within the same domain). The application is configured for windows
authentication in IIS and the asp.net...
|
by: John Regan |
last post by:
Hello All
I am trying to find the owner of a file or folder on our network (Windows
2000 Server) using VB.Net and/or API. so I can search for Folders that don't
follow our company's specified...
|
by: Mitchell S. Honnert |
last post by:
Is there a way, given the full path of a folder on a network, that one can
programatically tell if you have Read access to that folder?
I have an application where the user is able to select a...
|
by: Fred W. |
last post by:
When my application starts I need to check folder permissions to ensure they
have "Full Control" before I let them proceed on. How can I check this
permission. Thank you, Fred
|
by: paquer |
last post by:
Database Users need to have Read/Write etc... permissions to the
folder where the Database resides in order to create the lock file.
I have read only users.
I have set up the Shortcut that links...
|
by: gnewsgroup |
last post by:
OK, I know this sounds stupid, but I have been playing with this for
hours, and could not get a clue.
In my asp.net 2.0 web application, I generate charts on the fly. I
would like to save the...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |