Monday, March 26, 2012

Access to the path C:\AJAX_Documentation\web.config is denied.

Greetings,

I download the ajax documentation and i extract it to c:\AJAX_Documentation.

I make a virtual directory called AJAX_Documentation but when i run it i get the following error:

Server Error in '/AJAX_Documentation' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An error occurred loading a configuration file: Access to the path 'C:\AJAX_Documentation\web.config' is denied.

Source Error:

[No relevant source lines]


Source File: C:\AJAX_Documentation\web.config Line: 0

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

but i try to move the folder AJAX_Documentation to c:\inetpub\wwwroot so it works fine

so what is the problem,if i extract it to C drive?

i make research on the internet and they tell me that this problem may be because you install .net framework 2.0 afetr IIS which is my case so i uninstall .net framework and IIS and then i install first .net framework and then IIS but i still face the same problem.

so i try another thing to run aspnet_regiis - i so i still face the same problem

so i try another thing : aspnet_regiis -ga "nt authority\Network service" so i still face the same problem

your help is highly appreciated

best regards

That mean Asp.Net user hasn't got right file permission to read your config file.

Try to reconfiguration your file permissions of the C:\AJAX_Documentation\ folder.


thak you for the s

thank you for the support

i try what do you suggest what i already do it but i still face the same problem!!!

so what i do i go the security tab of the ajax_documentation folder and i add the aspnet user and i give him all the permission but i still face the same problem!!

so any other suggestion for this problem?

your help is highly appreciated

best regards


I had the same problem.

I solved it installing the website in c:\Inetpub\wwwroot\AJAX_Documentation

Regards,

No comments:

Post a Comment