Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Contributor
15 Posts
0 Kudos
Registered: ‎12-04-2006
Post 1 of 7

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

1839 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
105 Posts
1 Kudo
Registered: ‎05-21-2006
Post 2 of 7

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
15 Posts
0 Kudos
Registered: ‎12-04-2006
Post 3 of 7

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
1 Posts
0 Kudos
Registered: ‎06-01-2007
Post 4 of 7

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
5 Posts
0 Kudos
Registered: ‎07-01-2007
Post 5 of 7

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
98 Posts
1 Kudo
Registered: ‎01-11-2012
Post 6 of 7

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
294 Posts
17 Kudos
Registered: ‎12-23-2008
Post 7 of 7

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!