Re: Access Denied
From: Deepak Kumar Vasudevan (deepak_at_cssolutionsinc.com)
Date: 08/16/03
- Previous message: Deepak Kumar Vasudevan: "Re: Write Access to Access DataBase"
- In reply to: Shalini Noronha: "Access Denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 16 Aug 2003 12:33:27 +0530
Hi Shalini
Do you get this error after every VS.NET build? This is one such pattern.
Disable Indexing Service or Disable Indexing of the specified Cache Folder and you would not get this error.
The error occurs because, after the build, the cache folder updates and Indexing Service attempts to read the files. When you F5 the project, ASPNET tries to read the project and the error occurs.
-- ================================ Deepak Kumar Vasudevan CS Software Solutions Phones: +91-44-2819-1336 thru 38 91-98400-26014 www.cssolutionsinc.com Mailbox Protected by SpamPal (http://www.spampal.org.uk/) ================================ "Shalini Noronha" <shalini_maria@yahoo.com> wrote in message news:a10301c35c47$efbfbe60$a001280a@phx.gbl... HI Am a Fresh as far as ASP.NET is concerned Would like to have some help on this. Why do i get this error. Whatz the fix.. "Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\test\9085c064\43fbe07\hash.web" 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 to the path "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\test\9085c064\43fbe07\hash.web" 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."
- Previous message: Deepak Kumar Vasudevan: "Re: Write Access to Access DataBase"
- In reply to: Shalini Noronha: "Access Denied"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]