Infrastructure Map Server Developer

Infrastructure Map Server Developer

Posts: 3
Registered: ‎10-06-2008
Message 1 of 3 (1,152 Views)

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

1152 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.



Valued Mentor
Posts: 284
Registered: ‎10-06-2008
Message 2 of 3 (1,144 Views)

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

ADN Support Specialist
Posts: 275
Registered: ‎12-23-2008
Message 3 of 3 (1,127 Views)

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

07-23-2012 01:12 AM in reply to:

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.