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

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Mon Mar 9 10:30:44 EDT 2009


It's called MgInitializeWebTier, and there is an example of it's usage here:
http://mapguide.osgeo.org/files/mapguide/docs/webapi/d5/d10/class_mg_feature_service.htm

Regards, Kenneth Skovhede, GEOGRAF A/S



dorshemer skrev:
> 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
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090309/3f55fefe/attachment.html


More information about the mapguide-users mailing list