About the handling of program loading errors

Source: Internet
Author: User
Program | error | Loading I encountered this problem in program development when I debugged the program with the following error
A server error in the "/drom_manage" application.
--------------------------------------------------------------------------------

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

Parser Error message: Access Denied: "Microsoft.Web.UI.WebControls".

SOURCE Error:


Row 197: <add assembly= "System.Web.Mobile, version=1.0.5000.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a"/ >
Row 198: <add assembly= "Microsoft.Web.UI.WebControls, version=1.0.2.226, culture=neutral, Publickeytoken=null"/>
Row 199: <add assembly= "*"/>
Row: </assemblies>
Line 201: </compilation>


Source file: C:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config line: 199

Assembly Load Trace: The following information helps determine why the assembly "Microsoft.Web.UI.WebControls" cannot be loaded.


= = = Pre-bind state information = =
Log:displayname = Microsoft.Web.UI.WebControls
(Partial)
Log:appbase = File:///c:/inetpub/wwwroot/Drom_Manage
Log:initial PrivatePath = Bin
Calling assembly: (Unknown).
===

Log:policy not being applied to reference in this time (private, custom, partial, or location-based assembly bind).
Log:post-policy Reference:microsoft.web.ui.webcontrols
log:attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary asp.net files/drom_ Manage/9fcb4944/e7a54047/microsoft.web.ui.webcontrols.dll.
log:attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary asp.net files/drom_ Manage/9fcb4944/e7a54047/microsoft.web.ui.webcontrols/microsoft.web.ui.webcontrols.dll.
log:attempting download of the new URL File:///c:/inetpub/wwwroot/Drom_Manage/bin/microsoft.web.ui.webcontrols.DLL.
Log:policy not being applied to reference in this time (private, custom, partial, or location-based assembly bind).
Log:post-policy Reference:Microsoft.Web.UI.WebControls, version=1.0.2.226, Culture=neutral, Publickeytoken=null




--------------------------------------------------------------------------------
Version information: Microsoft. NET Framework Version: 1.1.4322.573; asp.net version: 1.1.4322.573
Finally I found the hint message that c:/winnt/microsoft.net/framework/v1.1.4322/temporary asp.net files/drom_manage/9fcb4944/ e7a54047 this path, less a Microsoft.web.ui.webcontrols.DLL file, find this file, copy it to, above this path can be!
But I don't know why these DLL files are always lost!



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.