<?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: Add Coded Value to Domain... Schema Lock in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695598#M39524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniela,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you see this help topic which regards &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005z9000000"&gt;disabling schema locks &lt;/A&gt;on your map services via the ArcGIS Manager or Desktop? All map services acquire an exclusive lock on the dataset which appears to be your problem. Also, if you're using the Add Coded Value to Domain GP tool via a published service, you'll need provide an .sde connection with the data owner credentials since you're performing a schema change to the database. I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2014 19:19:49 GMT</pubDate>
    <dc:creator>AndyOmmen</dc:creator>
    <dc:date>2014-09-09T19:19:49Z</dc:date>
    <item>
      <title>Add Coded Value to Domain... Schema Lock</title>
      <link>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695596#M39522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing&amp;nbsp; a web application for Cadastral Managment and I want to express a problem I am having when trying to add a coded value to a Domain. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a domain that stores the different projects my company may manage, they can be big projects or really small (quick) projects. The person using the web application must be able to add a new project to this domain using the web application and not ARCGIS for Desktop (some users will be non-arcgis users)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The domain is called "GP_Projects" and it stores projects in the following format ='N-PV-001 (code)&amp;nbsp; 'ASP Project' (Description).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the title says, I am having a problem with the Schema Lock which does not allow me to add this new coded value. I am using arcgis 10.2.2 and ArcGIS Server to connect to an SQL database&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please I would really appreciate your help on this matter as it is important for the application to allow adding new projects as needed and without having to do it manually trough Arcgis for Desktop.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things I know:&lt;/P&gt;&lt;P&gt;- When I do it manually through arcgis it works (we cant have the users doing this or wasting time looking for someonte to do this.. the less they have to administrate arcgis, the better)&lt;/P&gt;&lt;P&gt;- I know that a solution would be to stop all the services, but as you may know this is not possible (or an option for the purposes of the application, as it is a multiuser app).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is no way to avoid these locks, can anyone suggest a different solution? Thanks a lot. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:12:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695596#M39522</guid>
      <dc:creator>DanielaPalacios</dc:creator>
      <dc:date>2014-09-09T14:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add Coded Value to Domain... Schema Lock</title>
      <link>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695597#M39523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please post the exact error that you receive...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;or do you receive the below error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;ERROR 000464: Cannot get exclusive schema lock. Either being edited or in use by another application.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;Failed to execute (AddCodedValueToDomain).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 15:52:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695597#M39523</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-09-09T15:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Add Coded Value to Domain... Schema Lock</title>
      <link>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695598#M39524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniela,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you see this help topic which regards &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005z9000000"&gt;disabling schema locks &lt;/A&gt;on your map services via the ArcGIS Manager or Desktop? All map services acquire an exclusive lock on the dataset which appears to be your problem. Also, if you're using the Add Coded Value to Domain GP tool via a published service, you'll need provide an .sde connection with the data owner credentials since you're performing a schema change to the database. I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 19:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695598#M39524</guid>
      <dc:creator>AndyOmmen</dc:creator>
      <dc:date>2014-09-09T19:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add Coded Value to Domain... Schema Lock</title>
      <link>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695599#M39525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you verty much! I used another post on this forum plus checked all the map services I had available and It work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 17:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-coded-value-to-domain-schema-lock/m-p/695599#M39525</guid>
      <dc:creator>DanielaPalacios</dc:creator>
      <dc:date>2014-09-11T17:56:14Z</dc:date>
    </item>
  </channel>
</rss>

