The asp.net website reports an error: Temporary ASP.NET does not have read/write permissions.

Published: 2014-12-23

Recently, some users have reported that cloud servers encounter the following error:

The current identity (EBS-36203\saaaa) does not have write access to "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files".

As shown in the figure

1.jpg


After investigation by our company, it has been confirmed that in some cases the permission exception is caused by a database vulnerability.

Solution:

Download and execute the following script:http://download.myhostadmin.net/vps/reset.rar

For cases where the system was hacked due to an mssql vulnerability, you need to install/update the database patch

Install the ms14-066 KB2992611 patch; relevant download addresses:

Windows2003 32-bit Chinese version    http://www.microsoft.com/zh-CN/download/details.aspx?id=44649 
Windows2003   64-bit Chinese version     http://www.microsoft.com/zh-CN/download/details.aspx?id=44606 
Windows2008 R2 64-bit  Chinese version   http://www.microsoft.com/zh-CN/download/details.aspx?id=44618  
Windows 2012 Chinese version  http://www.microsoft.com/zh-CN/download/details.aspx?id=44638 

In addition, it is recommended to configure the following settings:

1. If the server itself uses the mssql database, it is recommended to close port 1433 in the firewall to prevent exploitation by hackers.

2. Delete the directories under C:\WINDOWS\system32\ named i* containing numbers, for example i4325.

3. It is best to run the database service under a regular account; for example, our company's default database running account is mssqluser.

4. Open Automatic Updates in Control Panel, and use the built-in Windows update function to download and install patches.

5. Disable the database sa account.


If you have any other questions, please submit a ticket for consultation and resolution.