WCF でこのエラーが発生しています。再インストールしたサービスで開始されました。構成設定を変更しませんでした。
maxSizeOfMessageToLog を増やしてみました。設定で診断設定をコメントアウトしようとしました。logEntireMessage を false に設定しようとしましたが、それでも同じエラーが発生します。サービスとクライアントの構成でこれらの変更を行いました。
ここに私の設定ファイルがあります:
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="Tobin.DocumentImaging.Server.ConversionService.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="Tobin.DocumentImaging.Server.ConversionServer.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
</configSections>
<connectionStrings>
<add name="Tobin.DocumentImaging.Server.ConversionServer.Properties.Settings.ConnectionString" connectionString="Data Source=WELLDEV;Persist Security Info=True;User ID=DOC_IMG;Password=DOC_IMG_WELLDEV;Unicode=True" providerName="System.Data.OracleClient"/>
</connectionStrings>
<applicationSettings>
<Tobin.DocumentImaging.Server.ConversionService.Properties.Settings>
<setting name="ConversionServerPort" serializeAs="String">
<value>8093</value>
</setting>
<setting name="ConversionServiceName" serializeAs="String">
<value>ConversionServer</value>
</setting>
</Tobin.DocumentImaging.Server.ConversionService.Properties.Settings>
<Tobin.DocumentImaging.Server.ConversionServer.Properties.Settings>
<setting name="ExpirationProcessInterval" serializeAs="String">
<value>30</value>
</setting>
<setting name="CacheItemExpirationTime" serializeAs="String">
<value>120</value>
</setting>
<setting name="CacheItemUnloadTime" serializeAs="String">
<value>60</value>
</setting>
</Tobin.DocumentImaging.Server.ConversionServer.Properties.Settings>
</applicationSettings>
<system.diagnostics>
<sources>
<source name="System.ServiceModel.MessageLogging">
<listeners>
<add name="messages"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="c:\\messages.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
<system.serviceModel>
<diagnostics>
<messageLogging
logEntireMessage="true"
logMalformedMessages="true"
logMessagesAtServiceLevel="true"
logMessagesAtTransportLevel="true"
maxMessagesToLog="3000"
maxSizeOfMessageToLog="2000"/>
</diagnostics>
<behaviors>
<serviceBehaviors>
<behavior name="standard">
<serviceDebug httpHelpPageEnabled="false" httpsHelpPageEnabled="false" includeExceptionDetailInFaults="true"/>
<dataContractSerializer maxItemsInObjectGraph="100000"/>
<serviceThrottling maxConcurrentCalls="48" maxConcurrentSessions="30" maxConcurrentInstances="60"/>
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<netTcpBinding>
<binding name="ConversionBinding" sendTimeout="00:10:00" listenBacklog="40" maxBufferPoolSize="167772160" maxBufferSize="20971520" maxConnections="40" maxReceivedMessageSize="20971520">
<readerQuotas maxArrayLength="20971520"/>
<reliableSession inactivityTimeout="00:10:00"/>
</binding>
</netTcpBinding>
</bindings>
<services>
<service behaviorConfiguration="standard" name="Tobin.DocumentImaging.Server.ConversionServer.DocumentConverter">
<endpoint address="net.tcp://denv0201:8093/ConversionServer" binding="netTcpBinding" bindingConfiguration="ConversionBinding" name="ConversionServer" contract="Tobin.DocumentImaging.Server.ConversionServer.Public.IDocumentConverter"/>
</service>
</services>
<client>
<endpoint address="net.tcp://localhost:8093/ConversionServer" binding="netTcpBinding" bindingConfiguration="ConversionBinding" contract="Tobin.DocumentImaging.Server.ConversionServer.Public.IDocumentConverter" name="NetTcpBinding_IDocumentConverter" />
</client>
</system.serviceModel>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
これを引き起こしている可能性のあるアイデアはありますか?