Locally I have installed the MG2011 Web Extensions and on the server I have installed the MG2011 Server and Web Extensions, but I get following error when checking a checkbox in the legend :
A stream IO exception occurred. The TCP/IP protocol is mismatched between the Server and Web Extensions. Please install the same version of Server and Web Extensions.
Previous versions were uninstalled, environment varaiables are directed to MG2011.
The error is happening in the RequestMapImage function in ajaxmappane.templ.
Example of an url which gives an error :
http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE&FORMAT=PNG&VERSION=2.1.0&SESSION=573a2c84-b405-11df-8000-001f2951192b_nl_0A024A580AFC0AFB0AFA&MAPNAME=GeoRamsesAjax&SEQ=0.07335320543417634&CLIENTAGENT=Ajax%20Viewer&BEHAVIOR=2&SETDISPLAYDPI=96&SETDISPLAYWIDTH=1190&SETDISPLAYHEIGHT=869&SETVIEWSCALE=1304785.1182008464&SETVIEWCENTERX=149999.99999999997&SETVIEWCENTERY=150000&CLIENTAGENT=Ajax%20Viewer&SHOWGROUPS=57b24fca-b405-11df-8012-00237d00c81e&HIDEGROUPS=&SHOWLAYERS=&HIDELAYERS=
if I omit the SHOWGROUPS=57b24fca-b405-11df-8012-00237d00c81e section out of the url, it's working.
Any idea?
If found it finally, yes yes yes!!!!
The problem was the application mapping in IIS for fcgi and php.
I changed it to the MG2011 folder (which normally occurs automatically with the installation of MG2011) but still the error was occurring.
The path for the mapping has to be without spaces and without quotes.
So for extension php is has to be C:\PROGRA~1\Autodesk\MapGuideEnterprise2011\WebServerExtensions\Php\php5isapi.dll
No C:\Program Files\... but C:\PROGRA~1\...
apparently this is only the case for IIS 5.1 which I'm using on my local pc (Windows XP) and not for IIS 6.0 which we are using on our servers (Windows Server 2003)...