2014-05-07 138 views
1

我正在使用ASP.net 4.0。從堅果獲得經理。我更新了jQuery和Json,而這個DLL也隨之而來。但突然它停止響應,併成功建立與項目後這個錯誤的錯誤。無法加載文件或程序集'AjaxMin,版本= 4.97.4951.28478,

如何解決此錯誤?

Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies. The system cannot find the file specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' could not be loaded.

=== Pre-bind state information === LOG: User = PC-DSC1\Administrator LOG: DisplayName = AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f (Fully-specified) LOG: Appbase = file:///F:/CRM/ LOG: Initial PrivatePath = F:\CRM\bin Calling assembly : AjaxControlToolkit, Version=4.1.7.1213, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e. === LOG: This bind starts in default load context. LOG: Using application configuration file: F:\CRM\web.config LOG: Using host configuration file: LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Post-policy reference: AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/crm/5f33c2bc/4717f3e7/AjaxMin.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/crm/5f33c2bc/4717f3e7/AjaxMin/AjaxMin.DLL. LOG: Attempting download of new URL file:///F:/CRM/bin/AjaxMin.DLL. LOG: Attempting download of new URL file:///F:/CRM/bin/AjaxMin/AjaxMin.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/crm/5f33c2bc/4717f3e7/AjaxMin.EXE. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/crm/5f33c2bc/4717f3e7/AjaxMin/AjaxMin.EXE. LOG: Attempting download of new URL file:///F:/CRM/bin/AjaxMin.EXE. LOG: Attempting download of new URL file:///F:/CRM/bin/AjaxMin/AjaxMin.EXE.

回答

4

將AjaxMin.dll到從AjaxControlToolkit.Binary.NET40項目bin文件夾。問題就解決了。 -preetam jakhmola

3

嗨,你必須安裝阿賈克斯敏,經過以下過程

進入到Visual Studio>工具> NuGet包管理器>軟件包管理器控制檯

PM>安裝 - 包裝AjaxMin

按Enter鍵。

這就是所有運行你的程序:)快樂編碼。

0

就我而言,這是本地用戶權限問題。以下是我如何修復它:

  1. 找到您的應用程序文件夾。
  2. 單擊鼠標右鍵,選擇屬性
  3. 轉到安全選項卡,看看是否< YOURSERVERNAME> /列出用戶
  4. 如果沒有,用默認權限添加它們
相關問題