Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Member
ket7880
Posts: 3
Registered: ‎10-06-2008
Message 1 of 3 (1,125 Views)

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

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

Valued Mentor
jackie.ng
Posts: 278
Registered: ‎10-06-2008
Message 2 of 3 (1,117 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

Board Manager
Daniel.Du
Posts: 195
Registered: ‎12-23-2008
Message 3 of 3 (1,100 Views)

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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.