<?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: Publishing Services from direct connection to SQL Server 2014  in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140275#M5488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, checked this as well with the db admin. the account has read access to the whole database...rrrrrrrrrrrrr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2016 20:02:23 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-09-08T20:02:23Z</dc:date>
    <item>
      <title>Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140269#M5482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data loaded into a SQL Server 2014. I have validated the connection to the data source in ArcGIS Server 10.4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add geographic data to an ArcMap Client and publish to Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When trying to view the data from the rest service page the geometry is not displayed and I receive the following error in the Server logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an error during the draw WISE_Decade_CBAS.DBO.deleteme (1.) DBMS table not found[42S02:[Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Invalid object name 'WISE_Decade_CBAS,(2.) WISLEG\SA-DEV-ARCGIS,(3.) deleteme',(4.) ].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not seem to have this same problem in our 10.3.1 environment. I do see the geometry in ArcMap!&lt;/P&gt;&lt;P&gt;I am also not seeing the same behavior in our SDE based environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:07:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140269#M5482</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-08T18:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140270#M5483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would guess that this is caused by some sort of permissions issue with the ArcGIS Server Account.&amp;nbsp; Does the ArcGIS Server Account have read privileges to the data in your enterprise geodatabase?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming data from a File Geodatabase publishes correctly, and you can view the data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:23:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140270#M5483</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2016-09-08T18:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140271#M5484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, triple checked permissions with DB admin. This is what he sees when the account connects.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;"Login succeeded for user 'WISLEG\sa-dev-arcgis'. Connection made using Windows authentication.&lt;/SPAN&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140271#M5484</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-08T18:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140272#M5485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the &lt;SPAN style="font-size: 10.0pt; color: black;"&gt;WISLEG\sa-dev-arcgis&lt;/SPAN&gt; user also have privileges to the data?&amp;nbsp; For example, did you right-click on the feature class &amp;gt; Privileges and grant read access to this user?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:37:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140272#M5485</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2016-09-08T18:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140273#M5486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Catalog?...does this need to happen? We have never done this before and we were able to publish without any issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 19:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140273#M5486</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-08T19:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140274#M5487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are making a connection to your enterprise geodatabase using a Windows Authentication user, then the ArcGIS Server Account will need read privileges to the data to publish successfully.&amp;nbsp; If you are connecting using Database Authentication, then the user will not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 19:47:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140274#M5487</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2016-09-08T19:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140275#M5488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, checked this as well with the db admin. the account has read access to the whole database...rrrrrrrrrrrrr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 20:02:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140275#M5488</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-08T20:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140276#M5489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to validate database connection from server side using same connection from ArcGIS server manager,&lt;/P&gt;&lt;P&gt;Please check like below&lt;BR /&gt;&lt;IMG class="image-1 jive-image" height="330" src="https://community.esri.com/legacyfs/online/225094_pastedImage_1.png" width="553" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2016 05:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140276#M5489</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-10T05:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140277#M5490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your ArcGIS for Server 10.3.1 environment using the same SQL Server instance or a different, newer SQL Server instance?&amp;nbsp; Also, have you installed the &lt;A href="http://support.esri.com/download/7397"&gt;ArcGIS for Server Publishing Patch&lt;/A&gt;?&amp;nbsp; On the surface, the patch doesn't seem directly related to your issue, but installing the patch does improve publishing performance overall with 10.4/10.4.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2016 15:14:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140277#M5490</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-09-10T15:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140278#M5491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. We can do this!&lt;/P&gt;&lt;P&gt;We found the only way to publish is to run ArcMap as the service account (wisleg\sa-dev-arcgis) and publish. This is our development environment so permissions are not an issue, my operator and user account are db admins. This is just strange.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 14:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140278#M5491</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-12T14:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140279#M5492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the patch has been installed and we are using the same dev instance of SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 14:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140279#M5492</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-12T14:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140280#M5493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So probably a wasted point but didn't notice it anywhere in comments yet. Have you registered the SDE connection with the Server Data Stores?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was trying to follow the usernames&amp;nbsp;above but we have seen interesting headaches&amp;nbsp;before on new installations. During the initial set-up of the new 10.4.1 SDE in SQL the account that you use &lt;EM&gt;&lt;STRONG&gt;IS&lt;/STRONG&gt;&lt;/EM&gt; the owner of the database. However, it's been our experience that this account is best left for that sole purpose. Any remaining accounts are assigned permissions via SQL that are set &lt;EM&gt;&lt;STRONG&gt;AS&lt;/STRONG&gt;&lt;/EM&gt; dbo. Trying to avoid getting to far into the weeds but I'd suggest creating a new schema within SQL and assign the Windows account access to the schema as appropriate. This may help better explain the scenario when reading the dbo specific info but essentially its tied to the users default schema along with other SQL side granted permissions &lt;A href="https://msdn.microsoft.com/en-us/library/bb669061(v=vs.110).aspx"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;https://msdn.microsoft.com/en-us/library/bb669061(v=vs.110).aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Last item, the above addresses the issues with being able to ensure the account can properly execute any of the functions within the database (i.e. ESRI stored procedures).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 14:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140280#M5493</guid>
      <dc:creator>ScottFierro2</dc:creator>
      <dc:date>2016-09-14T14:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140281#M5494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have SQL Views (tables) and I would like to "join" these to features (both poly and points) in a Geodatabase using a unique Identifier, and then publish to ArcGIS Server. The problem is that the SQL Views are updated daily. Is there a way to automate this process and update the REST on a regular basis (one a day for example). This is similar to some posts i've seen by &lt;A href="https://community.esri.com/people/jskinner-esristaff"&gt;jskinner-esristaff&lt;/A&gt;‌ any leads are much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 15:22:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140281#M5494</guid>
      <dc:creator>YOAVRAPPAPORT1</dc:creator>
      <dc:date>2016-09-15T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140282#M5495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just ran into this in 10.5.&amp;nbsp; I put more detailed instructions here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/189576-there-is-an-error-during-the-draw-layer-name1-dbms-table-not-found42s02microsoftodbc-driver-11-for-sql-serversql-serverinvalid-object-name-db-name2-service-account3-viewtable4"&gt;https://community.esri.com/thread/189576-there-is-an-error-during-the-draw-layer-name1-dbms-table-not-found42s02microsoftodbc-driver-11-for-sql-serversql-serverinvalid-object-name-db-name2-service-account3-viewtable4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To summarize though, remove the database name from the query in your layer in ArcMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Layer Properties &amp;gt; Source &amp;gt; Change Query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, the query was:&amp;nbsp; select &amp;lt;columns&amp;gt; from&amp;nbsp;&lt;STRONG&gt;&amp;lt;database&amp;gt;.&lt;/STRONG&gt;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Removing the &amp;lt;database&amp;gt; qualifier resolved it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 21:27:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140282#M5495</guid>
      <dc:creator>MattNicol</dc:creator>
      <dc:date>2017-02-27T21:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Services from direct connection to SQL Server 2014</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140283#M5496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this post, Matt!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 12:57:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-services-from-direct-connection-to-sql/m-p/140283#M5496</guid>
      <dc:creator>ChristopherJohnson1</dc:creator>
      <dc:date>2017-10-23T12:57:10Z</dc:date>
    </item>
  </channel>
</rss>

