Ошибка при создании обработчика раздела конфигурации для

Проблема

«Необрабатываемое исключение в приложении. При нажатии кнопки «Продолжить» приложение проигнорирует ошибку и попытается продолжить работу. При нажатии кнопки «Выход» приложение немедленно завершит работу.

Ошибка при создании обработчика раздела конфигурации для userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Нвозможно загрузить файл или сборку «System,Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089» или один из зависимых от них компонентов. Не удается найти указанный файл.

(C:Users <user> AppDataLocalMicrosoft_CorporationLandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx10.0.0.0user…)

…»

SQL ставится на Windows 7.1. Уже стоял SQL, который был удален.

Решение

Удаление папки «C:Users <user> AppDataLocalMicrosoft_Corporation»

Ссылки

http://www.sql.ru/forum/1015678/oshibka-pri-ustanovke-sql-server-2008-r2

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f9ab6d1c-6d4e-4453-814f-96a92a081f22/systemconfigurationconfigurationerrorsexception-an-error-occurred-creating-the-configuration?forum=sqlexpress

I have a dot.NET 4.0 web application with a custom section defined:

<configuration>
    <configSections>
    <section name="registrations" type="System.Configuration.IgnoreSectionHandler, System.Configuration, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="true" restartOnExternalChanges="true" allowLocation="true"/>
    ....

at the end of the web.config file I have the respective section:

  ....
  <registrations>
    .....
  </registrations>
</configuration>

Every time I call System.Configuration.ConfigurationManager.GetSection("registrations"); I get the following exception:

An error occurred creating the configuration section handler for registrations: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) (C:…web.config line 13)

I’m also using Unity but don’t know if that’s in any way related to the error.

Have you faced this error before? How can I fix it? Do I need to replace the IgnoreSectionHandler with something else?

  • Remove From My Forums
  • Вопрос

  • Есть: система со свежеустановленной Windows XP SP3 / Windows 7 / windows server 2003 sp2

    1) ставим VS 2010 Ultimate (+ FW4.0).

    2) после установки студии начинаем ставить SQL Server 2008 Enterprice Edition (версия без сервис паков)
    Получаем при запуске инсталлятора:

    System.Configuration.ConfigurationErrorsException: Ошибка при создании обработчика раздела конфигурации для userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Невозможно загрузить файл или сборку «System, Version=4.0.0.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089» или один из зависимых от них компонентов. Не удается найти указанный файл. (C:UsersPiterAppDataLocalMicrosoft_CorporationLandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx10.0.0.0user.config line 5) —>
    System.IO.FileNotFoundException: Невозможно загрузить файл или сборку «System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089» или один из зависимых от них компонентов. Не удается найти указанный файл.
    Имя файла: «System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089»
       в System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
       в System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       в System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       в System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
       в System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
    ……..

    • Изменен тип

      30 апреля 2010 г. 5:50
      Ждём топиккастера

    • Перемещено
      Tagore Bandlamudi
      3 октября 2010 г. 0:37
      MSDN Forums consolidation (От:Форум по .NET Framework)
    • Изменен тип
      Abolmasov Dmitry
      3 ноября 2011 г. 7:30

Ответы

  • You can fix this problem by deleting users(your profile)Local SettingsApplication DataMicrosoft_Corporation folder. 

    • Помечено в качестве ответа
      Abolmasov Dmitry
      3 ноября 2011 г. 7:30

Проблема

«Необрабатываемое исключение в приложении. При нажатии кнопки «Продолжить» приложение проигнорирует ошибку и попытается продолжить работу. При нажатии кнопки «Выход» приложение немедленно завершит работу.

Ошибка при создании обработчика раздела конфигурации для userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Нвозможно загрузить файл или сборку «System,Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089» или один из зависимых от них компонентов. Не удается найти указанный файл.

(C:Users <user> AppDataLocalMicrosoft_CorporationLandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx10.0.0.0user…)

…»

SQL ставится на Windows 7.1. Уже стоял SQL, который был удален.

Решение

Удаление папки «C:Users <user> AppDataLocalMicrosoft_Corporation»

Ссылки

