When developing a system based on Asp.Net, Rad Treeview 2.5 was initially used, but controls often failed to load. I originally thought it was a problem with the control itself, but after upgrading Rad Treeview to version 3.0, it still couldn't be solved. I went to Terelik's official website and read the FAQ, but this issue was not mentioned.
Later I found that when the control failed to load, as long as I restarted the system or waited a while to recompile and execute the program, the control failed to load and disappeared. Is it a problem with the Framework? Afraid that we are too tired from programming, let us take a break? Depressed...
I accidentally found the following article today. After following it, the problem was solved~ha
PRB: Access Denied Error When You Make Code Modifications with Index Services Running
http://support.microsoft.com/default.aspx?scid=kb;en-us;329065
CAUSE
If you run Index Server (Cisvc.exe), then Index Server may rescan the Temporary ASP.NET Files directory while it requests a Microsoft ASP.NET page. Cisvc.exe then holds a lock on the Temporary ASP.NET Files directory for one to five minutes. The length of time of the lock depends on the size of the directory that causes the Aspnet_wp.exeprocess (or W3wp.exe process for applications that run on Microsoft Internet Information Services [IIS] 6.0) to not load the particular DLL .
RESOLUTION
If you do not use Index Server on the server, you can disable it. To do so, follow these steps:
Click Start, and then click Services.
Locate Indexing Service from the list of services, and then click Indexing Service Properties from the subform.
On the General tab of the Indexing Service Properties dialog box, in the Startup type drop-down item list, click Disabled.
Click OK.
If you use Index Server, you can exclude the Temporary ASP.NET Files directory from the folders that the Index Server scans. To do so, follow these steps:
Click Start, point to All Programs, point to Administrative Tools, and then click Computer Management.
Expand the Services and Applications node, expand the Indexing Service node, and then expand the System node.
Right-click the Directories folder, point to New, and then click Directory from the subform to open the Add Directory dialog box.
Click Browse, and then locate the Temporary ASP.NET Files directory. You typically find the Temporary ASP.NET files in the following path: c:\Microsoft.NETFramework\Temporary ASP.NET Files
Note is the version of .NET Framework installed on your computer.
Click No under the Include in Index? option buttons.
Click OK to close.
Close the Computer Management dialog box.
Restart the Indexing Services service.
MORE INFORMATION
Other software that is designed to scan directories at regular intervals may lock the files that are located in the Temporary ASP.NET Files directory in a manner that is similar to how the Indexing Service locks the files. Examples of such software include virus scanners and backup software. Microsoft recommends that you see the manufacturers' manuals for the individual software for information about how to disable or to exclude the Temporary ASP.NET Files from these services.
It turns out that the fault is caused by the indexing service~~