<?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 Problem with StageService_server in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/problem-with-stageservice-server/m-p/462470#M36199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running ArcGIS 10.4.1 Desktop and Server:&amp;nbsp; We have map services in test, once vetted, we move to production.&amp;nbsp; I had been using a script to change the datasources in the test MXD document from test to production databases.&amp;nbsp; But I'd like to also automatically generate a Service Definition.&amp;nbsp; I don't need to publish it to production, I just want to generate the Service Definition.&amp;nbsp; I can generate the .sddraft file, but running the "StageService_server" tool seems to hang in a non specific error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The error is:&amp;nbsp; ExecuteError: ERROR 001272: Analyzer errors were encountered (codes = 7, 7).&amp;nbsp; Failed to execute (StageService)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I verified that the MXD does not have any errors that would prevent a service definition from being generated in ArcMap.&amp;nbsp; I'll handle the warnings and errors later, I'm just attempting to generate a Service Definition from a clean MXD right now.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the code I've got thus far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2019 15:25:18 GMT</pubDate>
    <dc:creator>JohnTragesser</dc:creator>
    <dc:date>2019-03-27T15:25:18Z</dc:date>
    <item>
      <title>Problem with StageService_server</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-stageservice-server/m-p/462470#M36199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running ArcGIS 10.4.1 Desktop and Server:&amp;nbsp; We have map services in test, once vetted, we move to production.&amp;nbsp; I had been using a script to change the datasources in the test MXD document from test to production databases.&amp;nbsp; But I'd like to also automatically generate a Service Definition.&amp;nbsp; I don't need to publish it to production, I just want to generate the Service Definition.&amp;nbsp; I can generate the .sddraft file, but running the "StageService_server" tool seems to hang in a non specific error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The error is:&amp;nbsp; ExecuteError: ERROR 001272: Analyzer errors were encountered (codes = 7, 7).&amp;nbsp; Failed to execute (StageService)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I verified that the MXD does not have any errors that would prevent a service definition from being generated in ArcMap.&amp;nbsp; I'll handle the warnings and errors later, I'm just attempting to generate a Service Definition from a clean MXD right now.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the code I've got thus far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 15:25:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-stageservice-server/m-p/462470#M36199</guid>
      <dc:creator>JohnTragesser</dc:creator>
      <dc:date>2019-03-27T15:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with StageService_server</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-stageservice-server/m-p/462471#M36200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be the single slash \ in the paths for old and new?&amp;nbsp; You have double slashes \\ for the rest of the path parts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 19:23:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-stageservice-server/m-p/462471#M36200</guid>
      <dc:creator>Cook_CountyGIS</dc:creator>
      <dc:date>2019-03-28T19:23:19Z</dc:date>
    </item>
  </channel>
</rss>