http://www.sql.ru/forum/1015678/oshibka-pri-ustanovke-sql-server-2008-r2

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f9ab6d1c-6d4e-4453-814f-96a92a081f22/systemconfigurationconfigurationerrorsexception-an-error-occurred-creating-the-configuration?forum=sqlexpress

  • Remove From My Forums
  • Вопрос

  • Есть: система со свежеустановленной Windows XP SP3 / Windows 7 / windows server 2003 sp2

    1) ставим VS 2010 Ultimate (+ FW4.0).

    2) после установки студии начинаем ставить SQL Server 2008 Enterprice Edition (версия без сервис паков)
    Получаем при запуске инсталлятора:

    System.Configuration.ConfigurationErrorsException: Ошибка при создании обработчика раздела конфигурации для userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Невозможно загрузить файл или сборку «System, Version=4.0.0.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089» или один из зависимых от них компонентов. Не удается найти указанный файл. (C:UsersPiterAppDataLocalMicrosoft_CorporationLandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx10.0.0.0user.config line 5) —>
    System.IO.FileNotFoundException: Невозможно загрузить файл или сборку «System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089» или один из зависимых от них компонентов. Не удается найти указанный файл.
    Имя файла: «System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089»
       в System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
       в System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       в System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       в System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
       в System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
    ……..

    • Изменен тип

      30 апреля 2010 г. 5:50
      Ждём топиккастера

    • Перемещено
      Tagore Bandlamudi
      3 октября 2010 г. 0:37
      MSDN Forums consolidation (От:Форум по .NET Framework)
    • Изменен тип
      Abolmasov Dmitry
      3 ноября 2011 г. 7:30

Ответы

  • You can fix this problem by deleting users(your profile)Local SettingsApplication DataMicrosoft_Corporation folder. 

    • Помечено в качестве ответа
      Abolmasov Dmitry
      3 ноября 2011 г. 7:30

I have a dot.NET 4.0 web application with a custom section defined:

<configuration>
    <configSections>
    <section name="registrations" type="System.Configuration.IgnoreSectionHandler, System.Configuration, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="true" restartOnExternalChanges="true" allowLocation="true"/>
    ....

at the end of the web.config file I have the respective section:

  ....
  <registrations>
    .....
  </registrations>
</configuration>

Every time I call System.Configuration.ConfigurationManager.GetSection("registrations"); I get the following exception:

An error occurred creating the configuration section handler for registrations: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) (C:…web.config line 13)

I’m also using Unity but don’t know if that’s in any way related to the error.

Have you faced this error before? How can I fix it? Do I need to replace the IgnoreSectionHandler with something else?

I have a dot.NET 4.0 web application with a custom section defined:

<configuration>
    <configSections>
    <section name="registrations" type="System.Configuration.IgnoreSectionHandler, System.Configuration, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="true" restartOnExternalChanges="true" allowLocation="true"/>
    ....

at the end of the web.config file I have the respective section:

  ....
  <registrations>
    .....
  </registrations>
</configuration>

Every time I call System.Configuration.ConfigurationManager.GetSection("registrations"); I get the following exception:

An error occurred creating the configuration section handler for registrations: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) (C:…web.config line 13)

I’m also using Unity but don’t know if that’s in any way related to the error.

Have you faced this error before? How can I fix it? Do I need to replace the IgnoreSectionHandler with something else?

Мы получаем нечетную ошибку в нашей тестовой среде с настраиваемой конфигурацией.

Это для службы Windows, работающей на 64-битном сервере Enterprise Server 2008 R2 с SQL Server 2008 в обеих тестовых средах.

Этот раздел настраивает нашу общую библиотеку кодов для отправки электронной почты заинтересованным сторонам всякий раз, когда ошибка обрабатывается и публикуется с таким кодом:

catch(Exception ex)
{
    ExceptionManager.Publish(ex);
}

Специфические ошибки (полная информация — имена изменены для сохранения невинных)

4   <configSections>
5       <section name="exceptionManagement"
6                type="Company.Shared.ExceptionManagement.ExceptionManagerSectionHandler, Company.Shared" />
7   </configSections>
8   <exceptionManagement>
9       <publisher assembly="Company.Shared" type="Company.Shared.ExceptionManagement.DefaultPublisher"
10                 logName="CPODSOracleDataExchange" applicationName="CPODSOracleDataExchange Service" />
11      <publisher assembly="Company.Shared" type="Company.Shared.ExceptionManagement.ExceptionManagerSMTPPublisher"
12                 from="[email protected]"
13                 defaultRecipients="[email protected],[email protected]"
14                 applicationName="CPODSOracleDataExchange Service" />
15  </exceptionManagement>


