• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk MapGuide Enterprise Developer

    Reply
    Contributor
    Posts: 15
    Registered: ‎12-04-2006

    Error when using "OSGeo.MapGuide" in C# file

    1253 Views, 6 Replies
    02-20-2007 01:07 AM
    iam getting error when i tried to compile
    my code behind file (C#) file
    that
    "OSGeo.MapGuide" namespace not found

    but when i import namespace in asp.net page
    using import "OSGeo.MapGuide"
    no error comes n page run successfully

    why this is so?

    if i want to use "OSGeo.MapGuide in my cs file
    why iam getting error....

    i copied both dll mapguidedotnetapi.dll n maguidenammaged ...dll
    to my application bin directory...

    sheetal
    Please use plain text.
    Distinguished Contributor
    Posts: 105
    Registered: ‎05-21-2006

    Re: Error when using "OSGeo.MapGuide" in C# file

    02-22-2007 03:53 PM in reply to: rush.sheetal
    There's extra unmanaged dependencies in OSGeo.MapGuide.

    Try copying every dll in the bin directory of the mapviewernet folder

    Cheers,

    Jackie
    http://themapguyde.blogspot.com
    http://au.linkedin.com/in/jackieng
    Please use plain text.
    Contributor
    Posts: 15
    Registered: ‎12-04-2006

    Re: Error when using "OSGeo.MapGuide" in C# file

    02-24-2007 12:28 AM in reply to: rush.sheetal
    I copied all file ...
    stiil error comes in cs file..
    Please use plain text.
    New Member
    Posts: 1
    Registered: ‎06-01-2007

    Re: Error when using "OSGeo.MapGuide" in C# file

    06-01-2007 10:15 PM in reply to: rush.sheetal
    hi,
    i am using mapguide, but i am getting getting error saying missing directive. OSGeo.MapGuide. even though i have imported that namespace in aspx page.
    Please use plain text.
    Member
    Posts: 5
    Registered: ‎07-01-2007

    Re: Error when using "OSGeo.MapGuide" in C# file

    07-01-2007 03:30 AM in reply to: rush.sheetal
    Hi,
    Probably the AcMapApiMgd.dll is missing in reference..
    Please use plain text.
    Contributor
    raghulan
    Posts: 22
    Registered: ‎01-11-2012

    Re: Error when using "OSGeo.MapGuide" in C# file

    09-25-2012 09:12 PM in reply to: velan

    Hello just incase someone needs the info..

     

    that dll that contains the OSGeo.MapGuide;

     

    Autodesk.Map.Platform.Core.dll

     

    Cheers

    Regards,

    Raghulan Gowthaman Cert IV TAA, B.E,.
    Senior Civil BIM Consultant | Geo Spatial - IT Specialist
    CSI Global pty Limited. - Singapore | Sydney
    Web : www.csigs.com.au
    www.civil3dforum.com | www.e4forums.com
    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: Error when using "OSGeo.MapGuide" in C# file

    10-31-2012 10:27 PM in reply to: raghulan

    Autodesk.Map.Platform.Core.dll and AcMapApiMgd.dll are part of Map 3D, not MapServer(AIMS or MapGuide). 

     

    You probably forget to convert your virtual directory to web application in IIS. 



    Daniel Du
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.