Select to view content in your preferred language

Arcgis server create Service for arcpad

646
1
01-25-2012 10:45 AM
snifferviper
Deactivated User
please help me

I have error in the publish service in the server the error is:

ArcGIS Server
----------------------------------------------------------
Configuration test/word.MapServer can not be started.
Server Object instance creation failed on machine srvarcgis.
---------------------------------------------------------

Information

ArcGIS Server 10 sp1
Arcmap 10

Thanks for the help
Tags (3)
0 Kudos
1 Reply
TimHopper
Frequent Contributor
This could mean a handful of different things.

A few things to check:

1. In C:\arcgisserver\arcpadpublications you'll find a directory with the name of your service.  Take a look inside.  Depending on how far the creation of the service got you should find several different files inside.

(a) The axf file.  Does the name look appropriate?  sde_DEFAULT_servername.axf, or something similar.
(b) The replicated personal geodatabase.  sde_DEFAULT_servername.mdb.
(c) CreateReplica.log

Take a look in this log file.  You would hope to find near the bottom: "Executing CreateReplica...CreateReplica successfully completed".  If the replication did not succeed, that's probably your main issue.  Follow the steps below in an attempt to manually replicate the database. 

1. Create a blank personal geodatabase, say, mytestgdb.mdb.
2. Open ArcMap and load your MXD that contains your SDE feature classes.
3. Turn on the Distributed GeoDatabase toolbar in ArcMap.
4. Click on the CreateReplica tool (the first icon on the Distributed GeoDatabase    toolbar).
5. Select �??One way replica�?�.
6. Click Next.
7. What do you want to replicate? Select �??Data�?�.
8. Which geodatabase do you want to replicate data to? Select �??Geodatabase�?�.
9. Navigate to mytestgdb.mdb.
10. What do you want to call this Replica? (Make up a unique name, e.g. MyReplica_01Jan2012)
11. Click Next. Click Finish.

If you can't get it to replicate manually, focus on that.

2. Don't publish your service within a sub folder. 

The service needs to be created at the root of the server connection.  Right-click on the connection itself and select "New Service".

3. Are you using SDE or DBO schema?

If you're using OS authentication, you'll need to give the ArcGISSOC account the appropriate permissions for your SQL database.

Check out KB33688 which will walk you through those steps.

4. Are you connecting to your sql database via an sde service or a direct connect?

If you're using a direct connect, make sure you include the server name in the spatial database connection properties.

Try the opposite of what you're using now to see if it will work.  Either way, I would definitely upgrade SDE (and server) to the latest service pack (3).  FYI, after upgrading SDE service packs you have to upgrade the geodatabase itself via the geodatabase properties in ArcCatalog.

5. Does the ArcGISSOC account have read and write file permissions to the folder where the mxd is saved?

Additionally, the ArcGISSOC account needs to have those same permissions to the directory that stores the arcpadpublications folder.

- - - - - -

If the info above doesn't resolve the issue, hopefully the answers to the questions (and results from testing) will help lead to a resolution.
0 Kudos