1) Exception Information
*********************************************
Exception Type: System.Configuration.ConfigurationErrorsException
Message: An error occurred creating the configuration section handler for exceptionManagement: Request failed. (E:CITAppsServicesCPODS.OracleDataExchangeServiceCompany.CPODS.OracleDataExchangeService.exe.Config line 5)
BareMessage: An error occurred creating the configuration section handler for exceptionManagement: Request failed.
Filename: E:CITAppsServicesCPODS.OracleDataExchangeServiceCompany.CPODS.OracleDataExchangeService.exe.Config
Line: 5
Errors: System.Configuration.ConfigurationException[]
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Configuration.FactoryRecord FindAndEnsureFactoryRecord(System.String, Boolean ByRef)
HelpLink: NULL
Source: System.Configuration

StackTrace Information
*********************************************
   at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at Company.Shared.ExceptionManagement.ExceptionManager.Publish(Exception exception, NameValueCollection additionalInfo)

2) Exception Information
*********************************************
Exception Type: System.Security.SecurityException
Action: Demand
PermissionType: System.Security.PermissionSet
FirstPermissionThatFailed: NULL
PermissionState: <PermissionSet class="System.Security.PermissionSet"
version="1"
Unrestricted="true"/>

Demanded: <PermissionSet class="System.Security.PermissionSet"
version="1"
Unrestricted="true"/>

GrantedSet: 
RefusedSet: 
DenySetInstance: NULL
PermitOnlySetInstance: <PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.FileDialogPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Access="Open"/>
<IPermission class="System.Security.Permissions.IsolatedStorageFilePermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Allowed="ApplicationIsolationByUser"
UserQuota="1024000"/>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Execution"/>
<IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Window="SafeTopLevelWindows"
Clipboard="OwnClipboard"/>
<IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
version="1"
Level="SafePrinting"/>
<IPermission class="System.Security.Permissions.MediaPermission, WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
version="1"
Audio="SafeAudio"
Video="SafeVideo"
Image="SafeImage"/>
<IPermission class="System.Security.Permissions.WebBrowserPermission, WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
version="1"
Level="Safe"/>
</PermissionSet>

FailedAssemblyInfo: NULL
Method: Void InitWithRestrictedPermissions(System.Configuration.RuntimeConfigurationRecord, System.Configuration.FactoryRecord)
Zone: NoZone
Url: 
Message: Request failed.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
HelpLink: NULL
Source: mscorlib

StackTrace Information
*********************************************
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Configuration.TypeUtil.CreateInstanceWithReflectionPermission(Type type)
   at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
   at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)

Соответствующий раздел файла конфигурации (с номерами строк):

4   <configSections>
5       <section name="exceptionManagement"
6                type="Company.Shared.ExceptionManagement.ExceptionManagerSectionHandler, Company.Shared" />
7   </configSections>
8   <exceptionManagement>
9       <publisher assembly="Company.Shared" type="Company.Shared.ExceptionManagement.DefaultPublisher"
10                 logName="CPODSOracleDataExchange" applicationName="CPODSOracleDataExchange Service" />
11      <publisher assembly="Company.Shared" type="Company.Shared.ExceptionManagement.ExceptionManagerSMTPPublisher"
12                 from="[email protected]"
13                 defaultRecipients="[email protected],[email protected]"
14                 applicationName="CPODSOracleDataExchange Service" />
15  </exceptionManagement>

Эта точно такая же конфигурация прекрасно работает в нашей среде DEV. Это самые точные среды, насколько мне известно, и обе службы работают под одной базой кода.

Любые идеи относительно того, что такое отказ от прав? Одна вещь, над которой мы работаем, — это создание настраиваемого журнала, но даже когда мы удаляем издателя по умолчанию, который пытается записать в собственный журнал, который не существует, процесс все равно не работает.

Я работаю с EF5 на веб-сайте MVC 4 aspnet. Локально все работает нормально, но когда я публикую его в IIS и пытаюсь войти, я получаю ошибку

«Инициализатор типа для System.Data.Entity.Internal.AppConfig вызвал исключение».

Подробное исключение

Произошла ошибка при создании обработчика раздела конфигурации для entityFramework: Конфигурация для DbContext типа «GdpSoftware.Server.Data.GdpSoftwareDbContext, GdpSoftware.Server.Data» указывается несколько раз в конфигурации приложения. Каждый контекст можно настроить только один раз. (E: App web.config, строка 104)

Я проверил предыдущий вопрос в StackOverflow, и я уже удалил и переустановил через Nuget EntityFramework и проверил, что каждая ссылка на него в каждом проекте — EF5. Я также проверил, что выбранный фреймворк в каждом проекте — 4.5.

