<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blog.trivadis.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Trivadis MS-IC</title><link>http://blog.trivadis.com/b/imsms/default.aspx</link><description>SQL Server, SharePoint and more...</description><dc:language>en-US</dc:language><generator>Telligent Community 5.6.583.24393 (Build: 5.6.583.24393)</generator><item><title>SQL Server XEvents Objects</title><link>http://blog.trivadis.com/b/imsms/archive/2018/11/12/sql-server-xevents-objects.aspx</link><pubDate>Mon, 12 Nov 2018 09:20:42 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:184743</guid><dc:creator>Stephan Hurni</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=184743</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2018/11/12/sql-server-xevents-objects.aspx#comments</comments><description>&lt;p&gt;Ever wondered what XEvents Objects are available on a specific SQL Server!&amp;nbsp;&lt;img src="http://blog.trivadis.com/emoticons/emotion-8.gif" alt="Indifferent" /&gt;&lt;/p&gt;
&lt;p&gt;Try this Command to find out&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;SELECT o.object_type, p.name AS [package_name], o.name AS [db_object_name], o.description AS [db_obj_description] &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;FROM sys.dm_xe_objects AS o &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;INNER JOIN sys.dm_xe_packages AS p ON p.guid = o.package_guid &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;WHERE o.object_type in ( &amp;#39;action&amp;#39;, &amp;#39;event&amp;#39;, &amp;#39;target&amp;#39; ) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;ORDER BY o.object_type, p.name, o.name;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=184743" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/XEvents/default.aspx">XEvents</category></item><item><title>SSMS connection to SSIS failed</title><link>http://blog.trivadis.com/b/imsms/archive/2018/11/05/ssms-connection-to-ssis-failed.aspx</link><pubDate>Mon, 05 Nov 2018 14:34:43 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:184736</guid><dc:creator>Stephan Hurni</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=184736</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2018/11/05/ssms-connection-to-ssis-failed.aspx#comments</comments><description>&lt;p&gt;if you try to connect to SSIS via SSMS this Error Message occurs.&lt;/p&gt;  &lt;p&gt;This is if not the correct matching SSMS/SQL Server Engine is used. For example, if you have installed the SSMS 17.9 and try to connect to SSIS 2016 the Error appears.    &lt;br /&gt;To fix the Problem, you have to install the correct matching Versions. For this Reason it recommended, if you work with multiple different SQL Server Versions, you should have a SQL Server Management Server in place and on this Server have all SSMS 2014, 16.., 17.., 18.. concurrent installed. It’s a bit ugly but for many other reasons only the correct SSMS in reference to the SQL Server Services have to be used. Especially with the new Versions that will be deployed separated from the SQL Server Installation Sources.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1374.SSIS_5F00_Connection_5F00_SSMS_5F00_136C04B3.jpg"&gt;&lt;img title="SSIS_Connection_SSMS" style="display:inline;background-image:none;" border="0" alt="SSIS_Connection_SSMS" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/5582.SSIS_5F00_Connection_5F00_SSMS_5F00_thumb_5F00_331ADE7B.jpg" width="975" height="679" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=184736" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SSIS/default.aspx">SSIS</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Integration+Services/default.aspx">Integration Services</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SSMS+connection+Error/default.aspx">SSMS connection Error</category></item><item><title>SQL Server 2016 SP2 CU1 Bug - Mails werden nicht versendet</title><link>http://blog.trivadis.com/b/imsms/archive/2018/08/08/sql-server-2016-sp2-cu1-bug-mails-werden-nicht-versendet.aspx</link><pubDate>Wed, 08 Aug 2018 12:15:00 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:184659</guid><dc:creator>Daniel Mohr</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=184659</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2018/08/08/sql-server-2016-sp2-cu1-bug-mails-werden-nicht-versendet.aspx#comments</comments><description>&lt;p&gt;Bei der Installation von SP2 CU1 auf einer SQL Server 2016 Instanz wird das File DatabaseMail.exe.config gel&amp;ouml;scht. Dies f&amp;uuml;hrt dazu, dass die E-Mails (z.B. von Job Alerts oder Failover Events) in der Mailing Queue aufgenommen aber nie verschickt werden.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Workaround:&lt;/strong&gt; &lt;br /&gt;1) DatabaseMail.exe.config File im Pfad C:\Program Files\Microsoft SQL Server\MSSQL13.SQLDBnnn\MSSQL\Binn neu erstellen mit folgenden Zeilen:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;lt;configuration&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp; &amp;lt;startup useLegacyV2RuntimeActivationPolicy=&amp;quot;true&amp;quot;&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;supportedRuntime version=&amp;quot;v4.0&amp;quot;/&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;supportedRuntime version=&amp;quot;v2.0.50727&amp;quot;/&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp; &amp;lt;/startup&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;lt;/configuration&amp;gt;&lt;/pre&gt;
&lt;p&gt;Den File kann auch von einer anderen Instanz kopiert werden, wo der Patch noch nicht installiert worden ist.&lt;/p&gt;
&lt;p&gt;2) Mail Queue neu starten&lt;/p&gt;
&lt;pre&gt;USE msdb;&lt;/pre&gt;
&lt;pre&gt;EXEC sysmail_stop_sp;&lt;/pre&gt;
&lt;pre&gt;EXEC sysmail_start_sp;&lt;/pre&gt;
&lt;p&gt;Gem&amp;auml;ss Microsoft wurde dieses Problem bei SP1 CU2 gel&amp;ouml;st (&lt;a href="https://support.microsoft.com/en-us/help/3186435/fix-sql-server-2016-database-mail-does-not-work-on-a-computer-that-doe"&gt;https://support.microsoft.com/en-us/help/3186435/fix-sql-server-2016-database-mail-does-not-work-on-a-computer-that-doe&lt;/a&gt;). &lt;br /&gt;Dieses Problem ist aber nun wieder bei SP2 CU1 aufgetaucht.&lt;/p&gt;
&lt;p&gt;Um ein Problem beim DB Mail zu debuggen k&amp;ouml;nnen untenstehende Queries benutzt werden.&lt;/p&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="color:#00ff00;font-size:9.5pt;"&gt;--Check latest Event in Mail Event Log&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;select&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; msdb&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;.&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;dbo&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;.&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;sysmail_event_log&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt; er&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;order&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;by&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; log_date &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;desc&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="color:#00ff00;font-size:9.5pt;"&gt;--Check status of Last Emails in teh Email Queue&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;SELECT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; sent_status&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;,&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;send_request_date&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;,&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;sysmail_allitems&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;ORDER&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;BY&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; 2 &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;DESC&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="color:#00ff00;font-size:9.5pt;"&gt;--Check emails not sent&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;select&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; send_request_date&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;,&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;from&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;sysmail_unsentitems&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;order&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;by&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; 1 &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;desc&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="color:#00ff00;font-size:9.5pt;"&gt;--Stop and restart mail queue&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;USE&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; msdb&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;EXEC&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;sysmail_stop_sp&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;EXEC&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;sysmail_start_sp&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="color:#00ff00;font-size:9.5pt;"&gt;--See if Service Broker is enabled in MSDB&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;SELECT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;DB_NAME&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;(&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;[database_id]&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;)&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;AS&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; DatabaseName&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [database_id] &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is_broker_enabled &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;CASE&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;WHEN&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; [is_broker_enabled] &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;=&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; 0 &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;THEN&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&amp;#39;ALTER DATABASE &amp;#39;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;+&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;QUOTENAME&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;(&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;name&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;)&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;+&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&amp;#39; SET ENABLE_BROKER;&amp;#39;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;ELSE&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;END&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;sys&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;.&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;databases&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;WHERE&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;name&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;=&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&amp;#39;msdb&amp;#39;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="color:#00ff00;font-size:9.5pt;"&gt;--Check if Database Mail is enabled&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;select&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt; value_in_use&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0cm 0cm 0pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;from&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;sys&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;configurations&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;where&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:9.5pt;"&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;name&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;like&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;"&gt;&lt;span style="font-size:9.5pt;"&gt;&amp;#39;Database Mail XPs&amp;#39;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=184659" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SQL+Server/default.aspx">SQL Server</category></item><item><title>Errors when running TSQL R-Script</title><link>http://blog.trivadis.com/b/imsms/archive/2017/10/24/errors-when-running-tsql-r-script.aspx</link><pubDate>Tue, 24 Oct 2017 09:29:08 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:184330</guid><dc:creator>Stephan Hurni</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=184330</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2017/10/24/errors-when-running-tsql-r-script.aspx#comments</comments><description>&lt;p&gt;Assume, you have configured all Settings, as requested in &lt;a href="https://docs.microsoft.com/en-us/sql/advanced-analytics/r/set-up-sql-server-r-services-in-database" target="_blank"&gt;Setup SQL Machine Learing Services / R-Services&lt;/a&gt;. But still you are not able to run a TSQL Script like this one:     &lt;br /&gt;    &lt;br /&gt;&amp;#160;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/4617.image_5F00_341D2753.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1067.image_5F00_thumb_5F00_73E70DD8.png" width="441" height="78" /&gt;&lt;/a&gt;     &lt;br /&gt;.. even not as sysadmin!&lt;/p&gt;  &lt;p&gt;Errors arise like:    &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Msg 39012, Level 16, State 1, Line 8      &lt;br /&gt;Unable to communicate with the runtime for &amp;#39;R&amp;#39; script. Please check the requirements of &amp;#39;R&amp;#39; runtime.&lt;/li&gt;    &lt;li&gt;Msg 11536, Level 16, State 1, Line 8      &lt;br /&gt;EXECUTE statement failed because its WITH RESULT SETS clause specified 1 result set(s), but the statement only sent 0 result set(s) at run time.&lt;/li&gt;    &lt;li&gt;Msg 39021, Level 16, State 1, Line 30      &lt;br /&gt;Unable to launch runtime for &amp;#39;R&amp;#39; script. Please check the configuration of the &amp;#39;R&amp;#39; runtime.&lt;/li&gt;    &lt;li&gt;Msg 39019, Level 16, State 1, Line 30      &lt;br /&gt;An external script error occurred: Unable to launch the runtime. ErrorCode 0x80070490: 1168(Element not found.).&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Many Troubleshooing help Articles pointing to checking the Setup, the Config (as mentioned in the above Link), recreate rlauncher (rlauncher.config) and so on. Most of these are good points but often lead not to the solution.&lt;/p&gt;  &lt;p&gt;When the TSQL R-Script is executed, nothing really happens, except the Error still is there.    &lt;br /&gt;So, it seems, that the main cause is permission.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;If set the Lauchpad Service to the same Service Account as the SQL Server Service and the SQL Server Agent Service, solved in many Server environments the issue. The SQL Server Service Account is typically correct configured with the necessary User-Rights. So, the Launchpad Service will start and SQL Server can access the Launchpad Runtime to execute the Script correctly!     &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/7652.image_5F00_1AB52419.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/4113.image_5F00_thumb_5F00_6F708D11.png" width="500" height="87" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=184330" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Machine+Learning/default.aspx">Machine Learning</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Launchpad/default.aspx">Launchpad</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/R_2D00_Services/default.aspx">R-Services</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/sp_5F00_execute_5F00_external_5F00_script/default.aspx">sp_execute_external_script</category></item><item><title>Oracle Client auf SQL Server 2014 for Linked Server</title><link>http://blog.trivadis.com/b/imsms/archive/2014/10/17/oracle-client-auf-sql-server-2014-for-linked-server.aspx</link><pubDate>Fri, 17 Oct 2014 12:04:26 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:182919</guid><dc:creator>Daniel Mohr</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=182919</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2014/10/17/oracle-client-auf-sql-server-2014-for-linked-server.aspx#comments</comments><description>&lt;p&gt;Linked Server zu einem Oracle DB System aufzubauen ist und war manchmal schon fast eine Tortour.&lt;/p&gt;  &lt;p&gt;Mittlerweile ist es ein bisschen einfacher geworden und es funktioniert von SQL 2005 … bis SQL 2014 – ich schwöre ! &lt;img class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/0474.wlEmoticon_2D00_winkingsmile_5F00_614B7EA3.png" /&gt;&lt;/p&gt;  &lt;p&gt;Entscheidend ist vielfach die korrekte Oracle Client Version.   &lt;br /&gt;Meine Erfahrung hat allerdings gezeigt, dass der neueste Oracle Client die besten Ergebnisse erziehlt.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Was genau wird den nun benötigt?&lt;/strong&gt;    &lt;br /&gt;Ein Oracle Account ist notwendig um das Package zu downloaden. (kann kostenlos registriert werden)&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;1. Oracle ODAC Client Setup Package (ODAC121012_x64)    &lt;br /&gt;&lt;a title="http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html" href="http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html"&gt;http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/0572.image_5F00_2EE7AB24.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/5661.image_5F00_thumb_5F00_07AD61EF.png" width="368" height="198" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Entpacken und auf dem SQL Server installieren in Home C:\Oracle&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/2538.image_5F00_0E606B72.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/5287.image_5F00_thumb_5F00_5BFF28A3.png" width="244" height="180" /&gt;&lt;/a&gt;&amp;#160;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/8080.image_5F00_7BAE026B.png"&gt;&lt;img title="image" style="margin:0px;display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/2548.image_5F00_thumb_5F00_393DF0E6.png" width="244" height="180" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/8715.image_5F00_06DA1D67.png"&gt;&lt;img title="image" style="margin:0px;display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/4188.image_5F00_thumb_5F00_1D2FC2AC.png" width="244" height="181" /&gt;&lt;/a&gt;&amp;#160;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/5287.image_5F00_03C7BF72.png"&gt;&lt;img title="image" style="margin:0px;display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/5661.image_5F00_thumb_5F00_65E93B70.png" width="244" height="180" /&gt;&lt;/a&gt;    &lt;br /&gt;alles default belassen – next – next – Finish.&lt;/p&gt;  &lt;p&gt;SQLNET.ora und TNSNAMES.ora Files vom Oracle Team ordern und kopieren ins lokale Verzeichnis:   &lt;br /&gt;C:\Oracle\Product\12.1.0\client_1\Network\Admin    &lt;br /&gt;Registry anpassen mit neuem Key TNS_ADMIN&lt;/p&gt;  &lt;p&gt;REGEDIT starten: (auf einem Cluster auf allen Nodes)&lt;/p&gt;  &lt;p&gt;Add Registrykey: (REG_SZ)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/8321.clip_5F00_image002_5F00_4C813836.jpg"&gt;&lt;img title="clip_image002" style="display:inline;background-image:none;" border="0" alt="clip_image002" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/6747.clip_5F00_image002_5F00_thumb_5F00_01219472.jpg" width="321" height="184" /&gt;&lt;/a&gt;&amp;#160;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/6735.image_5F00_6ED8CDAF.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/3034.image_5F00_thumb_5F00_6E6C9ABA.png" width="251" height="182" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;HKLM\Software\ORACLE\ = TNS_ADMIN: C:\Oracle\Product\12.1.0\client_1\Network\Admin&lt;/p&gt;  &lt;h4&gt;&lt;font size="2"&gt;Starten des SQL Server Management Studios&lt;/font&gt;&lt;/h4&gt;  &lt;h4&gt;Provider Konfiguration im SQL Server Management Studio&lt;/h4&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/6232.clip_5F00_image0025_5F00_2E368140.jpg"&gt;&lt;img title="clip_image002[5]" style="display:inline;background-image:none;" border="0" alt="clip_image002[5]" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/5658.clip_5F00_image0025_5F00_thumb_5F00_10C43034.jpg" width="244" height="207" /&gt;&lt;/a&gt; allow Inprocess setzen    &lt;br /&gt;Wenn möglich den SQL Server neu starten. Es kann vorkommen das ansonsten das erstellen des Linked Servers fehlschlägt.    &lt;br /&gt;    &lt;br /&gt;Danach Linked Server erstellen    &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/7318.image_5F00_7E7B6971.png"&gt;&lt;img title="image" style="margin:0px;display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/6735.image_5F00_thumb_5F00_052E72F5.png" width="244" height="198" /&gt;&lt;/a&gt; TNSNames als ProviderName und DataSource verwenden    &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/4101.image_5F00_5DF429BF.png"&gt;&lt;img title="image" style="margin:0px;display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/3527.image_5F00_thumb_5F00_4081D8B3.png" width="244" height="197" /&gt;&lt;/a&gt; Username und Password des Oracle Users setzen    &lt;br /&gt;FINISH    &lt;br /&gt;Dieser Client funktioniert auch auf dem neuesten SQL Server 2014, CU3 (12.0.2402)    &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=182919" width="1" height="1"&gt;</description></item><item><title>SQL Server 2012–AlwaysOn synchronize Server Level Objects with SSMS Add-In</title><link>http://blog.trivadis.com/b/imsms/archive/2014/10/13/sql-server-2012-alwayson-synchronize-server-level-objects-with-ssms-add-in.aspx</link><pubDate>Mon, 13 Oct 2014 09:16:35 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:182875</guid><dc:creator>Daniel Mohr</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=182875</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2014/10/13/sql-server-2012-alwayson-synchronize-server-level-objects-with-ssms-add-in.aspx#comments</comments><description>&lt;p&gt;Mit HADR Availability Groups hat Microsoft ja eine tolle Möglichkeit geschaffen Datenbanken optimal zu synchronisieren.    &lt;br /&gt;Jeder der das schon im Einsatz hat kennt allerdings auch den Umstand, dass Server Level Objects nicht automatisch auf die entsprechenden Replicas synchronisiert werden. Hier ist manueller Einsatz notwendig. Wir sprechen hier von Logins, Jobs und möglichen Server Roles.&lt;/p&gt;  &lt;p&gt;Theoretisch könnte man diese automatisiert über einen recurring Job entsprechend auslesen und so synchen. Ein Sysadmin sollte&amp;#160; das meiner Ansicht nach aber gezielt und wissentlich durchführen.    &lt;br /&gt;Varinate 1 (T-SQL): Scripten der Objecte und einpflegen auf den notwendigen Replicas&lt;/p&gt;  &lt;p&gt;Variante 2 (SSMS Add-In von SQLSkills.com):&lt;/p&gt;  &lt;p&gt;Es existiert ein SSMS Add-In, welches eine Erweiterung im Availability Group Menü mitbringt und von SQLSkills.com zur Verfügung steht.    &lt;br /&gt;&lt;a href="https://www.sqlskills.com/blogs/jonathan/synchronize-availability-group-logins-and-jobs/"&gt;https://www.sqlskills.com/blogs/jonathan/synchronize-availability-group-logins-and-jobs/&lt;/a&gt;     &lt;br /&gt;Einfache und umkomplizierte Integration für alle GUI Fans &lt;img class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/6886.wlEmoticon_2D00_winkingsmile_5F00_14EE3D5F.png" /&gt;&lt;/p&gt;  &lt;p&gt;Funktioniert perfekt und ist ein cooles Tool um diese Tasks zu erledigen z.b von einem Management Server.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1172.image_5F00_0DCF00E7.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/6864.image_5F00_thumb_5F00_498E999A.png" width="441" height="335" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Zur Zeit ist das Add-In leider nur lauffähig unter SQL Server 2012 … geplant sind weitere Features und natürlich Support für SQL Server 2014 etc.&amp;#160; &lt;br /&gt;stay in Tune ….&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=182875" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/DBA/default.aspx">DBA</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/High+Availability/default.aspx">High Availability</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Administration/default.aspx">Administration</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SQL+Server+2012/default.aspx">SQL Server 2012</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Empfehlungen/default.aspx">Empfehlungen</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/HADR/default.aspx">HADR</category></item><item><title>SSISDB in SQL Server HADR Availability Groups</title><link>http://blog.trivadis.com/b/imsms/archive/2014/09/19/ssisdb-in-sql-server-hadr-availability-groups.aspx</link><pubDate>Fri, 19 Sep 2014 12:44:21 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:182506</guid><dc:creator>Stephan Hurni</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=182506</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2014/09/19/ssisdb-in-sql-server-hadr-availability-groups.aspx#comments</comments><description>&lt;p&gt;Damit SSIS in SQL Server HADR Availability Groups Systemen optimal verwendet werden kann, ist auch die SSISDB hoch verfügbar zu implementieren. So ist es möglich, dass die SSIS Pakete auch im Failover weiterhin funktionieren.&lt;/p&gt;  &lt;p&gt;Dies ist nicht einfach so “out of the box” möglich. Allerdings gibt es einen Weg dies zu tun. Der Ansatz bedingt jedoch folgendes, das unbedingt zu beachten ist.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;das Security handling ist einzuhalten&lt;/li&gt;    &lt;li&gt;beim Patchen von SQL Servern die in SSIS konfiguriert sind und deren SSISDB in HADR AG aktiv sind ist Vorsicht geboten!&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Das Vorgehen&lt;/strong&gt;:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;SSIS auf jedem Replikat SQL Server (primär + sekundär) aktivieren und konfigurieren     &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/5811.image_5F00_503C79F6.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1614.image_5F00_thumb_5F00_1006607C.png" width="141" height="103" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;SSISDB muss “trustworthy” sein [&lt;font face="Courier New"&gt;alter database ssisdb set trustworthy on&lt;/font&gt;]&lt;/li&gt;    &lt;li&gt;SSISDB, nachdem die Instanz für SSIS konfiguriert ist, auf allen sekundären Replikat Instanzen sichern und dann löschen&lt;/li&gt;    &lt;li&gt;SSISDB auf dem primären Replikat forciert encrypten      &lt;br /&gt;[&lt;font face="Courier New"&gt;ALTER MASTER KEY REGENERATE WITH ENCRYPTION BY PASSWORD = &amp;#39;TVD_SSISDB!!&amp;#39;&lt;/font&gt;]&lt;/li&gt;    &lt;li&gt;SSISDB in eine bestehende oder neue AG einbauen&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Damit ist die SSISDB bereit und in der Availabality Group aktiv.    &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/3757.image_5F00_6B70886C.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/4846.image_5F00_thumb_5F00_6B045577.png" width="169" height="32" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Funktion beim Failover&lt;/strong&gt;:     &lt;br /&gt;Damit nun die SSISDB nach einem Failover auf einen Replikat Server durch SQL Server verwendet werden kann, muss die DB neu verschlüsselt werden. Dies geschieht mit demselben Verfahren wie oben beschrieben. Damit dies nach einem Failover automatisch geschieht, ist auf allen SQL Servern folgendes einzubauen:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Nach einer kurzen Wartezeit (ca. 20 Sekunden), auf dem neuen primären Server, nach dem Failover; überprüfen, ob die SSISDB auf dem primären Replikat Server aktiv ist &amp;gt;&amp;gt; dies gewährt, dass dieser Ablauf auf jedem Replikat Server (auch auf sekundären) ohne Fehler läuft&lt;/li&gt;    &lt;li&gt;Ist die SSISDB auf dem primären Replikat Server aktiv, weiter machen, sonst nichts tun&lt;/li&gt;    &lt;li&gt;Weitermachen heisst: Encryption forcieren (siehe oben) und sa als owner der SSISDB setzen&lt;/li&gt;    &lt;li&gt;evt. einen Alarm per E-Mail an den/die DBA’s senden&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Damit dies alles automatisch funktioniert wird ein SQL Server Alarm definiert, der auf den SQL Server Alarm &lt;strong&gt;19406&lt;/strong&gt; reagiert. Dieser Alarm löst dann einen Job aus, in dem oben erwähnte &lt;strong&gt;Funktion beim Failover&lt;/strong&gt; durchgeführt wird. Mittels SQL Server Notification und Operators können beim Alarm auch E-Mails versendet werden.     &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1207.image_5F00_26C3EE2B.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1220.image_5F00_thumb_5F00_4D92046B.png" width="163" height="86" /&gt;&lt;/a&gt; &lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1205.image_5F00_5F6E9838.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/2604.image_5F00_thumb_5F00_342A0131.png" width="244" height="144" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Patchen des SQL Server mit SSISDB in HADR AG&lt;/strong&gt;:     &lt;br /&gt;Beim Patchen von SQL Servern werden, falls konfiguriert, auch die SSIS Komponenten betroffen sein. Da auf den sekundären Replikat Servern die SSISDB nicht beschrieben werden kann, darf das Patching nicht direkt druchgeführt werden. Um diese Umgebungen patchen zu können, muss manuell vorgegangen werden. &lt;strong&gt;Manuelles patchen ist generell bei SQL Servern zu empfehlen!&lt;/strong&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;strong&gt;Der Patchablauf&lt;/strong&gt;:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;SSIS Service auf allen sekundären Nodes stoppen&lt;/li&gt;    &lt;li&gt;SSISDB aus der Availability Group entfernen&lt;/li&gt;    &lt;li&gt;SSISDB auf den sekundären Replikat Servern verfügbar machen [&lt;font face="Courier New"&gt;restore database SSISDB with recovery&lt;/font&gt;]&lt;/li&gt;    &lt;li&gt;Patchen aller Nodes &lt;/li&gt;    &lt;li&gt;löschen der SSISDB auf den sekundären Replikat Servern&lt;/li&gt;    &lt;li&gt;erneutes Aufnehmen, der nun gepatchten SISDB, in die AG (wie im initial beschrieben Vorgehen)&lt;/li&gt;    &lt;li&gt;SSIS Service auf allen sekundären Nodes starten&lt;/li&gt; &lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=182506" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Availability+Groups/default.aspx">Availability Groups</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SSISDB/default.aspx">SSISDB</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/HADR/default.aspx">HADR</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SSIS/default.aspx">SSIS</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Failover/default.aspx">Failover</category></item><item><title>SQL Server (TSQL) Server Boot Time, Instance Startup, Uptime</title><link>http://blog.trivadis.com/b/imsms/archive/2014/01/29/sql-server-tsql-server-boot-time-instance-startup.aspx</link><pubDate>Wed, 29 Jan 2014 18:10:40 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:182137</guid><dc:creator>Stephan Hurni</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=182137</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2014/01/29/sql-server-tsql-server-boot-time-instance-startup.aspx#comments</comments><description>&lt;p&gt;&lt;font face="Calibri"&gt;Schon mal versucht aus SQL Server mit TSQL die Server Boot Time zu ermitteln oder herauszufinden, wann die Instanz gestartet wurde?!&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri"&gt;Der einfachste Weg herauszufinden, wann die Instanz gestartet wurde, ist einfach und kann auch im GUI gemacht werden. Einfach die Properties der TEMPDB anschauen &lt;img class="wlEmoticon wlEmoticon-smile" alt="Smiley" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/7024.wlEmoticon_2D00_smile_5F00_69465C81.png" /&gt;       &lt;br /&gt;&lt;/font&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/2046.image_5F00_29104307.png"&gt;&lt;font face="Calibri"&gt;&lt;img title="image" style="background-image:none;display:inline;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/2630.image_5F00_thumb_5F00_68DA298C.png" width="392" height="240" /&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri"&gt;Wann der Server neu gestartet wurde; das ist schon nicht mehr so einfach.      &lt;br /&gt;Folgendes Skript liefert die Information. Zusätzlich auch die Instance Startup Zeit und die Server Uptime.       &lt;br /&gt;Das Skript könnte einfach als Prozedur gespeichert werden. Wenn dies in jeder Instanz der Umgebung gemacht wird, dann kann immer und einfach darauf zugegriffen werden&lt;img class="wlEmoticon wlEmoticon-thumbsup" alt="Daumen hoch" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/8407.wlEmoticon_2D00_thumbsup_5F00_32983B74.png" /&gt;&lt;/font&gt;     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;SELECT (SELECT DATEADD(SECOND, (ms_ticks/1000)*(-1), GETDATE()) FROM sys.dm_os_sys_info)      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; AS &amp;#39;Windows Server Starttime&amp;#39;       &lt;br /&gt;,(SELECT DATEDIFF(hh,(SELECT DATEADD(SECOND, (ms_ticks/1000)*(-1), GETDATE())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; FROM sys.dm_os_sys_info),GETDATE()))       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; AS &amp;#39;Server Uptime (hours)&amp;#39;       &lt;br /&gt;,(SELECT&amp;#160; create_date FROM sys.databases WHERE name = &amp;#39;tempdb&amp;#39;)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; AS &amp;#39;SQL Server Starttime (TempDB created)&amp;#39;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;font face="Calibri"&gt;Resultat&lt;/font&gt;     &lt;br /&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/2630.image_5F00_0814AB84.png"&gt;&lt;img title="image" style="background-image:none;display:inline;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/4762.image_5F00_thumb_5F00_6A362782.png" width="736" height="56" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=182137" width="1" height="1"&gt;</description></item><item><title>SQL Server (TSQL) Server Boot Time, Instance Startup, Uptime</title><link>http://blog.trivadis.com/b/imsms/archive/2014/01/29/sql-server-tsql-server-boot-time-instance-startup-uptime.aspx</link><pubDate>Wed, 29 Jan 2014 18:10:40 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:182150</guid><dc:creator>Stephan Hurni</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=182150</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2014/01/29/sql-server-tsql-server-boot-time-instance-startup-uptime.aspx#comments</comments><description>Schon mal versucht aus SQL Server mit TSQL die Server Boot Time zu ermitteln oder herauszufinden, wann die Instanz gestartet wurde?! Der einfachste Weg herauszufinden, wann die Instanz gestartet wurde, ist einfach und kann auch im GUI gemacht werden....(&lt;a href="http://blog.trivadis.com/b/imsms/archive/2014/01/29/sql-server-tsql-server-boot-time-instance-startup-uptime.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=182150" width="1" height="1"&gt;</description></item><item><title>SharePoint Virtuell, Defragmentierung von Disks</title><link>http://blog.trivadis.com/b/imsms/archive/2013/12/05/sharepoint-virtuell-defragmentierung-von-disks.aspx</link><pubDate>Thu, 05 Dec 2013 18:49:14 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:182071</guid><dc:creator>Stephan Jola</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=182071</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2013/12/05/sharepoint-virtuell-defragmentierung-von-disks.aspx#comments</comments><description>&lt;p&gt;In der Zeit in welchem alles und jeder virtualisiert wird, habe ich immer wieder spannende Diskussionen bezüglich Defragmentierung von virtuellen Disks. Nun, es gibt viele Meinungen zu diesem Thema.&lt;/p&gt;  &lt;p&gt;Aus meiner Perspektive habe ich mich für den Standard entschieden, in regelmäßigen Intervallen die Disks von SharePoint zu defragmentieren. Egal ob physikalisch oder virtuell.&lt;/p&gt;  &lt;p&gt;Wie ich zu dieser Einstellung gekommen bin? Viele Diskussionen und dieser Link hat mich überzeugt: &lt;a title="http://yalla.itgroove.net/2012/06/sharepoint-on-virtual-machines-is-disk-defragmenting-necessary-for-performance/" href="http://yalla.itgroove.net/2012/06/sharepoint-on-virtual-machines-is-disk-defragmenting-necessary-for-performance/"&gt;http://yalla.itgroove.net/2012/06/sharepoint-on-virtual-machines-is-disk-defragmenting-necessary-for-performance/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Insbesondere die Anmerkungen von Andrew und Bob Nolan. Zu beachten auch die Links zu den NTFS &lt;/p&gt;  &lt;p&gt;Wohlverstanden, bei Windows Server 2012 und dem neuen Resilient File System (ReFS, Robustes Dateisystem) kann ich (noch) kein Statement abgeben…&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.google.ch/url?sa=i&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;frm=1&amp;amp;source=images&amp;amp;cd=&amp;amp;cad=rja&amp;amp;docid=LFM1W_USTyeiPM&amp;amp;tbnid=9W34-GX62dCwvM:&amp;amp;ved=0CAUQjRw&amp;amp;url=http%3A%2F%2Fwww.boostbastards.com%2F48-t-shirt-the-big-boost-theory-gelb.html&amp;amp;ei=vcmgUqGVNsee0wWP0YDQBg&amp;amp;bvm=bv.57155469,d.bGE&amp;amp;psig=AFQjCNH319H_bIxTW0lLyPZjZJbutfcJxw&amp;amp;ust=1386355452144755"&gt;&lt;img style="margin-right:auto;margin-left:auto;float:none;display:block;" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTr6Qa-63qIwAHZ72i5raS7Y1UBqaX-v0lRf0wI9f-82pASAW4wjg" width="462" height="462" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=182071" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Performance/default.aspx">Performance</category></item><item><title>Word 2010 stürzt ab, bei Verwendung von Label Policy</title><link>http://blog.trivadis.com/b/imsms/archive/2013/11/29/word-2010-st-252-rzt-ab-bei-verwendung-von-label-policy.aspx</link><pubDate>Fri, 29 Nov 2013 13:07:39 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:182066</guid><dc:creator>Stephan Jola</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=182066</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2013/11/29/word-2010-st-252-rzt-ab-bei-verwendung-von-label-policy.aspx#comments</comments><description>&lt;p&gt;Ein Interessantes Feature ist die Verwendung von SharePoint Label Policy mit Office Word 2010. Auch schon mehrere Male eingesetzt, haben wir bei einem Kunden das Phänomen, dass Word nun beim Einsatz dieser Funktion abstürzt.&lt;/p&gt;  &lt;p&gt;Etwas Troubleshooting und Analyse hat uns auf die Spur gebracht. In unserem Fall&amp;#160; war der MS KB Artikel resp. der Hot Fix KB2760769 schuld an der Misere. Hat man diesen Hotfix deinstalliert, ist das Problem gelöst.&lt;/p&gt;  &lt;p&gt;Aber Achtung: Diese wohl tolle Funktion wird von MS in SharePoint 2013 nicht mehr groß promotet. Im Gegenteil:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/0167.image_5F00_0F7E68C7.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/0676.image_5F00_thumb_5F00_1631724A.png" width="644" height="100" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=182066" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Office/default.aspx">Office</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/2010/default.aspx">2010</category></item><item><title>SharePoint 2010–User Profil Suche nach Domain Name</title><link>http://blog.trivadis.com/b/imsms/archive/2013/09/23/sharepoint-2010-user-profil-suche-nach-domain-name.aspx</link><pubDate>Mon, 23 Sep 2013 07:27:34 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:181914</guid><dc:creator>Stephan Jola</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=181914</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2013/09/23/sharepoint-2010-user-profil-suche-nach-domain-name.aspx#comments</comments><description>&lt;p&gt;User Profile Service – Eine Hass und Liebe der SharePoint Administratoren. Entweder es läuft, oder eben&amp;#160; nicht (wie gewünscht).&lt;/p&gt;  &lt;p&gt;&lt;img src="http://1.bp.blogspot.com/_LDI8xrCaKTQ/TD3LWNv97_I/AAAAAAAAJs8/ii0I2_WPD0Q/s320/sharepoint_tattoo.png" alt=" " /&gt;&lt;/p&gt;  &lt;p&gt;So war ich wieder mal mit einem Issue konfrontiert. Der UPS hat wohl funktioniert und alles war im grünen Bereich…Bis wir in der CA mal nach einem bestimmten Profil suchen mussten. “Nichts leichter als das…” sagt sich der SP Admin. Aber dann tauchte es auf, das Ungeheuer.&lt;/p&gt;  &lt;p&gt;Gibt man im Suchfeld den Domain Namen mit Backslash ein (wie übrigens hier beschrieben: &lt;a title="http://technet.microsoft.com/de-de/library/ee721049.aspx#Phase2" href="http://technet.microsoft.com/de-de/library/ee721049.aspx#Phase2"&gt;http://technet.microsoft.com/de-de/library/ee721049.aspx#Phase2&lt;/a&gt;) kommt die unappetitliche Fehlermeldung.&lt;/p&gt;  &lt;p&gt;Die Fehlermeldung im ULS Log: &lt;/p&gt;  &lt;p&gt;&lt;em&gt;Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: No User Profile Application available to service the request. Contact your farm administrator.&amp;#160;&amp;#160;&amp;#160; at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetRawPartitionID(SPServiceContext serviceContext)&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Microsoft.Office.Server.SiteContext..ctor(SPServiceContext serviceContext)&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Microsoft.Office.Server.SiteContext.get_Current()&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileManager.OnPreRender(EventArgs e)&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Web.UI.Control.PreRenderRecursiveInternal()&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ba1514b2-05bd-4c1d-b9a3-75e72762c2bb&lt;/em&gt;&amp;quot;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Das kam uns dann schon etwas seltsam vor. Denn die Suche mit beispielsweise dem Login Namen hat Profile gefunden, auch sonst keine seltsamen Fehler auf der Farm. Nach einigen etlichen Untersuchungen sind wir fündig geworden. Wir mussten in der CA auf der Web Application der CA die Proxy Connection zum User Profile aktivieren.&lt;/p&gt;  &lt;p&gt;Oder sicherstellen, dass die CA Web Application die Default Proxy Gruppe verwendet.&lt;/p&gt;  &lt;p&gt;Danach ist das Problem gelöst. Zumindest bei uns war das so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=181914" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Sharepoint/default.aspx">Sharepoint</category></item><item><title>SharePoint 2013 Product Catalog–Item Category missing</title><link>http://blog.trivadis.com/b/imsms/archive/2013/08/27/sharepoint-2013-product-catalog-item-category-missing.aspx</link><pubDate>Tue, 27 Aug 2013 09:03:27 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:181899</guid><dc:creator>Stephan Jola</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=181899</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2013/08/27/sharepoint-2013-product-catalog-item-category-missing.aspx#comments</comments><description>&lt;p&gt;Mit SharePoint 2013 kommt ein neues Site Collection Template ins Spiel. In Englisch nennt sich das unter Publishing-Product Catalog Site Collection Template.&lt;/p&gt;  &lt;p&gt;Nichts wie los und das genauer untersucht, mit der Idee das Cross-Site Publishing Feature unter die Lupe zu nehmen. Ich erstelle also eine neue Site Collection mit dem Namen Product Catalog und seinem Template.&lt;/p&gt;  &lt;p&gt;Nach dem erstellen der Site Collection geht man dann auf die Liste Products uns sucht die überall beschriebene “&amp;quot;Item Category” Column vom Typ Managed Metadata. Bei mir immer Fehlanzeige, nicht da. Ich habe die Column dann manuell von den Site Collection Columns hinzugefügt. Hat funktioniert, aber die ebenfalls in den Artikeln angepriesene Verknüpfung zum Site Collection Term Set “Product Hierarchy” zeigt ins leere, resp. es gibt sie gar nicht.&lt;/p&gt;  &lt;p&gt;Seltsam, und mit ein wenig Troubleshooting (ULS!) bin ich dem Fehler auf die Schliche gekommen. Beim erstellen der ersten Managed Metadata Service Application muss man ein Setting vornehmen, welche bei mir nicht aktiviert war.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/0383.image_5F00_31CD2D6E.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1447.image_5F00_thumb_5F00_582F10B9.png" width="644" height="215" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Mit dieser Einstellung konfiguriert, erstellt man die gewünschte Site Collection neu und alles wird gut.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/4428.image_5F00_10D9BAC7.png"&gt;&lt;img title="image" style="display:inline;background-image:none;" border="0" alt="image" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/4034.image_5F00_thumb_5F00_69333E9C.png" width="644" height="161" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Ach ja, festgestellt wurde dieses Verhalten mit dem SharePoint 2013 Build 15.0.4481.1005 (PU März 2013).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=181899" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Sharepoint+2013/default.aspx">Sharepoint 2013</category></item><item><title>Power to the Shell</title><link>http://blog.trivadis.com/b/imsms/archive/2013/08/23/power-to-the-shell.aspx</link><pubDate>Fri, 23 Aug 2013 12:39:47 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:181895</guid><dc:creator>Stephan Jola</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=181895</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2013/08/23/power-to-the-shell.aspx#comments</comments><description>&lt;p&gt;PowerShell, je länger je mehr ein Pflichtmodul in der Aus- Weiterbildung des Windows Administrators. Wir SharePointers verwenden entweder PowerGui.org oder die rustikaleren PowerShell Entwickler die PowerShell ISE.&lt;/p&gt;  &lt;p&gt;Die PowerShell ISE hat einen kleinen Schönheitsfehler den wir botoxieren können. Das heisst, wir können der PowerShell ISE das SharePoint PowerShell Snapp-In Injezieren.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;ich habe das nicht erfunden, aber &lt;a href="http://blogs.msdn.com/b/kaevans/archive/2011/11/14/add-microsoft-sharepoint-powershell-snap-in-to-all-powershell-windows.aspx"&gt;hier findet ihr ein Blog&lt;/a&gt;, dass das einfach erklärt “…und es funktioniert”.&lt;/p&gt;  &lt;p&gt;Coole Sache.&lt;/p&gt;  &lt;p&gt;&lt;img width="240" height="188" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=181895" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/PowerShell/default.aspx">PowerShell</category></item><item><title>Office Visio Stencils von Microsoft</title><link>http://blog.trivadis.com/b/imsms/archive/2013/07/03/office-visio-stencils-von-microsoft.aspx</link><pubDate>Wed, 03 Jul 2013 12:02:51 GMT</pubDate><guid isPermaLink="false">7f420732-9615-472e-9723-d9bd9f35b01c:181842</guid><dc:creator>Stephan Jola</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.trivadis.com/b/imsms/rsscomments.aspx?WeblogPostID=181842</wfw:commentRss><comments>http://blog.trivadis.com/b/imsms/archive/2013/07/03/office-visio-stencils-von-microsoft.aspx#comments</comments><description>&lt;p&gt;Egal ob SharePoint’er, DBA, Developer, Designer, Information Architekt, Lync und Active Directory Spezialist, Sales, Engineer oder Eierlegendeswollmichferkel. Alle sind einmal mit Dokumentation schreiben, Präsentation erstellen oder ähnlichen gefordert.&lt;/p&gt;  &lt;p&gt;Die Frage ist immer wieder die gleiche, welches Symbol wie bleibe ich aktuell? Und dann soll es auch noch im Gleichgewicht mit Design und Funktionalität stehen. Nun, seit kurzer Zeit steht bei Microsoft ein tolles Visio Stencil Set für genau das zum Download bereit:&lt;/p&gt;  &lt;p&gt;Download hier: &lt;a title="http://www.microsoft.com/en-us/download/confirmation.aspx?id=35772" href="http://www.microsoft.com/en-us/download/confirmation.aspx?id=35772"&gt;http://www.microsoft.com/en-us/download/confirmation.aspx?id=35772&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Ein Auszug der vielen, wirklich vielen und umfangreichen Stencils sehen wir hier.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/1411.Visio_2D00_Office_2D00_Stencils_5F00_04322D67.jpg"&gt;&lt;img title="Visio Office Stencils" style="border:0px currentcolor;margin-right:auto;margin-left:auto;float:none;display:block;background-image:none;" border="0" alt="Visio Office Stencils" src="http://blog.trivadis.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-57-metablogapi/6675.Visio_2D00_Office_2D00_Stencils_5F00_thumb_5F00_58153075.jpg" width="271" height="480" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Viel Spass beim Designen! Und ja, ZEIT braucht es auch mit diesen Stencils um ein tolles Diagramm, Netzwerkplan oder was auch immer zu erstellen. Aber das ist eine andere Geschichte…&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blog.trivadis.com/aggbug.aspx?PostID=181842" width="1" height="1"&gt;</description><category domain="http://blog.trivadis.com/b/imsms/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/DBA/default.aspx">DBA</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Schulung/default.aspx">Schulung</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Lync/default.aspx">Lync</category><category domain="http://blog.trivadis.com/b/imsms/archive/tags/Pr_E400_sentation/default.aspx">Präsentation</category></item></channel></rss>