This project is read-only.
1
Vote

Size related error

description

A critical error has occurred. The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://api.microsofttranslator.com/V2:texts. The InnerException message was 'There was an error deserializing the object of type System.String[]. The maximum string content length quota (30720) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 390, position 232.'. Please see InnerException for more details.

comments

BVILLERSJR wrote Aug 24, 2013 at 9:19 PM

Slightly different one as well:

A critical error has occurred. The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://api.microsofttranslator.com/V2:TranslateArrayResult. The InnerException message was 'There was an error deserializing the object of type Microsoft.MT.Web.Service.V2.TranslateArrayResponse[]. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 59, position 1017.'. Please see InnerException for more details.

BVILLERSJR wrote Aug 24, 2013 at 9:23 PM

And another size related:

A critical error has occurred. ArgumentOutOfRangeException: the parameter 'texts[4]' must be less than '10241' characters Parameter name: texts[4] : ID=1035.V2_Soap.TranslateArray.3F019BE6

Vilfred wrote Dec 4, 2013 at 11:18 AM

Got error too;

A critical error has occurred. ArgumentOutOfRangeException: the parameter 'texts' must be less than '10241' characters Parameter name: texts : ID=3817.V2_Soap.TranslateArray.A0818A4

I use v1.0 of CL Tools and DNN 7.0.6.

Errormessage copy from logviewer:
Message: DotNetNuke.Services.Exceptions.PageLoadException: ArgumentOutOfRangeException: the parameter 'texts' must be less than '10241' characters Parameter name: texts : ID=3817.V2_Soap.TranslateArray.A0818A4 ---> System.ServiceModel.FaultException: ArgumentOutOfRangeException: the parameter 'texts' must be less than '10241' characters Parameter name: texts : ID=3817.V2_Soap.TranslateArray.A0818A4 Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at LanguageService.TranslateArray(String appId, String[] texts, String from, String to, TranslateOptions options) at LanguageServiceClient.TranslateArray(String appId, String[] texts, String from, String to, TranslateOptions options) in c:\inetpub\DotNetNuke003\App_Code\CLTools\TranslatorProxy.cs:line 651 at TranslatorUtils.TranslateArray(String[] texts, String from, String to) in c:\inetpub\DotNetNuke003\App_Code\CLTools\TranslatorUtils.cs:line 57 at Satrabel.DNN.CL.CLControl.lbTranslate_Click(Object sender, EventArgs e) in c:\inetpub\DotNetNuke003\DesktopModules\CLTools\CLControl.ascx.cs:line 1112 at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---