<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ACCESS DENIED PROBLEM in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/access-denied-problem/m-p/72717#M1954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably too late to be of use, but this was the most relevant search result when I searched "Access is denied", so I'm answering now, in case others have this problem, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got an "Access is denied" error when I tried to use arcpy.Mosaic_management (mosaic tool) with more than one input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;path1 = "C:/path/to/file/file"&lt;/P&gt;&lt;P&gt;path2 = "C:/path/to/file2/file2"&lt;/P&gt;&lt;P&gt;paths = [path1, path2]&lt;/P&gt;&lt;P&gt;first_raster = "C:/path/to/first_raster/first_raster"&lt;/P&gt;&lt;P&gt;arcpy.Mosaic_management(paths, first_raster, "FIRST")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I changed it to:&lt;/P&gt;&lt;P&gt;arcpy.Mosaic_management([path1], first_raster, "FIRST")&lt;/P&gt;&lt;P&gt;I no longer got the error. (in Python, you can create a loop over the path list, and can quickly mosaic all the rasters together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why the mosaic tool cannot handle more than one input when I try to use it, but I also recall having this problem in the past.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: I'm running ArcGIS 10.3.1 on Windows 7, and am not running anything on a server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jul 2016 19:50:11 GMT</pubDate>
    <dc:creator>AlexanderKeyel</dc:creator>
    <dc:date>2016-07-22T19:50:11Z</dc:date>
    <item>
      <title>ACCESS DENIED PROBLEM</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/access-denied-problem/m-p/72716#M1953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;on Server A I have ArcGISServer 10.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on Server B I have ArcGISServer 9.3.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an image service created from Raster mosaic dataset on Server A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I created a GlobeService on Server B. The globe document of This globe service has data which comes from Server A (image service)..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have lots of globe services in Server B, created in this way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I try to load some of the globe services from Server B to GlobeControl in VB.NET, I get this error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't find any solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is a problem with the globe services from Server B or image services from Server A, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that all of the globe services or image services shouldn't work.Am i wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But in this manner, for example if i have 5 globe services which were created from image services,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 of them work properly but 2 of them give this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I all controlled the agsusers and agsadmin and security of the data directories ..There are no problems..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what may the problem be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 11:37:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/access-denied-problem/m-p/72716#M1953</guid>
      <dc:creator>TubaKumbara</dc:creator>
      <dc:date>2012-11-12T11:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: ACCESS DENIED PROBLEM</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/access-denied-problem/m-p/72717#M1954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably too late to be of use, but this was the most relevant search result when I searched "Access is denied", so I'm answering now, in case others have this problem, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got an "Access is denied" error when I tried to use arcpy.Mosaic_management (mosaic tool) with more than one input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;path1 = "C:/path/to/file/file"&lt;/P&gt;&lt;P&gt;path2 = "C:/path/to/file2/file2"&lt;/P&gt;&lt;P&gt;paths = [path1, path2]&lt;/P&gt;&lt;P&gt;first_raster = "C:/path/to/first_raster/first_raster"&lt;/P&gt;&lt;P&gt;arcpy.Mosaic_management(paths, first_raster, "FIRST")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I changed it to:&lt;/P&gt;&lt;P&gt;arcpy.Mosaic_management([path1], first_raster, "FIRST")&lt;/P&gt;&lt;P&gt;I no longer got the error. (in Python, you can create a loop over the path list, and can quickly mosaic all the rasters together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why the mosaic tool cannot handle more than one input when I try to use it, but I also recall having this problem in the past.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: I'm running ArcGIS 10.3.1 on Windows 7, and am not running anything on a server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 19:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/access-denied-problem/m-p/72717#M1954</guid>
      <dc:creator>AlexanderKeyel</dc:creator>
      <dc:date>2016-07-22T19:50:11Z</dc:date>
    </item>
  </channel>
</rss>

