Wednesday, 30 June 2010

The toolbox goes 64-bit

So far, so good.

The build system still needs some work though, the documentation builders are choking in 64-bit (then again, NDoc should probably be replaced anyway) and the NSIS installer is still yet untested.

Thursday, 3 June 2010

Maestro package loading problems in IIS7 and above

Ever get this when loading a package?

The error message in question is quite deceptive. The true problem is that in IIS7 and above, a file upload limit has been imposed by IIS, causing this mysterious "404" error.

The solution is to simply raise this limit in IIS manager to a level that is more sensible. On the command prompt, issue the following command:

%windir%\system32\inetsrv\appcmd set config "Default Web Site/YOUR_APP_NAME" -section:requestFiltering -requestLimits.maxAllowedContentLength:MAX_UPLOAD_SIZE_IN_BYTES

A default IIS7 configuration limits the file upload to a number shy under 30mb.

Where YOUR_APP_NAME is mapguide for a default MapGuide Open Source installation and mapguide2010 for a default installation of MapGuide Enterprise 2010

Given the more locked down nature of windows with IIS7 or newer, you would need to execute this command with administrator privileges