MapServer no longer connected

Last Published: April 25, 2020

Error Message

When attempting to retrieve a Web page from a MapObjects IMS MapServer, the following error may appear:"MapServer No Longer Connected"


One possible cause is an excessive number of WriteString statements.

Solution or Workaround

To create the HTML document on the client, we recommend the following solution. Do not use WriteString.

  1. Use the file editing functions available in your programming environment to write the lines of HTML into a new text file with a .html extension.
  2. Use the MOIMS WebLink.WriteFile method to send the .html file to the client. For example:

    Dim bWorked as Boolean
    bWorked = WebLink1.WriteFile "C:\temp\topframe.html"

  3. Use the file management functions available in your programming environment to delete the .html file. It is OK to delete the .html file immediately after using the WriteFile method.

Article ID:000002511

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic