<Msg time='2010-06-21T17:41:36' type='ERROR' code='100005' target='California.MapServer' methodName='MapServer.GetTileCacheInfo' machine='purehate' process='1868' thread='3548' elapsed='0.00012'>Method failed.HRESULT = 0x80004005 : Unspecified error .</Msg>
<ServerObjectConfiguration> <Description>Map Description</Description> <Properties> <FilePath>D:\Maps\California.mxd</FilePath> <OutputDir>\\PUREHATE\arcgisoutput</OutputDir> <VirtualOutputDir>http://purehate/arcgisoutput</VirtualOutputDir> <MaxImageHeight>2048</MaxImageHeight> <MaxRecordCount>500</MaxRecordCount> <MaxBufferCount>100</MaxBufferCount> <SupportedImageReturnTypes>URL</SupportedImageReturnTypes> <IsCached>false</IsCached> <CacheOnDemand>false</CacheOnDemand> <IgnoreCache>false</IgnoreCache> <ClientCachingAllowed>true</ClientCachingAllowed> <CacheDir>c:\arcgisserver\arcgiscache\California</CacheDir> <SOMCacheDir>c:\arcgisserver\arcgiscache</SOMCacheDir> </Properties> <Extension> <TypeName>KmlServer</TypeName> <Enabled>false</Enabled> <Properties> <ImageSize>1024</ImageSize> <Composite>true</Composite> <Dpi>96</Dpi> <UseNetworkLinkControlTag>false</UseNetworkLinkControlTag> <MinRefreshPeriod>30</MinRefreshPeriod> <LinkDescription></LinkDescription> <LinkName></LinkName> <Message></Message> <UseDefaultSnippets>false</UseDefaultSnippets> <EndPointURL>http://purehate/ArcGIS/services/Californiasdf/MapServer</EndPointURL> </Properties> <Info> <WebEnabled>true</WebEnabled> <WebCapabilities>SingleImage,SeparateImages,Vectors</WebCapabilities> </Info> </Extension> <Extension> <TypeName>MobileServer</TypeName> <Enabled>false</Enabled> <Properties> </Properties> <Info> </Info> </Extension> <Extension> <TypeName>NAServer</TypeName> <Enabled>false</Enabled> <Properties> </Properties> <Info> </Info> </Extension> <Extension> <TypeName>WCSServer</TypeName> <Enabled>false</Enabled> <Properties> </Properties> <Info> </Info> </Extension> <Extension> <TypeName>WFSServer</TypeName> <Enabled>false</Enabled> <Properties> </Properties> <Info> </Info> </Extension> <Extension> <TypeName>WMSServer</TypeName> <Enabled>false</Enabled> <Properties> </Properties> <Info> </Info> </Extension> <Recycling> <Start>00:00</Start> <Interval>86400</Interval> </Recycling> <Info> <WebCapabilities>Map,Query,Data</WebCapabilities> <WebEnabled>true</WebEnabled> </Info> <IsPooled>true</IsPooled> <MinInstances>1</MinInstances> <MaxInstances>2</MaxInstances> <InstancesPerContainer>1</InstancesPerContainer> <WaitTimeout>60</WaitTimeout> <IdleTimeout>-1</IdleTimeout> <UsageTimeout>600</UsageTimeout> <CleanupTimeout>30</CleanupTimeout> <StartupTimeout>300</StartupTimeout> <Isolation>high</Isolation> <StartupType>automatic</StartupType></ServerObjectConfiguration>
in fact the service is not cached..its a dynamic map service,,i forgot mentioning something very important, im publishing map on the fly through a webserivce, the map is published with no problem, shows in ADF map control, but rest is causing problem, is there anything im missing ??if i publish map through Arccatalog or Server Manager everything works fine.
serverObjConfig = null; //create map server object serverObjConfig = (IServerObjectConfiguration3)this.soAdmin.CreateConfiguration(); serverObjConfig.Name = newMapServiceName; serverObjConfig.Description = newMapServiceDescription; serverObjConfig.TypeName = "MapServer"; serverObjConfig.IsPooled = true; serverObjConfig.MinInstances = 1; serverObjConfig.MaxInstances = 1; serverObjConfig.WaitTimeout = 10; serverObjConfig.UsageTimeout = 120; serverObjConfig.IsolationLevel = esriServerIsolationLevel.esriServerIsolationHigh; //root serverobjectconfiguration props ESRI.ArcGIS.esriSystem.IPropertySet2 propSet; propSet = (ESRI.ArcGIS.esriSystem.IPropertySet2)serverObjConfig.Properties; propSet.SetProperty("FilePath", mxdFileName); propSet.SetProperty("SupportedImageReturnTypes", "URL"); propSet.SetProperty("OutputDir", "c:\\arcgisserver\\arcgisoutput"); propSet.SetProperty("VirtualOutputDir", "http://***********/arcgisoutput/"); propSet.SetProperty("MaxImageHeight", "2048"); propSet.SetProperty("MaxRecordCount","500"); propSet.SetProperty("MaxBufferCount", "100"); propSet.SetProperty("MaxImageWidth", "2048"); propSet.SetProperty("IsCached", "false"); propSet.SetProperty("CacheOnDemand", "false"); propSet.SetProperty("IgnoreCache", "false"); propSet.SetProperty("ClientCachingAllowed", "true"); //recycling properties IPropertySet2 recyclingSet = (IPropertySet2)serverObjConfig.RecycleProperties; recyclingSet.SetProperty("StartTime", "00:00"); recyclingSet.SetProperty("Interval", "86400"); //enable web access ESRI.ArcGIS.esriSystem.IPropertySet2 infoSet; infoSet = (ESRI.ArcGIS.esriSystem.IPropertySet2)serverObjConfig.Info; infoSet.SetProperty("WebEnabled", "true"); infoSet.SetProperty("WebCapabilities", "Map,Query,Data");
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.