Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Contributor
rush.sheetal
Posts: 15
Registered: ‎12-04-2006
Message 1 of 7 (1,830 Views)

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

1830 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
Distinguished Contributor
jumpinjackie
Posts: 105
Registered: ‎05-21-2006
Message 2 of 7 (1,830 Views)

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
Contributor
rush.sheetal
Posts: 15
Registered: ‎12-04-2006
Message 3 of 7 (1,830 Views)

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..
New Member
vibha
Posts: 1
Registered: ‎06-01-2007
Message 4 of 7 (1,830 Views)

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.
Member
velan
Posts: 5
Registered: ‎07-01-2007
Message 5 of 7 (1,830 Views)

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..
Valued Contributor
raghulan
Posts: 97
Registered: ‎01-11-2012
Message 6 of 7 (1,530 Views)

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 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
ADN Support Specialist
Daniel.Du
Posts: 270
Registered: ‎12-23-2008
Message 7 of 7 (1,340 Views)

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
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.