Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

6 REPLIES 6
Reply
Message 1 of 7
rush.sheetal
2378 Views, 6 Replies

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

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
6 REPLIES 6
Message 2 of 7
jumpinjackie
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
Message 3 of 7
rush.sheetal
in reply to: rush.sheetal

I copied all file ...
stiil error comes in cs file..
Message 4 of 7
vibha
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.
Message 5 of 7

Hi,
Probably the AcMapApiMgd.dll is missing in reference..
Message 6 of 7
raghulan
in reply to: senthilvelanj

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 Technical Consultant | Developer - R&D
A2K Technologies Sydney
Web : www.a2ktechnologies.com.au
www.civil3dforum.com | www.e4forums.com
www.zcodia.com.au
www.raghulangowthaman.com
Message 7 of 7
Daniel.Du
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report