Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 plz explain what am i doing wrong? thanks in advance!!!

share|improve this question
    
Is a.tif in a folder that is accessible by Server's SOC account? –  user3461 Jul 12 '11 at 18:16
    
hi Kevin, a.tif is stored in C:\data1\data2\ and b.mxd is stored in C:\data1. –  poiuyt Jul 12 '11 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 '11 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 '11 at 18:26
1  
if you use the publish toolbar in arcmap and analyze. What messages do you get? –  Brad Nesom Jul 12 '11 at 18:48
show 5 more comments

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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