Error: "Document element did not appear line 1, position 1" received with Mobile and 7x

Version 1

    Details

    Configured ITSM Mobile for SSL per the "Frontrange Mobile Release Notes 1.3.doc" file but get an error when trying to login with the mobile application.


    "Document element did not appear line 1, position 1"

     


    Resolution

    An additional entry needs to be added to the ITSMMobile\Web.config file.


    <basicHttpBinding>  
    <binding name="FrsMobile.Server.WcfService_Binding" maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"> 
      <security mode="Transport">
       <transport clientCredentialType="None"/>
      </security>
      <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 
    </binding> 
    </basicHttpBinding>

    This is in addition to the documented information of adding the below under the <system.serviceModel> section.
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>

    **In summary, the ITSMMobile\Web.config file needs the following additions for SSL: