Management:-> the following problem occurs when adding a new tag:
"/Portalcsvs"ApplicationProgramServer error.
Pair path"C: \ Program Files \ ASP. NET starter kits \ ASP. NET portal (csvs) \ portalcsvs \ portalcfg. xml"Is denied.
Description : Execute current Web An unprocessed exception occurred during the request. Check the stack trace information to learn about this error andCodeDetailed information about the cause of the error.
Exception details : System. unauthorizedaccessexception: Pair path "C: \ Program Files \ ASP. NET starter kits \ ASP. NET portal (csvs) \ portalcsvs \ portalcfg. xml" Is denied.
ASP. NET Unauthorized access to requested resources. Please consider granting ASP. NET Request to identify the permission to access this resource. ASP. NET There is a base process ID used when the application is not simulated ( Generally IIS 5 For {MACHINE} \ ASPnet , In IIS 6 For the network ) . If the application is using <Identity impersonate = "true"/> Simulated, the user will be an anonymous user ( Usually IUSR_machinename) Or an authenticated user.
To grant ASP. NET Write access to a file. Right-click the file in resource manager and select " Attribute " And then select " Security " Tab. Click " Add " Add an appropriate user or group. Highlighted ASP. NET Account, select the corresponding access permission box.
Source Error:
Line776: Line 777 : // Object is evicted from the cache here. Line 778 : Sitesettings. writexml (configfile ); Line 779 : } Line 780 : } |
Source File: C: \ Program Files \ ASP. net starter kits \ ASP. net Portal (csvs) \ portalcsvs \ Components \ configuration. CS Line: 778
as prompted, I also set the configuration file portalcfg. XML to be readable (Asp.net user), but this error still occurs.
what should I do?
my runtime environment: Windows 2003 Standard Server version + iis6.0 logon user is administrator ).