[mapguide-users] MgConfigurationException when calling MgSiteConnection->Open

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Mon Mar 9 04:12:42 EDT 2009

I think you need to call "InitializeWebTier" at some point.
If you have done so, you may be using an outdated "webconfig.ini" file.

Regards,Kenneth Skovhede, GEOGRAF A/S

dorshemer skrev:
> Hello,
> I run these commands on both a bundled configuration and an IIS one:
> $sessionId = $_REQUEST['SESSION'];
> $userInfo = new MgUserInformation($sessionId);
> $siteConnection = new MgSiteConnection();
> $siteConnection->Open($userInfo);
> It works fine on the bundled server, but on IIS (configured with both PHP
> and .NET support) I get the following error:
> "Failed to retrieve message for "MgConfigurationException"
> I couldn't find anything helpful, so I decided to post this.
> Can anyone help?
> Thanks,
> Dor 

More information about the mapguide-users mailing list