Есть идеи, что может вызвать проблему? Спасибо! Гильермо.

web.config

<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

  <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
  <connectionStrings>
    <add name="GdpSoftwareConnectionString" connectionString="Persist Security Info=False;User ID=user;Password=password;Initial Catalog=databasename;Data Source=server" providerName="System.Data.SqlClient" />
    <add name="GdpSoftware.Server.Data.GdpSoftwareDbContext" connectionString="GdpSoftware.Server.Data.GdpSoftwareDbContext_ConnectionString" providerName="System.Data.SqlClient"/>
    <add name="GdpSoftware.Server.Ui.Web.Models.UsersContext" connectionString="GdpSoftware.Server.Ui.Web.Models.UsersContext_ConnectionString" providerName="System.Data.SqlClient"/>
  </connectionStrings>
  <appSettings>
    <add key="webpages:Version" value="2.0.0.0" />
    <add key="webpages:Enabled" value="false" />
    <add key="PreserveLoginUrl" value="true" />
    <add key="ClientValidationEnabled" value="true" />
    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  </appSettings>
  <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
    <authentication mode="Forms">
      <forms loginUrl="~/Account/Login" timeout="2880" />
    </authentication>
    <pages>
      <namespaces>
        <add namespace="System.Web.Helpers" />
        <add namespace="System.Web.Mvc" />
        <add namespace="System.Web.Mvc.Ajax" />
        <add namespace="System.Web.Mvc.Html" />
        <add namespace="System.Web.Optimization" />
        <add namespace="System.Web.Routing" />
        <add namespace="System.Web.WebPages" />
      </namespaces>
    </pages>
    <!-- BEGIN - TO SEE THE ERRORS ON THE DEPLOYMENT-->
    <customErrors mode="Off" />
    <!-- END - TO SEE THE ERRORS ON THE DEPLOYMENT-->
  </system.web>
  <system.webServer>
    <!-- BEGIN - TO SEE THE ERRORS ON THE DEPLOYMENT-->
    <httpErrors errorMode="Detailed" />
    <asp scriptErrorSentToBrowser="true" />
    <!-- END - TO SEE THE ERRORS ON THE DEPLOYMENT-->
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%Microsoft.NETFrameworkv4.0.30319aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%Microsoft.NETFramework64v4.0.30319aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
    <staticContent>
      <mimeMap fileExtension=".mustache" mimeType="text/plain" />
    </staticContent>
    <security>
      <requestFiltering>
        <fileExtensions>
          <add fileExtension=".mustache" allowed="true" />
        </fileExtensions>
      </requestFiltering>
    </security>
  </system.webServer>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Castle.Windsor" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.2.0.0" newVersion="3.2.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Owin.Host.SystemWeb" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.0.0.0" newVersion="1.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.2.0.0" newVersion="3.2.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
    <contexts>
      <context type="GdpSoftware.Server.Data.GdpSoftwareDbContext, GdpSoftware.Server.Data" disableDatabaseInitialization="true">
        <databaseInitializer type="System.Data.Entity.MigrateDatabaseToLatestVersion`2[[GdpSoftware.Server.Data.GdpSoftwareDbContext, GdpSoftware.Server.Data], [GdpSoftware.Server.Data.Migrations.Configuration, GdpSoftware.Server.Data]], EntityFramework" />
      </context>
    </contexts>
  </entityFramework>
</configuration>

28 ответов

Лучший ответ

Сделайте следующее в файле App.config,

  1. Поместите элемент connectionStrings после элемента configSections.
  2. Поместите элемент startup после элемента connectionStrings.
<?xml version="1.0" encoding="utf-8"?>
 <configuration>
   <configSections>
         <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
   </configSections>
   <connectionStrings>
         <add name="SchedulingContext" connectionString="Data Source=XXXSQL2008R2DEV;Initial Catalog=YYY;Persist Security Info=True;User ID=sa;Password=XXX"   providerName="System.Data.SqlClient"/>
   </connectionStrings>
   <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>       
 </configuration>


88

Carrie Kendall
24 Фев 2014 в 23:21

Я обнаружил, что удаление ссылок на Entity Framework и установка последней версии Entity Framework из NuGet устранили проблему. Он воссоздает все необходимые записи во время установки.


6

Ben Pretorius
4 Фев 2014 в 10:23

Я сломал себе голову из-за этой проблемы, и, наконец, вот что сработало для меня: —

Шаг 1. Удалите Entity framework с помощью диспетчера пакетов Nuget.

