SageKiP.exe.config tak wygląda:
Nie bardzo wiem gdzie tu wstawić to "coś" z tego artykułu
https://centrumwiedzy.sage.com.pl/Conte ... x?id=13453Proszę o pomoc
Karol
<?xml version="1.0"?>
<configuration>
<runtime>
<assemblies><!--problem z raportami repx -->
<add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</assemblies>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Practices.ServiceLocation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.transactions>
<defaultSettings timeout="02:00:00"/>
<machineSettings maxTimeout="02:00:00"/>
</system.transactions>
<appSettings>
<!--
<add key="HelpURL" value="http://help-develop.azurewebsites.net/Help"/>
-->
<add key="TokenTime" value="15" />
<add key="EmailHost" value="" />
<add key="EmailPort" value="" />
<add key="EmailFrom" value="" />
<add key="EmailEnableSSL" value="false" />
<add key="EmailUserName" value="" />
<add key="EmailPassword" value="" />
</appSettings>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="PersonalFilesBehaviors">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceAuthorization serviceAuthorizationManagerType="PersonalFilesApi.BusinessLogic.Auth.RestAuthorizationManager, PersonalFilesApi.BusinessLogic, Version=19.14.1.0, Culture=neutral, PublicKeyToken=3342f0000400c525" />
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="web">
<webHttp defaultOutgoingResponseFormat="Json" />
</behavior>
</endpointBehaviors>
</behaviors>
<bindings>
<webHttpBinding>
<binding name="WebHttpBindingSetting" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" contentTypeMapper="PersonalFilesApi.BusinessLogic.Auth.SampleContentTypeMapper, PersonalFilesApi.BusinessLogic, Version=19.14.1.0, Culture=neutral, PublicKeyToken=3342f0000400c525">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
</webHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="PersonalFilesBehaviors" name="PersonalFilesApi.PersonalFilesService">
<endpoint behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="WebHttpBindingSetting" contract="PersonalFilesApi.IPersonalFilesService" />
</service>
</services>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.diagnostics>
<trace autoflush="true" indentsize="4">
<listeners>
<!--<add name="xmlWriterListener"/>-->
<!--<add name="consoleListener"/>-->
<!--<add name="textWritterListener"/>-->
<!--<add name="eventSchemaListener"/>-->
<!--<add name="eventLogTraceListener"/>-->
<!--<remove name="Default"/>-->
</listeners>
</trace>
<sources>
<source name="Sage Kadry i Płace" switchName="traceSwitch" switchType="System.Diagnostics.SourceSwitch">
<listeners>
<!--<add name="xmlWriterListener"/>-->
<!--<add name="consoleListener"/>-->
<!--<add name="textWritterListener"/>-->
<!--<add name="eventSchemaListener"/>-->
<!--<add name="eventLogTraceListener"/>-->
<!--<remove name="Default"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="traceSwitch" value="Off"/>
</switches>
<sharedListeners>
<!--<add name="xmlWriterListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\Logs\logs.xml" traceOutputOptions="DateTime, Timestamp, ProcessId, ThreadId, Callstack, LogicalOperationStack">
<filter type="System.Diagnostics.EventTypeFilter" initializeData="Error"/>
</add>-->
<!--<add name="consoleListener" type="System.Diagnostics.ConsoleTraceListener" traceOutputOptions="ProcessId, DateTime, Timestamp">
<filter type="System.Diagnostics.EventTypeFilter" initializeData="Error"/>
</add>-->
<!--<add name="textWritterListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\Logs\logs.txt" traceOutputOptions="DateTime, Timestamp, ProcessId, ThreadId, Callstack, LogicalOperationStack">
<filter type="System.Diagnostics.EventTypeFilter" initializeData="Error"/>
</add>-->
<!--<add name="eventSchemaListener" type="System.Diagnostics.EventSchemaTraceListener, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" initializeData="C:\Logs\logs.svclog" traceOutputOptions="DateTime, Timestamp, ProcessId, ThreadId, Callstack, LogicalOperationStack" bufferSize="65536" maximumFileSize="20480000" logRetentionOption="LimitedCircularFiles" maximumNumberOfFiles="2">
<filter type="System.Diagnostics.EventTypeFilter" initializeData="Error"/>
</add>-->
<!--<add name="eventLogTraceListener" type="System.Diagnostics.EventLogTraceListener" initializeData="TraceListenerLog" traceOutputOptions="DateTime, Timestamp, ProcessId, ThreadId, Callstack, LogicalOperationStack">
<filter type="System.Diagnostics.EventTypeFilter" initializeData="Error"/>
</add>-->
</sharedListeners>
</system.diagnostics>
</configuration>