ASP.NET - 当前标识(Machine \ ASPNET)没有对'c:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET Files'的写访问权限

时间:2012-06-11 10:20:01

标签: iis-5

我在Win XP Professional开发机器上遇到此问题。我的应用程序在虚拟目录上。

当前标识(MachineName \ ASPNET)没有对“c:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET Files”的写入权限。

到目前为止,我已经完成了以下任务。

    1. Must Not Use Simple File Sharing. After Changing Settings, Pls Reboot.

               Open your My Computer, the on menu, select Tool >> Folder Option the Select View Tab,

               Uncheck Use Simple File Sharing

  2  Adding User Permission

             When you create virtual directory on IIS, the actual folder you used with it must have access permission

             To do this, follow:

            select the properties of your actual folder, then select Sharing Tab
            select option Share This Folder
            specify the ShareName (commonly folder name itself)
            then select Security tab, you will see the Group and Username listed there.
            to add ASPNET just click ADD
            pop up window will appear "Select User or Group"
            Click Advance  and Click Find Now
            All Users and Group will be listed there, try to find ASPNET and select OK
            you will going to back on Security tab and select something like "RAD/ASPNET", under that you will see "Permission for ASP.NET"
            for the last step, check Full Control under Allow Column, then OK



3 I Have tried, the aspnet_regiis exe in the framework folder!

仍然无效,请提供任何其他选项或建议..

更新: 我的硬盘已完全加密。它有什么影响吗?

1 个答案:

答案 0 :(得分:0)

加密不应该影响。

尝试访问文件Windows资源管理器中的C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET Files,并授予对ASPNET和网络帐户的所有访问权限。