Шаг 2. Удалите элемент Entityframework из App.config

Шаг 3. Переустановите нужную версию Entity Framework.

Шаг 4: удалите таблицу миграции и папку миграции.

Шаг 5. Включите миграцию и добавьте базу данных миграции и обновления.


4

Golden Griffin
8 Апр 2016 в 09:29

В моем web.config указано несколько provider.

 <providers>
      <provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6" />
      <provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"></provider>
    </providers>

Я просто удалил один из них, и он сработал.

Я использую MySQL, а не TSQL.


2

Luke
25 Май 2015 в 16:58

Я также столкнулся с той же проблемой, однако в моем случае в моем решении есть консольное приложение и библиотека классов EF, которая в основном взаимодействует с базой данных. Я удалил настройки конфигурации, связанные с EF, из конфигурации консольного приложения. Я сохранил следующие параметры конфигурации в библиотеке классов EF, то есть только в одном месте.

Это сработало для меня.


<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.2.61023.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<add name="EntityModel" connectionString="Server=LocalhostSQLEXPRESS;Database=SampleEntities;Trusted_Connection=True;" providerName="System.Data.EntityClient" />


2

Chandrasekhar Telkapalli
20 Авг 2018 в 17:35

Измените эту часть в своем Web.config в соответствии с приведенным ниже кодом (попробуйте это, у меня это работает).

<entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="Data Source=.; Integrated Security=True; MultipleActiveResultSets=True" />   
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>


1

Niroshan Kumarasamy
3 Ноя 2019 в 09:14

Я столкнулся с этой проблемой, когда забыл настроить файл Connections.config на «всегда копировать».

BareMessage = «Невозможно открыть файл configSource ‘Connections.config’.»


1

Matt Knight
18 Май 2016 в 18:58

В моем случае

<section name="entityFramework"

Должен быть обновлен с версии 4 до 6. Я имею в виду, что проект был обновлен с EntityFramework с 4 до 6, но web.config не обновился.


1

yW0K5o
28 Янв 2020 в 00:32

Я думаю, проблема в этой строке:

<context type="GdpSoftware.Server.Data.GdpSoftwareDbContext, GdpSoftware.Server.Data" disableDatabaseInitialization="true">

Я не знаю, почему вы используете такой подход и как он работает …

Может лучше попробовать вытащить его из web.config и пойти другим путем


0

Amin Saqi
30 Июл 2013 в 14:13

Если вы поддерживаете еще один файл конфигурации для app.config, не включайте какой-либо ключ на родительскую страницу.

Родительская страница: app.config

<appSettings configSource="appSettings.config">
    <add key="ClientSettings" value="venice" /> <!-- Don't add Key Here -->
</appSettings>

Дочерняя страница: appSettings.config

<appSettings>
  <add key="ClientSettings" value="venice"/> <!-- add Here -->
</appSettings>


0

Bala Kumar
8 Окт 2014 в 12:01

У меня была такая же проблема. Через день я его получил.

Проблема заключалась в добавлении двух тегов smtp в mailSettings под <system.net>.


0

2 revs, 2 users 60%
25 Мар 2015 в 17:01

Выполните поиск в web.config или App.Config, если у вас есть теги, которые не используются в вашем проекте или отсутствуют в ваших ссылках.


0

Kevin Panko
25 Мар 2015 в 17:02

Сегодня у меня была эта ошибка во вложенном приложении MVC, работающем как виртуальная папка в другом приложении MVC. В моем случае InnerException был информативнее основного. В нем говорилось:

- The entry 'DbContextMain' has already been added. (C:inetpub...web.config line x)

После исправления повторяющихся строк подключения во вложенных приложениях все работало нормально.


0

Stefan Michev
29 Авг 2015 в 16:50

Если вы используете ASP.NET и IIS Express, перейдите в «C: Users Documents IISExpress config applicationhost.config», найдите свой проект и посмотрите, есть ли у вас неправильная запись виртуального каталога.


0

malt
28 Окт 2015 в 10:43

Я столкнулся с аналогичной проблемой, и изменение defaultConnectionFactory на SqlConnectionFactory помогло мне ее решить.


0

Sudha Vijayakumar
12 Авг 2016 в 18:05

Возникла фактическая ошибка. Сообщение = неопознанный элемент «поставщики» в web.config, поэтому из файла web.config удалите раздел «поставщики»


0

Bala
29 Янв 2017 в 15:35

Общая проблема — это любая проблема, связанная с конфигурациями компьютера / Интернета / приложения.

