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

    Autodesk MapGuide Enterprise Developer

    Reply
    Member
    Posts: 3
    Registered: ‎10-06-2008

    The type or namespace name 'OSGeo' could not be found

    935 Views, 2 Replies
    07-04-2012 11:37 PM

    I am getting this error when trying to open from website.

    running good from studio.

     

    Try to copy bin directry to website and getting this error "Could not load file or assembly 'MapGuideDotNetApi' or one of its dependencies"

     

    using MapGuide Server 2013

     

    chec kattached jpg for details.

     



    Thanks.

    Please use plain text.
    Mentor
    Posts: 238
    Registered: ‎10-06-2008

    Re: The type or namespace name 'OSGeo' could not be found

    07-05-2012 06:52 PM in reply to: ket7880

    All applications under the mapserver2013 virtual dir should be using .net Framework 4.0. This is what the MapGuide assemblies are targeting now.

     

    Your error message indicates that .net Framework 2.0 is being used

     

    - Jackie

    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: The type or namespace name 'OSGeo' could not be found

    07-23-2012 01:12 AM in reply to: jackie.ng

    Besides the .net framework version, you may also need to create web application in IIS. Right virtual directory in IIS and "convert to Application"



    Daniel Du
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.