I need some Autodesk help here:

 

Same code as per the guide.

 

Currently works with MGO 1.1 and 1.2RC2 as well as MGE2007.

Fails in MGE2008 at the MgMap.create.  No error thrown.  Just halts the
application.

 

Apologies as I am cross-posting here.

 

Anybody have any ideas as to what has changed?  It works fine in a web
application.

 

 

   MapGuideApi.MgInitializeWebTier(CurDir() + "\webconfig.ini")

        Dim userInfo As New MgUserInformation("Administrator", "admin")

        Dim site As New MgSite

        site.Open(userInfo)

        Dim sessionId = site.CreateSession()

 

        Dim l_oSite As New MgSiteConnection()

        l_oSite.Open(userInfo)

 

        Dim l_oResourceIdentifier As New
MgResourceIdentifier("Library://MyMap/Maps/MyMap.MapDefinition")

        

        'Create a temporary map to save for session

        Dim l_oMap As New MgMap(l_oSite)

 

        l_oMap.Create(l_oResourceIdentifier, "MyMap")

 

  _____  


 <http://www.websoftdev.com/> 

 <http://www.websoftdev.com/> 

 <http://www.websoftdev.com/> 

Kori Maleski

Senior Application Developer

WEBSOFT DEVELOPERS, INC.

P: (530) 759-8754 ext 114

F: (530) 759-0923

[EMAIL PROTECTED]

  _____  

 

 

<<image001.gif>>

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to