<?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: Build published network dataset in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125759#M1247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad it worked out well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2013 07:16:28 GMT</pubDate>
    <dc:creator>AlexeyTereshenkov</dc:creator>
    <dc:date>2013-03-04T07:16:28Z</dc:date>
    <item>
      <title>Build published network dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125756#M1244</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;I'm working with a network dataset published in a NA service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to be able to build that NA dataset without having to stop the NA service. Is that possible ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The task of building the network dataset is part of a geoprocessing model that is going to be called by a Flex web client. So stopping the NA service while executing the geoprocessing model is not worth considering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I build the NA dataset, with the NA service activated, I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000464: Cannot get exclusive schema lock.&amp;nbsp; Either being edited or in use by another application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot acquire a schema lock because of an existing lock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (BuildNetwork).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any hints?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 15:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125756#M1244</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-03-01T15:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Build published network dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125757#M1245</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;Do you use 10.1? In 10.1, when I have published a network dataset, I am able to edit some edges and then build the network dataset in ArcMap without stopping the map service with the network analysis capability enabled. I think it is the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005z9000000" rel="nofollow" target="_blank"&gt;schemaLockingEnable &lt;/A&gt;&lt;SPAN&gt;property that might impede you rebuilding the network dataset (but again, I have this value set to true and still able to rebuild the network dataset and edit the edges in ArcMap).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If using 10.0, this property can be edited manually in the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000mr000000.htm" rel="nofollow" target="_blank"&gt;.cfg file&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure but it might the GP model that obtains the lock on the network dataset before trying to rebuild it and not necessary the map service. Try to rebuild the network dataset manually first to see if it is true.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 08:00:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125757#M1245</guid>
      <dc:creator>AlexeyTereshenkov</dc:creator>
      <dc:date>2013-03-03T08:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Build published network dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125758#M1246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using 10.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the cfg file as you suggested and now it works very well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 06:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125758#M1246</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-03-04T06:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Build published network dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125759#M1247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad it worked out well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 07:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125759#M1247</guid>
      <dc:creator>AlexeyTereshenkov</dc:creator>
      <dc:date>2013-03-04T07:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Build published network dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125760#M1248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It was too unbelievable to be true!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I have the same error again. All web services are stopped. When I execute the geoprocessing in ArcMap I get the message below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot get exclusive schema lock. Either being edited or in use by another application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot acquire a schema lock because of an existing lock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (BuildNetwork).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tryed closing ArcMap and ArcCatalog, logging out and logging in but the error is still there!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 13:03:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125760#M1248</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-03-04T13:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Build published network dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125761#M1249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try to restart the ArcGIS Server services if this option is available for you - perhaps there is still some lock on the data that was created before you've changed the .cfg file property. Restart the machine if restarting the ArcGIS Server service doesn't help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, I'd also check if there is lock acquisition that is going on during your geoprocessing workflows.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 13:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125761#M1249</guid>
      <dc:creator>AlexeyTereshenkov</dc:creator>
      <dc:date>2013-03-04T13:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Build published network dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125762#M1250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I restarted the ArcGIS Server machine without any positive results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the geoprocessing which is a python script, I create update and search cursors on data participating in the network dataset. Then I delete those cursors. After that, I perform an integrate operation on the features participating in the network dataset and finally, I build the network. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see where a lock could have been placed, besides the one created by the cursors (that I delete after using).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to manually build the NA dataset (after stopping the services) I get an error : building network dataset failed. Without any further explanation!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NB: the network analysis dataset is stored in a file geodatabase.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 14:30:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125762#M1250</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-03-04T14:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Build published network dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125763#M1251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created another network dataset and it works fine, without locking problems (besides the lock created by the map service with NA option).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I suppose there is some lock on the other dataset that couldn't be deleted correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 11:02:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/build-published-network-dataset/m-p/125763#M1251</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-03-05T11:02:18Z</dc:date>
    </item>
  </channel>
</rss>

