Infrastructure Map Server Developer

Infrastructure Map Server Developer

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

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

1798 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,798 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,798 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,798 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,798 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: 92
Registered: ‎01-11-2012
Message 6 of 7 (1,498 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
Board Manager
Daniel.Du
Posts: 203
Registered: ‎12-23-2008
Message 7 of 7 (1,308 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

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.