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.
I can’t create a new Session with the MG2.6 with Code like that
Dim webConfig As String = "C:\Programme\OSGeo\MapGuide26\Web\www\webconfig.ini"
MapGuideApi.MgInitializeWebTier(webConfig)
Dim site As New MgSite
site.Open(New MgUserInformation("Anonymous", ""))
sessionId = site.CreateSession
Session("var_sessionId") = sessionId
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”))
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?
Thanks helping :-)
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
