1

i am using arcgis server 10. first i opened arcmap and added a.tif file. then i saved it using

 File ->  Save As 

as a ArcMap Document (*.mxd) file, let's say b.mxd.

Now i open arccatalog and added arcgis server let's say "test". then by right click on this server i added new service (my b.mxd). when i press finish, it says the following:

 Server Object instance on machine arcgis-server is created with errors.
    The Layer: 'a.tif' in Map: 'Layers' is invalid.
 Failed to open raster dataset

Can you explain what am i doing wrong?

10
  • Is a.tif in a folder that is accessible by Server's SOC account?
    – user3461
    Jul 12, 2011 at 18:16
  • hi Kevin, a.tif is stored in C:\data1\data2\ and b.mxd is stored in C:\data1.
    – poiuyt
    Jul 12, 2011 at 18:19
  • Do you know if the SOC account has permission to read files in c:\data1\data2? If you don't know, try moving the TIF file to c:\data1 (where the MXD is), open the MXD and point to the new location for the TIF, save the MXD and try to publish again.
    – user3461
    Jul 12, 2011 at 18:22
  • hi Kevin, i put the a.tif in C:\data1 and opened it in arcmap and saved as it as b.mxd in C:\data1. i get the same error... how can i check the SOC accounts permissions?
    – poiuyt
    Jul 12, 2011 at 18:26
  • 1
    if you use the publish toolbar in arcmap and analyze. What messages do you get?
    – Brad Nesom
    Jul 12, 2011 at 18:48

1 Answer 1

1

You should examine the msd option when creating services.
Probably would be a big benefit for documents with images also.
Here are some links that might help.

ESRI Web Help has pointers for creating effective services
ESRI Web Help also has some python code for working with msd files
Derek Law has some links here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.