2014-05-07 6 views
1

Я работаю с ASP.net 4.0. с менеджером орехов. Я обновил jQuery и Json, и эта DLL поставляется с ней. Но внезапно он перестает отвечать на запросы и после успешного создания с этой ошибкой ошибки.Не удалось загрузить файл или сборку «AjaxMin, Version = 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. проблема будет решена. -preetam jakhmola

3

Привет вам необходимо установить Ajax Min, пройти через следующую процедуру

Перейти к Visual Studio> Инструменты> Диспетчер NuGet пакета> Package Manager Console

записи

PM> Установить -Package AjaxMin

Нажмите Enter.

Это все запустит вашу программу :) Happy Coding.

0

В моем случае это были проблемы с правами доступа локального пользователя. Вот как я его исправил:

  1. Найдите папку своего приложения.
  2. правой кнопкой мыши и выберите свойства
  3. Перейти на вкладку Безопасность и посмотреть, если < имя_сервера>/Users перечислены
  4. Если нет, то добавьте их разрешения по умолчанию
Смежные вопросы