У меня были те же строки подключения в Machine.Config, что и в моем App.Config, поэтому я поставил перед своей первой строкой подключения в моем App.Config


0

Paul Totzke
22 Фев 2017 в 23:31

Эта странная ошибка возникает, когда вы играете с разными версиями версий EntityFramework в пакетах Nuget, как я.

Сначала удалите библиотеку Entity Framework DLL из пакетов NuGet, а затем очистите app.config. Удалив запись из configSections и элемента entity framework.

Далее устанавливаем желаемую версию. Это должно решить проблему.


0

GingerBeer
12 Апр 2018 в 10:42

В строке подключения первая строка — это база в web.config.

SchedulingContext — это базовый параметр файла сущности.

<connectionStrings>
     <add name="SchedulingContext" connectionString="Data Source=XXXSQL2008R2DEV;Initial Catalog=YYY;Persist Security Info=True;User ID=sa;Password=XXX"   providerName="System.Data.SqlClient"/>


0

Rajashekar Jadala
20 Ноя 2018 в 15:40

В моем случае добавление <clear /> сразу после <connectionStrings> работало как шарм


0

Atiq Baqi
16 Июн 2019 в 09:13

У меня было двойное определение строки подключения в моей службе WCF. Мне удалось отладить службу и увидеть внутреннее сообщение об ошибке (не отображается по умолчанию):

ConfigurationErrorsException: The entry 'xxxEntities' has 
already been added. (C:UsersWcfServiceweb.config line 35). 

Который был после преобразования web.config (обратите внимание на двузначные значения)

<connectionStrings>
    <add name="xxxEntities" connectionString="metadata=res://*/ ...
    <add name="xxxEntities" connectionString="metadata=res://*/ ...

Следовательно, удаление нежелательной строки подключения решило мою проблему.


0

Honza P.
26 Июн 2019 в 10:40

Я решил эту проблему, удалив DbproviderFactory в разделе system.data файла machine.config, при установке fbclient.dll были какие-то грязные данные.

C: Windows Microsoft.NET Framework64 v4.0.30319 Config machine.config C: Windows Microsoft.NET Framework v4.0.30319 Config machine.config

  <system.data>
    <!-- <DbProviderFactories><add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=4.10.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/><add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=6.4.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/> -->
  </system.data>


0

Evilripper
25 Июн 2020 в 17:43

Старый вопрос, но это случилось со мной по разным причинам, упомянутым в других ответах, поэтому я подумал, что поделюсь своими выводами.

В моем случае проблема заключалась в том, как я определил запись строки подключения в app.config. Я редактировал его прямо в Notepad++, и я, должно быть, нажал ярлык и свернул всю строку, которую не заметил, и начал получать эту ошибку. Вот как я это определил:

<add name="MyDb" connectionstring="data source=MyServer;
 initial catalog=MyDatabase;integrated security=true" 
 providername="System.Data.SqlClient" />

Второй я изменил следующие параметры

connectionstring to connectionString

А также

providername to providerName

Примечание. Проблема была немедленно выделена в Visual Studio, но очевидно, что это не идеально, если вы находитесь на клиентском сайте!


0

Thierry
22 Июл 2020 в 18:48

У меня было дублированное определение строки подключения в моем Project Cms, а класс Context назван: CmsContext

В моем случае проблема была решена, поскольку я изменил соединение в Web.config следующим образом: сначала одно имя — CmsContext, и оно связано с основным проектом. Во втором — одно имя — DefaultConnection, и оно связано с Identity.

<add name="CmsContext" providerName="System.Data.SqlClient" connectionString="Data Source=DESKTOP-2NQSP1PSQLEXPRESS;  Initial Catalog=CmsDB;Integrated Security=True;" />
</connectionStrings>


0

Tasos K.
26 Авг 2020 в 10:50

Шаг 1: структура сущности uninstall-package: эта команда удаляет существующий Entitymanger в проекте

Шаг 2: структура сущности uninstall-package: эта команда устанавливает последнюю версию в проект

Наконец-то перестройте проект, он будет хорошо работать


0

Bharath Kumar
22 Дек 2021 в 10:26

Я удалил папку bin, пересобрал решение и снова включил сгенерированную папку bin в проект. Мой код начал работать.


0

Timothy G.
11 Июн 2022 в 13:49

Проверьте диск C внутри C: inetpub wwwroot и удалите с него все ненужные папки, в противном случае удалите ненужные файлы хоста или папки из IIS.


-1

