﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Win 2k8 Server 64bit - Named (System Wide) Semaphores - SQL Server 2k8 / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 20:40:54 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Win 2k8 Server 64bit - Named (System Wide) Semaphores - SQL Server 2k8</title><link>http://www.sqlservercentral.com/Forums/Topic838119-391-1.aspx</link><description>[quote][b]Ray K (12/22/2009)[/b][hr]You posted this same question on both the General and the T-SQL forms.[/quote]I know.[quote]Please [b]DO NOT[/b] cross-post.[/quote][b]SORRY[/b]. I wasn't sure where it belonged, whether it was a general sql issue or a t-sql issue.[quote]Thanks . . .[/quote]You're welcome.</description><pubDate>Tue, 22 Dec 2009 16:12:34 GMT</pubDate><dc:creator>ray.jacksonsr</dc:creator></item><item><title>RE: Win 2k8 Server 64bit - Named (System Wide) Semaphores - SQL Server 2k8</title><link>http://www.sqlservercentral.com/Forums/Topic838119-391-1.aspx</link><description>You posted this same question on both the General and the T-SQL forms.Please [b]DO NOT[/b] cross-post.Thanks . . .</description><pubDate>Tue, 22 Dec 2009 15:22:33 GMT</pubDate><dc:creator>Ray K</dc:creator></item><item><title>RE: Win 2k8 Server 64bit - Named (System Wide) Semaphores - SQL Server 2k8</title><link>http://www.sqlservercentral.com/Forums/Topic838119-391-1.aspx</link><description>How do you have the execution context of the xp_cmdshell set up? Are you using a proxy or is it running in the context of the SQLServer service user (generally a domain user but could be a local user) The default is system or network and that may not have permissions to see semaphores.</description><pubDate>Tue, 22 Dec 2009 14:23:37 GMT</pubDate><dc:creator>sturner</dc:creator></item><item><title>Win 2k8 Server 64bit - Named (System Wide) Semaphores - SQL Server 2k8</title><link>http://www.sqlservercentral.com/Forums/Topic838119-391-1.aspx</link><description>Hello,We have, for years, been running software in which a standalone Windows executable ('management program') creates a system semaphore and waits. In SQL Server, we use xp_cmdshell to execute another Windows executable ('work program') that will open this semaphore, do some work, and release it. However, once we upgraded to Windows 2008 Server 64bit, this functionality was broken. When a named system semaphore is created OUTSIDE of SQL Server's xp_cmdshell by the 'MANAGEMENT' program, we cannot access this semaphore when we invoke an instance of our 'WORK' program via xp_cmdshell. The documentation at http://msdn.microsoft.com/en-us/library/z6zx288a.aspx clearly states that "once the named semaphore is created, it is visible to all threads in all processes" and it has worked perfectly up until our Windows 2008 Server 64bit upgrade from 2003 Server 32bit.A named system semaphore, which is SUPPOSED to be available to the entire system, is not. I cannot access these semaphores from xp_cmdshell from SQL Server 2008 unless they are created in SQL Server 2008. The purpose of them is to be accessible from ANYWHERE in the system, by name, as clearly stated at http://msdn.microsoft.com/en-us/library/z6zx288a.aspx.Does anyone know any reasons/fixes/workarounds/etc for this problem?</description><pubDate>Tue, 22 Dec 2009 11:40:53 GMT</pubDate><dc:creator>ray.jacksonsr</dc:creator></item></channel></rss>