Access to the path '...' is denied.

by degiocuondi.com 20. January 2011 06:08

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 'D:\Projects\Quanlythitracnghiem\www\cube\LtTest.Web\Download\2011\0120\questionlist-2011-01-20.xml' is denied. 

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. 

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error: 

Line 263:
Line 264:            //copy
Line 265:            File.Copy(TemplateFile, DownloadFilename, true);
Line 266:
Line 267:            //database

 

Tưởng là thiếu quyền cho user aspnet, mất cả buổi mới biết ... readonly

MS củ chuối!!!

 

Comments (5) -

10/12/2011 7:55:00 PM #

Marrakech riad

Yet a smiling visitant here to ration the sweetheart (:, btw renowned system . “Forget sorry, or vivacity is yours to want.” by Jonathan Larson.

Marrakech riad France | Reply

11/7/2011 4:34:38 AM #

sejour Marrakech

Thanks for the auspicious writeup. It really was previously a satisfaction tale it. Skip sophisticated to widely delivered appealing from you! Yet, how can we restrain up a agreement?

sejour Marrakech France | Reply

11/13/2011 3:37:19 AM #

voir Marrakech

Decorous compose-up, I’m standard company of unit’s place, contend up the pleasant run, plus It is going to be a methodical tourist for a yearn rhythm. “Saintly folly is saintly realize in belie.” by Jest Billings.

voir Marrakech France | Reply

11/15/2011 5:00:14 PM #

projet immobilier maroc

Simply crave to utter your essay is as spectacular. The clarity in your announce is simply lovely further i can think you’re a master on this text. Well together beside your liberty enable me to rapine your supply to rope updated beside threatening notify. Acknowledge you unique million moreover thrill transfer on the gratifying process.

projet immobilier maroc France | Reply

12/19/2011 6:15:53 AM #

Erma Hoback

Documentation les actus de mutuelle directeur g�n�ral de mutuelle la de mutuelle vous reconnecter.

Erma Hoback France | Reply

Add comment

  Country flag

biuquotecode
  • Comment
  • Preview
Loading

Tài trợ bởi Lạc Tâm. Hosting bởi ProHOST
Powered by BlogEngine.NET 2.5.0.6 - Old School Theme by n3o Web Designers

Menu

Bookmark and Share Log in
 

Tài trợ

Google Pagerank icon
Search Engine Optimization and SEO Tools
Submit Sitemap