Svein Terje Gaup
11 Авг 2020 в 17:52

У меня проблема… никто другой не может помочь, поэтому я задаюсь вопросом, может ли кто-нибудь здесь?

У меня есть проект веб-сервиса (первоначально в.NET 2.0, но обновленный до.NET 4.5), который отлично работал сегодня утром. У меня также есть проект Winforms, который подключается к веб-службам.

При создании приложения Winforms сборка удалась, при ее запуске я получаю сообщение об ошибке:

Произошла ошибка при создании обработчика раздела конфигурации для ApplicationSettings/Windows.Main.Properties.Settings: Не удалось загрузить файл или сборку «Приложение, версия = 4.0.0.0, Культура = нейтраль, PublicKeyToken = b77a5c561934e089» или одна из его зависимостей. Система не может найти указанный файл.

Я просмотрел SO и другие сайты, но не могу найти ничего конкретного, что указывает на причину этой ошибки. Я попытался понизить.NET Framework и обновить их снова — все работает на 4.5 — но это не удается:

[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
[global::System.Configuration.DefaultSettingValueAttribute("http://localhost:53442/ConfigurationService.asmx")]
public string Windows_Main_BnConfigurationService_ConfigurationService {
get {
return ((string)(this["Windows_Main_BnConfigurationService_ConfigurationService"]));
}

Я проверил загрузку кода, но не могу найти причину проблемы.

Это, вероятно, будет легким решением для кого-то в курсе, но я просто не знаю об этой ошибке! ПОМОГИТЕ?!

  • Remove From My Forums
  • Question

  • User-1138950106 posted

    I’m trying to get an asp.net application running using IIS 5.1. My problem is that I get the error given below when I try to read a custom configration section from Web.Config.

    Error:

    ‘An error occurred creating the configuration section handler for cloudsConfig/cacheSettings: Could not load file

    or assembly ‘Eurosafe.Directory.Library’ or one of its dependencies. The system cannot find the file specified.’

    ‘cacheSettings’ is the name of the custom config section, and it is defined and used as follows in the web.config file:

    <configSections>
            <sectionGroup name="cloudsConfig">
              <section name="cacheSettings" type="Eurosafe.Directory.Library.Configuration.CacheSettings, Eurosafe.Directory.Library"/>
           </sectionGroup>
    </configSections>
    
    <cloudsConfig>
            <cacheSettings
              forceCacheOverwriting="false"
              cacheBasePath="C:WebdirectoryCache" />
    </cloudsConfig>
            
    
    
    

    This application runs fine from Visual Studio. The error occurs when I run it from IIS, and the application calls ‘ConfigurationManager.GetSection(cloudsConfig/cacheSettings)’. I’m guessing that the problem may be the ‘cacheBasePath’ property, which
    points at a folder outside the virtual directory.

    I’m not sure that my guess is correct. Can someone tell me how I can solve this?

    Thanks,

    SJC

Answers

  • User-1138950106 posted

    I have atlast solved this problem.

    The code, as you can see, references the library ‘Eurosafe.Directory.Library’. But the nant build script was creating the library and naming it as ‘Eurosafe.Clouds.Library.dll’ and so the configuration file could not find it.

    As I’m not familiar with nant, rather than dig into it, I had tried copying Eurosafe.Directory.Library.dll to the relevant folder, from another location, but this was giving me another error. So I thought that was not the problem. But then, I decided to
    dig deeper into nant. I corrected the build scripts to name the dll as ‘Eurosafe,Directory.Library.dll’, and it works fine now.

    Thanks for all your help.

    SJC

    • Marked as answer by

      Thursday, October 7, 2021 12:00 AM

Мы получаем нечетную ошибку в нашей тестовой среде с настраиваемой конфигурацией.

Это для службы Windows, работающей на 64-битном сервере Enterprise Server 2008 R2 с SQL Server 2008 в обеих тестовых средах.

Этот раздел настраивает нашу общую библиотеку кодов для отправки электронной почты заинтересованным сторонам всякий раз, когда ошибка обрабатывается и публикуется с таким кодом:

catch(Exception ex)
{
    ExceptionManager.Publish(ex);
}

Специфические ошибки (полная информация — имена изменены для сохранения невинных)

4   <configSections>
5       <section name="exceptionManagement"
6                type="Company.Shared.ExceptionManagement.ExceptionManagerSectionHandler, Company.Shared" />
7   </configSections>
8   <exceptionManagement>
9       <publisher assembly="Company.Shared" type="Company.Shared.ExceptionManagement.DefaultPublisher"
10                 logName="CPODSOracleDataExchange" applicationName="CPODSOracleDataExchange Service" />
11      <publisher assembly="Company.Shared" type="Company.Shared.ExceptionManagement.ExceptionManagerSMTPPublisher"
12                 from="[email protected]"
13                 defaultRecipients="[email protected],[email protected]"
14                 applicationName="CPODSOracleDataExchange Service" />
15  </exceptionManagement>


1) Exception Information
*********************************************
Exception Type: System.Configuration.ConfigurationErrorsException
Message: An error occurred creating the configuration section handler for exceptionManagement: Request failed. (E:CITAppsServicesCPODS.OracleDataExchangeServiceCompany.CPODS.OracleDataExchangeService.exe.Config line 5)
BareMessage: An error occurred creating the configuration section handler for exceptionManagement: Request failed.
Filename: E:CITAppsServicesCPODS.OracleDataExchangeServiceCompany.CPODS.OracleDataExchangeService.exe.Config
Line: 5
Errors: System.Configuration.ConfigurationException[]
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Configuration.FactoryRecord FindAndEnsureFactoryRecord(System.String, Boolean ByRef)
HelpLink: NULL
Source: System.Configuration

StackTrace Information
*********************************************
   at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at Company.Shared.ExceptionManagement.ExceptionManager.Publish(Exception exception, NameValueCollection additionalInfo)

2) Exception Information
*********************************************
Exception Type: System.Security.SecurityException
Action: Demand
PermissionType: System.Security.PermissionSet
FirstPermissionThatFailed: NULL
PermissionState: <PermissionSet class="System.Security.PermissionSet"
version="1"
Unrestricted="true"/>

