简体   繁体   English

无法加载文件或程序集'AjaxMin,版本= 4.97.4951.28478,

[英]Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478,

I'm working with ASP.net 4.0. 我正在使用ASP.net 4.0。 from nut get manager. 从坚果得到经理。 I updated jQuery and Json and this dll comes with it. 我更新了jQuery和Json,并且此dll随附了它。 But suddenly it stops responding and after successfully built with project this error error. 但是突然它停止响应,并且在成功构建项目后出现此错误错误。

How do I fix this error? 如何解决此错误?

Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies. 无法加载文件或程序集“ AjaxMin,版本= 4.97.4951.28478,文化=中性,PublicKeyToken = 21ef50ce11b5d80f”或其依赖项之一。 The system cannot find the file specified. 该系统找不到指定的文件。

Description: An unhandled exception occurred during the execution of the current web request. 说明:执行当前Web请求期间发生未处理的异常。 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. 异常详细信息:System.IO.FileNotFoundException:无法加载文件或程序集“ AjaxMin,版本= 4.97.4951.28478,文化=中性,PublicKeyToken = 21ef50ce11b5d80f”或其依赖项之一。 The system cannot find the file specified. 该系统找不到指定的文件。

Source Error: 源错误:

An unhandled exception was generated during the execution of the current web request. 当前Web请求的执行期间生成了未处理的异常。 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. 程序集加载跟踪:以下信息有助于确定为什么无法加载程序集“ AjaxMin,版本= 4.97.4951.28478,文化=中性,PublicKeyToken = 21ef50ce11b5d80f”。

=== 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. ===预绑定状态信息===日志:用户= PC-DSC1 \\ Administrator日志:DisplayName = AjaxMin,Version = 4.97.4951.28478,Culture = neutral,PublicKeyToken = 21ef50ce11b5d80f(完全指定)LOG:Appbase = file: /// F:/ CRM / LOG:初始PrivatePath = F:\\ CRM \\ bin调用程序集:AjaxControlToolkit,Version = 4.1.7.1213,Culture = neutral,PublicKeyToken = 28f01b0e84b6d53e。 === LOG: This bind starts in default load context. === LOG:此绑定在默认加载上下文中启动。 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. 日志:使用应用程序配置文件:F:\\ CRM \\ web.config日志:使用主机配置文件:日志:使用来自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. 日志:政策后参考:AjaxMin,Version = 4.97.4951.28478,Culture = neutral,PublicKeyToken = 21ef50ce11b5d80f LOG:尝试下载新的URL文件:/// C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET文件/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. 日志:尝试下载新的URL文件:/// 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. 日志:尝试下载新的URL文件:/// F:/CRM/bin/AjaxMin.DLL。 LOG: Attempting download of new URL file:///F:/CRM/bin/AjaxMin/AjaxMin.DLL. 日志:尝试下载新的URL文件:/// 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. 日志:尝试下载新的URL文件:/// 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. 日志:尝试下载新的URL文件:/// 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. 日志:尝试下载新的URL文件:/// F:/CRM/bin/AjaxMin.EXE。 LOG: Attempting download of new URL file:///F:/CRM/bin/AjaxMin/AjaxMin.EXE. 日志:尝试下载新的URL文件:/// F:/CRM/bin/AjaxMin/AjaxMin.EXE。

Put AjaxMin.dll into your project bin folder from AjaxControlToolkit.Binary.NET40. 将AjaxMin.dll从AjaxControlToolkit.Binary.NET40放入项目bin文件夹中。 problem will solved. 问题会解决。 -preetam jakhmola -preetam jakhmola

Hi you have to install Ajax Min, go through following procedure 嗨,您必须安装Ajax Min,请按照以下步骤操作

Go to Visual Studio > Tools> NuGet Package manager > Package Manager Console 转到Visual Studio>工具> NuGet程序包管理器>程序包管理器控制台

write

PM> Install-Package AjaxMin PM>安装包AjaxMin

Press Enter. 按Enter键。

That's all run your program :) Happy Coding. 全部运行您的程序:)快乐编码。

In my case, it was local user permissions issue. 就我而言,这是本地用户权限问题。 Here is how I fixed it: 这是我的解决方法:

  1. Locate your application folder. 找到您的应用程序文件夹。
  2. Right-click and select properties 右键单击并选择属性
  3. Go to Security tab and see if < YOURSERVERNAME >/Users are listed 转到“安全性”选项卡,查看是否列出了< YOURSERVERNAME > /用户
  4. If not, add them with default permissions 如果没有,请使用默认权限添加它们

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集&#39;AjaxMin,Version = 4.97.4951.28478,Culture = neutral,PublicKeyToken = 21ef50ce11b5d80f&#39;或其中一个依赖项 - Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies 无法加载文件或程序集 &#39;EntityFramework,版本 = 6.0.0.0, - Could not load file or assembly 'EntityFramework, Version=6.0.0.0, 无法加载文件或程序集 &#39;Ninject 版本 4.0.0.0 - Could not load file or assembly 'Ninject version 4.0.0.0 无法加载文件或程序集&#39;RevitApi&#39;版本= 19.0.0.0, - Could not load file or assembly 'RevitApi' version = 19.0.0.0, 无法加载文件或程序集 &#39;RestSharp,版本 = 105.2.3.0 - Could not load file or assembly 'RestSharp, Version=105.2.3.0 无法加载文件或程序集&#39;WebGrease,Version = 1.5.1.25624 - Could not load file or assembly 'WebGrease, Version=1.5.1.25624 无法加载文件或程序集 &#39;EntityFramework,版本 = 6.0.0.0 - Could not load file or assembly 'EntityFramework, Version=6.0.0.0 无法加载文件或程序集系统2.0.0版 - Could not load file or assembly System, Version 2.0.0 无法加载文件或程序集&#39;PayPalAdaptivePaymentsSDK,版本= 2.12.117.0 - Could not load file or assembly 'PayPalAdaptivePaymentsSDK, Version=2.12.117.0 无法加载文件或程序集 'MSHTML,版本 = 4.0.0.0, - Could not load file or assembly 'MSHTML, Version=4.0.0.0,
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM