Hi,
I want to create Feature Source With Maestro API in C#
My Code is :
OSGeo.MapGuide.ObjectModels.FeatureSource.IFeatureSource fs = (OSGeo.MapGuide.ObjectModels.FeatureSource.IFeatureSource)ObjectFactory.CreateFeatureSource("OSGeo.SQLServerSpatial");
fs.SetConnectionProperty("Service", ServerAddress);
fs.SetConnectionProperty("DataStore", DatabaseName);
fs.SetConnectionProperty("Username", "%MG_USERNAME%");
fs.SetConnectionProperty("Password", "%MG_PASSWORD%");
fs.ResourceID = MyResourceName;
conn.ResourceService.SaveResource(fs);
OSGeo.MapGuide.ObjectModels.FeatureSource.FeatureSourceCredentialExtensions.SetEncryptedCredentials(fs, conn, actualUser, actualPass);
All code run Ok ,
BUT When Test Connection it say <b>Password is wrong</b>
Please help me
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Create-Feature-Source-With-C-tp5246041.html">Create Feature Source With C#</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>