<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
It's called MgInitializeWebTier, and there is an example of it's usage
here:<br>
<a class="moz-txt-link-freetext" href="http://mapguide.osgeo.org/files/mapguide/docs/webapi/d5/d10/class_mg_feature_service.htm">http://mapguide.osgeo.org/files/mapguide/docs/webapi/d5/d10/class_mg_feature_service.htm</a><br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
dorshemer skrev:
<blockquote cite="mid:1236597721508-2448426.post@n2.nabble.com"
type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>