Inexplicable configuration error solution! ! ! (I finally solved)

zhaozj2021-02-16  90

At present, it is still troubled by the following questions.

Every time the file is locked, it is not the same, sometimes by restarting IIS can be solved, sometimes it can only be solved by the Restart machine, very very wasting my time, this is the Framework itself or my program?

-------------------------------------------------- ------------------------ Configuration error Description: An error occurred while processing the configuration file required to provide the service to the request. Please check the specific error details below and modify the configuration file appropriately.

Analyzer error message: Access is rejected: "WebControls.confirmedButtons".

Source error:

Line 196:

Line 197:

Line 198:

Line 199:

Line 200:

Source file: C: /Windows/Microsoft.Net/framework/v1.1.4322/config/machine.config line: 198

AGM Load Tracking: The following information helps to determine the reason why the assembly "WebControls.confirmedButtons" cannot be loaded.

=== Pre-bind state information === LOG: DisplayName = WebControls.ConfirmedButtons (Partial) LOG: Appbase = file: /// D: /Project2003/Tangram.NET/WebUIProjects/WebLOG: Initial PrivatePath = binCalling assembly: ( UNKNOWN. ===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind) .LOG: Post-policy reference: WebControls.ConfirmedButtonsLOG: Attempting download of new URL file: /// C: / WINDOWS / Microsoft.NET / Framework / v1.1.4322 / Temporary ASP.NET Files / root / 8bc8dcdd / 2f9d447f / WebControls.ConfirmedButtons.DLL.LOG: Attempting download of new URL file: /// C: /WINDOWS/Microsoft.NET /Framework/v1.1.4322/Temporary ASP.NET Files / root / 8bc8dcdd / 2f9d447f / WebControls.ConfirmedButtons / WebControls.ConfirmedButtons.DLL.LOG: Attempting download of new URL file: /// D: /Project2003/Tangram.NET/ WebUIProjects / Web / bin / WebControls.ConfirmedButtons.DLL.LOG: Publisher policy file is not found.LOG: No redirect found in host configuration file (C: /WINDOWS/Microsoft.NET/Framework/v1.1.4322/aspnet.config) .Log: USING MACHINE Configuration File from c: /windows/microsoft.net/framework/v1.1.4322/config/machine.config.log: post-policy reference: webcontrols.confirmedButtons, Version = 1.0.311. 0, Culture = neutral, publickeytoken = 022A76AAE3598387Wednesday, November 19, 2003 5:21 PM

Solution See Microsoft Knowledge Base:

PRB: Access Denied Error WHEN You Make Code Modifications with INDEX Services Running http://support.microsoft.com/default.aspx?scid=kb;n-us; 329065

CAUSEIf 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 .Resolutionif 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.net/framework/

/ 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 INFORMATIONOther 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.

HREF = "http://blog.joycode.com/spider/services/pingback.aspx" Rel = "pingback">

转载请注明原文地址:https://www.9cbs.com/read-15150.html

New Post(0)