Когда я пытаюсь что-то записать в оркестровку BizTalk, в журнале событий появляется сообщение об ошибке ниже.
Error using Info(System.String,System.String): Resolution of the dependency failed, type = "Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter", name = "(none)".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The type LogWriter cannot be constructed. You must configure the container to supply this value.
-----------------------------------------------
At the time of the exception, the container was:
Resolving Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter,(none)
Inner exception: The type LogWriter cannot be constructed. You must configure the container to supply this value.
Для входа в оркестровку BizTalk я создал специальный компонент .net, который использует Microsoft Enterprise Library 5. Конфигурация ведения журнала Entlib находится в отдельном файле и в файлах конфигурации BizTalk BTSNTSvc.exe.config
и BTSNTSvc64.exe.config
ссылка на файл entlib.config
Я использую BizTalk 2016 и VS2015.
Я пытаюсь записать текст в простой текстовый файл.