Permissions

naomi

Newcomer
Joined
Mar 18, 2004
Messages
3
I'm doing a part whereby i can upload a word document and then use a macro to insert an ID into the document. But the problem is when i click on upload button, the file is uploaded into my directory which is correct but when i run my macro which i've written the codes behind upload codes, the following error occurs:

Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access is denied.

The ASP.NET process is not authorized to access the requested resource. For security reasons the default ASP.NET process identity is '{machinename}\ASPNET', which has limited privileges. Consider granting access rights to the resource to the ASP.NET process identity.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the "{machinename}\ASPNET" user. Highlight the ASP.NET account, and check the Write box in the Allow column.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[UnauthorizedAccessException: Access is denied.]


But i've already edit the web.config.
I dont seems to know what is the problem.
Pls Help!
Thanks in advance!!
 
Back
Top