Products
  
  
  Crash Magic Online
  
  Intersection Magic
  
  Map Magic
  
  Knowledge Base
  
  
  
  Contact Us
  
  Meeting
  
  Shop
  
  Login
  

 

Knowledge Base Article:CMO202 


Registration keys moved to client area: Select login on the left menu bar.

Knowldegebase:
Search home page  

SOAP or Data Entry calls fail with Stream read error

Article created: Oct 20 2008, updated: Nov 02 2011

Background:  Some SOAP calls to Crash Magic Online, including calls from the cmDataEntry.exe program can fail with a "Stream read error" error message. A configuration setting in IIS can remedy that situation.

Status:  Bug - with workaround
Keywords:  IIS,SOAP,Data entry,Stream read error
Categories:   *Errors / crashes* *Data entry*

Explanation:

Microsoft IIS (Internet Information Server) has a default maximum size for SOAP data packets that it receives and passes on to ISAPI applications.  When a packet arrives that is larger than the default size, IIS expects the application to establish a direct connection with the ISAPI application to complete the transaction.  Crash Magic does not perform that step properly.

In order to use the data entry program, or to send large SOAP packets, the IIS server must be configured to transfer larger data packets.  The steps are fairly simple, and do not require stopping or restarting the server, or even the application pool.



Solution:

The solution described below must be performed by the web server administrator.  Please contact Pd' Programming if you have questions and we will be happy to assist you.

Executing the following script from a command prompt will set the packet size to a value that should work well with most Crash Magic SOAP needs.  In order to run it, you'll need to specify the full path to the adsutil.vbs file.  (i.e. c:\inetpub\adminscripts\adsutil.vbs)

You will also need to identify which web site Crash Magic is running under.  This can be found by selecting the web site in the IIS manager and selecting the button to set logging options.  The log file name contains the index of the web site.

The example below assumes that the adsutil.vbs file is in the current directory and the CrashMagic web site is w3svc1066832913

cscript adsutil.vbs set w3svc/1066832913/uploadreadaheadsize 204800


September 18, 2018 7:33PM

© 1999-2018 Pd' Programming, Inc - Lafayette, CO USA