[mapguide-users] Error in code related to MapguideUnmanagedApi

padmini godavarthi godavarthi.padmini at gmail.com
Thu Jan 28 00:34:43 EST 2010


Hi,
iam using mgos 2.1 with vs2008 express edition.

while writing the code to open mgsite i got the following error

  Unable to find an entry point named 'CSharp_MgSiteToMgDisposable' in DLL
'MapGuideUnmanagedApi'.

and my code is simply like this 

   Dim realPath As String = Request.ServerVariables("APPL_PHYSICAL_PATH")
        Dim configPath As String = realPath + "webconfig.ini"
        MapGuideApi.MgInitializeWebTier(configPath)
        Dim userinfo As MgUserInformation = New
MgUserInformation("Administrator", "admin")

        Dim site As MgSite = New MgSite()  ----------error occured in this
code
plz give me solution 

Regards,
padmini g.
  
-- 
View this message in context: http://n2.nabble.com/Error-in-code-related-to-MapguideUnmanagedApi-tp4471522p4471522.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list