<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div><a name="_GoBack"></a>Hi, its me again :-)</div>

<div> </div>

<div>I've installed the MG 2.6 by now (64 bit, mapviewernet (.NET)).  It’s a side by side installation with 2.5. It works fine as long as I’m not using the API.</div>

<div> </div>

<div>I can’t create a new Session with the MG2.6  with Code like that</div>

<div> </div>

<div>        Dim webConfig As String = "C:\Programme\OSGeo\MapGuide26\Web\www\webconfig.ini"</div>

<div>        MapGuideApi.MgInitializeWebTier(webConfig)</div>

<div> </div>

<div>        Dim site As New MgSite</div>

<div>       </div>

<div>        site.Open(New MgUserInformation("Anonymous", ""))</div>

<div> </div>

<div>        sessionId = site.CreateSession</div>

<div>        Session("var_sessionId") = sessionId</div>

<div> </div>

<div> </div>

<div>The Problem is that the “MapGuideApi.MgInitializeWebTier(webConfig)” goes on the wrong “webconfig.ini”. It doesn’t matter if the sting is empty or wrong. (MapGuideApi.MgInitializeWebTier(“whatever”))</div>

<div> </div>

<div>I’ve got the feeling that it’s not using the sting inside the initialization. How can I work with the sting inside the initialization?</div>

<div> </div>

<div>Thanks helping :-)</div>
</div></div></body></html>