Demanded: <PermissionSet class="System.Security.PermissionSet"
version="1"
Unrestricted="true"/>

GrantedSet: 
RefusedSet: 
DenySetInstance: NULL
PermitOnlySetInstance: <PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.FileDialogPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Access="Open"/>
<IPermission class="System.Security.Permissions.IsolatedStorageFilePermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Allowed="ApplicationIsolationByUser"
UserQuota="1024000"/>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Execution"/>
<IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Window="SafeTopLevelWindows"
Clipboard="OwnClipboard"/>
<IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
version="1"
Level="SafePrinting"/>
<IPermission class="System.Security.Permissions.MediaPermission, WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
version="1"
Audio="SafeAudio"
Video="SafeVideo"
Image="SafeImage"/>
<IPermission class="System.Security.Permissions.WebBrowserPermission, WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
version="1"
Level="Safe"/>
</PermissionSet>

FailedAssemblyInfo: NULL
Method: Void InitWithRestrictedPermissions(System.Configuration.RuntimeConfigurationRecord, System.Configuration.FactoryRecord)
Zone: NoZone
Url: 
Message: Request failed.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
HelpLink: NULL
Source: mscorlib

StackTrace Information
*********************************************
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Configuration.TypeUtil.CreateInstanceWithReflectionPermission(Type type)
   at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
   at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)

Соответствующий раздел файла конфигурации (с номерами строк):

4   <configSections>
5       <section name="exceptionManagement"
6                type="Company.Shared.ExceptionManagement.ExceptionManagerSectionHandler, Company.Shared" />
7   </configSections>
8   <exceptionManagement>
9       <publisher assembly="Company.Shared" type="Company.Shared.ExceptionManagement.DefaultPublisher"
10                 logName="CPODSOracleDataExchange" applicationName="CPODSOracleDataExchange Service" />
11      <publisher assembly="Company.Shared" type="Company.Shared.ExceptionManagement.ExceptionManagerSMTPPublisher"
12                 from="[email protected]"
13                 defaultRecipients="[email protected],[email protected]"
14                 applicationName="CPODSOracleDataExchange Service" />
15  </exceptionManagement>

Эта точно такая же конфигурация прекрасно работает в нашей среде DEV. Это самые точные среды, насколько мне известно, и обе службы работают под одной базой кода.

Любые идеи относительно того, что такое отказ от прав? Одна вещь, над которой мы работаем, — это создание настраиваемого журнала, но даже когда мы удаляем издателя по умолчанию, который пытается записать в собственный журнал, который не существует, процесс все равно не работает.

  • Ошибка при создании новой учетной записи
  • Ошибка при создании нового тома недопустимое имя пакета
  • Ошибка при создании нового тома диска
  • Ошибка при создании начального образа узла риб
  • Ошибка при создании локального диска