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

dorshemer dorshemer at gmail.com
Mon Mar 9 07:22:01 EDT 2009


Thanks for the reply.

Am I suppose to use InitializeWebTier in PHP? I found no reference for this
at all.
Here is my webconfig.ini. Again, this works fine on the bundled installation
but not on IIS installation:

[GeneralProperties]
DefaultMessageLocale = en
ResourcesPath = C:\Program
Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapagent\Resources
TcpIpMtu = 1460
TempPath = C:\WINDOWS\Temp
SelectionFilterSize = 100000

[AdministrativeConnectionProperties]
Port = 2810

[ClientConnectionProperties]
Port = 2811

[SiteConnectionProperties]
IpAddress = 127.0.0.1
Port = 2812

[AgentProperties]
DebugPause = 0
DisableAuthoring = 0
DisableWfs = 0
DisableWms = 0

[OgcProperties]
WfsPassword = wfs
WmsPassword = wms

[WebApplicationProperties]
TemplateRootFolder = C:\Program
Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\templates\mapguide 
WidgetInfoFolder = C:\Program
Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\widgets\widgetinfo 
ContainerInfoFolder = C:\Program
Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\containerinfo 


Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> 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 
>>   
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/MgConfigurationException-when-calling-MgSiteConnection-%3EOpen-tp2435133p2448426.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list