is inaccessible due to its protection level
Cory Gregor
cgregor at barkerlemar.com
Tue Oct 10 09:57:54 EDT 2006
OK, first of all i am new at the whole MGOS and C#. I gotten maps to show
up fine. So i am guessing that my server is configured correct. i am
running IIS 6 on Win 2k3 server. I am using Visual Studio 2005.
I keep getting this error and can not find any help if it.
Compiler Error Message: CS0122:
'OSGeo.MapGuide.MgResourceService.MgResourceService()' is inaccessible due
to its protection level
Source Error:
Line 47: MgMap Map = new MgMap();
Line 48:
Line 49: MgResourceService ResouceService = new MgResourceService();
Line 50: MgFeatureService FeatureService = new MgFeatureService();
Line 51: MgFeatureQueryOptions QueryOptions = new
MgFeatureQueryOptions();
Am i using the it Wrong?
The goal is to get the Layer Name and the ID from the layer and pass it to
another page.
Please help if you can. I am pass a deadline of this.
Thanks,
Cory
--
View this message in context: http://www.nabble.com/is-inaccessible-due-to-its-protection-level-tf2416853.html#a6737010
Sent from the OSGeo MapGuide mailing list archive at Nabble.com.
More information about the Mapguide_users
mailing list