An error occured while retrieving your team server projects.
0
Hi, I am trying to download the project from my team's server. But I am unable to download it. First, I have tried with Mendix studio pro version 8.12.0 to retrieve the projects. Facing the issue then, So that's why I have tried in 8.17.0 version. In that version also facing the same issue. You can see there are projects in my account Error Message: Mendix.Modeler.Sprintr.SprintrConnectorException: Error while retrieving sprintr projects. ---> System.ServiceModel.CommunicationException: Error in deserializing body of reply message for operation 'GetProjectsV4'. ---> System.InvalidOperationException: There is an error in XML document (1, 162607). ---> System.Xml.XmlException: The maximum string content length quota (65536) 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 1, position 162607. at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3) at System.Xml.XmlExceptionHelper.ThrowMaxStringContentLengthExceeded(XmlDictionaryReader reader, Int32 maxStringContentLength) at System.Xml.XmlDictionaryReader.ReadString(Int32 maxStringContentLength) at System.Xml.XmlBaseReader.ReadElementString() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderModelerIntegrationPortType.Read52_GetProjectsV4ResponseProjects(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderModelerIntegrationPortType.Read75_Item() at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, Object[] parameters, Boolean isRequest) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, Object[] parameters, Boolean isRequest) at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest) at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest) at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeReply(Message message, Object[] parameters) at System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(ProxyRpc& rpc) 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 Mendix.Modeler.SprintrConnector.SprintrService.ModelerIntegrationPortType.GetProjectsV4(GetProjectsV4Request request) at Mendix.Modeler.Sprintr.SprintrConnector.GetProjectsV4() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.v4.cs:line 16 at Mendix.Modeler.Sprintr.SprintrConnector.GetProjects() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.cs:line 115 --- End of inner exception stack trace --- at Mendix.Modeler.Sprintr.SprintrConnector.HandleSprintrException(Exception e, String actionDescription) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.cs:line 199 at Mendix.Modeler.Sprintr.SprintrConnector.GetProjects() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.cs:line 123 at Mendix.Modeler.Sprintr.SprintrConnector.RefreshProjects() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.cs:line 93 at Mendix.Modeler.Sprintr.SprintrConnectorUI.RefreshProjects() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnectorUI.cs:line 35 Thanks & Regards, Madhusudanarao Avvaru.
asked
Madhusudanarao Avvaru
3 answers
0
This error gets returned to you by the Mendix servers. There was (or still is) a problem there. You are logged in, so no issue there. I would expect this to go away soon. Meanwhile you can download your apps in a different way, like from the Mendix server directly:
answered
Tim v Steenbergen
9
This is a known issue that when parsing the response of a SOAP service operation, the XMLreader would not read data beyond the size specified by the MaxStringContentLength property. When the response size was larger than this, a CommunicationException is thrown. Basically, you have too many projects such that the response detailing all your projects was too big for Studio Pro to accept.
This issue is fixed in Studio Pro 9.3.0 and up, 8.18.6 and up.
There's also a workaround, namely to change the studiopro.exe.config file, which you can find next to the studiopro.exe in the installation folder. There, you need to change the parameter maxStringContentLength="65536" into something higher like maxStringContentLength="262144". Note that this number needs to be higher than the number marked as the XXXX in this part of the error:
“There is an error in XML document (1, XXXX)”
This occurs in 2 places in the file, you need to replace both. This allows Studio Pro to accept larger responses.
answered
Thijs Seppen
1
I'm having the same issue. Support told me this is fixed in a newer version of the modeler but I cannot upgrade at this time.
According to mendix the issue is caused when you have a lot of teamserver projects and the XML exceeds 65k. But I tried cleaning my projects in teamserver but still not working.