Discussion:
Microsoft MapPoint Location Server Management API
(too old to reply)
BobL
2006-03-20 21:58:27 UTC
Permalink
I am trying to run a simple app to test self provisioning using the API,
specifically the Core, Types and Management dlls. However, when I try to
copy them to the GAC it fails due to the lack of striong name use. Also the
3 required dlls don't appear to come with the SDK ( I had to copy them from
my MLS server). This is what I installed..
http://www.microsoft.com/downloads/details.aspx?familyid=b9cadd9b-e159-48dc-aa31-c0a09ea1b945&displaylang=en

I am on the right track?

Thanks
-bob
Bob L
2006-03-20 22:56:12 UTC
Permalink
OK...I got it work when I copied the providers dlls to the bin directory.
However, now I get a "The server is not operational" message when it attempts
to add the user the MLS database. The initialize(mysqlserver IP,
"locationserverdb") worked OK thought...any ideas.
Post by BobL
I am trying to run a simple app to test self provisioning using the API,
specifically the Core, Types and Management dlls. However, when I try to
copy them to the GAC it fails due to the lack of striong name use. Also the
3 required dlls don't appear to come with the SDK ( I had to copy them from
my MLS server). This is what I installed...
http://www.microsoft.com/downloads/details.aspx?familyid=b9cadd9b-e159-48dc-aa31-c0a09ea1b945&displaylang=en
I am on the right track?
Thanks
-bob
Bob L
2006-03-21 00:57:26 UTC
Permalink
Well..I keep responding to myself but I do need your assistance. This is
what I have so far:
1) I am working on a development box (XP VS2003)
2) The dev box does not have MLS installed on it but does have the core,
types, providers and management dls
3) I am connecting to another server running SQL server 2000 which is the
host for the locationserverdb database.
4) I added a user to the sql server domain
5) when I go to provision that user using the sample code in the sdk I get a
server not operational error. Again, the API initialize methods DOES NOT
fail, but the adduser() method does. So I assume I am connecting to the
database OK. I am also assuming that the error relates to permissions. I
tried to impersontate the admin user in the sql domain but I still get the
same server not operational error.....any thoughts?

-Bob
Post by Bob L
OK...I got it work when I copied the providers dlls to the bin directory.
However, now I get a "The server is not operational" message when it attempts
to add the user the MLS database. The initialize(mysqlserver IP,
"locationserverdb") worked OK thought...any ideas.
Post by BobL
I am trying to run a simple app to test self provisioning using the API,
specifically the Core, Types and Management dlls. However, when I try to
copy them to the GAC it fails due to the lack of striong name use. Also the
3 required dlls don't appear to come with the SDK ( I had to copy them from
my MLS server). This is what I installed...
http://www.microsoft.com/downloads/details.aspx?familyid=b9cadd9b-e159-48dc-aa31-c0a09ea1b945&displaylang=en
I am on the right track?
Thanks
-bob
Erik Lindeman[MSFT]
2006-03-21 17:01:24 UTC
Permalink
Let's step back for a moment. Do you even have MLS successfully installed? Did you test to make sure your MLS actually works before developing apps
against it? Before you start developing apps that call your MLS you must make sure your MLS is correctly installed and working.

(1) If you haven't done so already you must install MLS exactly as the MLS Administrator's Guide specifies.

MLS Administrator's Guide:
http://www.microsoft.com/technet/prodtechnol/mls/adminguide/default.mspx?mfr=true

The following MSDN article is a good reference if you are installing MLS on one machine (with SQL Server 2000 and Windows Server 2003):
http://msdn.microsoft.com/mappoint/mappointlocintro/mappointloctechart/default.aspx?pull=/library/en-us/dnmaploc/html/mlssetup.asp

(2) Add a test user to AD and then to the SQL Server (via the MLS Management Console). Then confirm (per the MLS Admin Guide) that you have a working
MLS. Specifically, see the 'Verifying an Installation' section of the Admin Guide. Then once you've confirmed that MLS is successfully installed use the Mobile
Locator for Windows sample app (on the MLS machine itself) to make sure your MLS can successfully respond to an app's requests. You can download that
sample app at:

http://www.microsoft.com/downloads/details.aspx?FamilyID=ec515da3-b13f-47ed-b91d-fd794e0c83e3&DisplayLang=en

(3) If the Mobile Locator for Windows sample app successfully gets responses/data back from your MLS then you know that you MLS is successfully installed
and fully functioning and now you should proceed with dev'ing apps that call your MLS.

Erik

DISCLAIMER: This posting is provided "AS IS" with no warranties, and confers no rights.
Erik Lindeman[MSFT]
2006-03-21 01:01:55 UTC
Permalink
Bob,

Check out the following Microsoft KB article. It explains how to install an assembly in the GAC in Visual Basic .NET or in Visual Basic 2005.

http://support.microsoft.com/default.aspx?scid=kb;en-us;315682

BTW, you are right, the 3 required dlls don't come with the MLS SDK, you have to get them from the MLS bits.

Erik

DISCLAIMER: This posting is provided "AS IS" with no warranties, and confers no rights.
Loading...