SQL Server Deadlock issue

Hello,
I'm getting deadlock on update statement..Can someone help me how to resolve..?
Query 1,UPDATE tblICWMST SET SOFLG='W', LCKUSER='MDPA', LCKDATE='20140530 12:55:42 PM' WHERE RECUID=82837 (Recuid is the cluster index)
Query 2,UPDATE tblSOMAST SET SPECIAL='' WHERE RECUID=1571252  (Recuid is the cluster index)
Thanks for the reading.

There is insufficient information to answer the question. Presumably the processes both run a multi-statement transaction have performed an operation on the table which the other process now tries to update.
This query will return all deadlocks currently registered in the System Health session:
SELECT
xed.value('@timestamp', 'datetime2(3)') as CreationDate,
xed.query('.') AS XEvent
FROM
SELECT CAST([target_data] AS XML) AS TargetData
FROM sys.dm_xe_session_targets AS st
INNER JOIN sys.dm_xe_sessions AS s
ON s.address = st.event_session_address
WHERE s.name = N'system_health'
AND st.target_name = N'ring_buffer'
) AS Data
CROSS APPLY TargetData.nodes('RingBufferTarget/event[@name="xml_deadlock_report"]') AS XEventData (xed)
ORDER BY CreationDate DESC
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • Required info on SQL Server Performance Issue Analysis and Troubleshoot way

    Dear All,
    I am going to prepare the simple documentation steps on SQL Server Performance Issue Analysis and troubleshoot method. I am struggling to make this documentation since we have different checklist (like network latency,disk latency, memory/processor pressure,SQL
    query tuning etc) to validate once application performance issue reported from the customer.So, I am looking for the experts document or link sharing .
    Your input will help for document preparation in better way.
    Thanks in advance.

    Hi,
    Recommendations and Guidelines on configuring disk partitions for SQL Server
    http://support.microsoft.com/kb/2023571
    Disk and File Layout for SQL Server
    https://blogs.technet.com/b/dataplatforminsider/archive/2012/12/19/disk-and-file-layout-for-sql-server.aspx
    Microsoft SQL Server 2012 Performance Tuning: Implementing Physical Database Structure
    http://www.packtpub.com/article/sql-server-2012-implementing-physical-database-strusture
    Database Mirroring Best Practices and Performance Considerations
    http://technet.microsoft.com/en-us/library/cc917681.aspx
    Hope the information helps.
    Tracy Cai
    TechNet Community Support

  • SQL Server Connection Issue

    I've tried going through the steps to resolve the issue, but I am still coming up blank. The part that I am not understanding is the, "A non-recoverable error occurred during a database lookup." part.
    Is this a security problem? I can establish an ODBC connection to the server as well as connect and query through visual studio, however when trying to run it through one of our custom programs, it throws this error message. 
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A non-recoverable error occurred during a database lookup.)

    There are many reasons of SQL server connectivity issue. Refer checklist to find out the real cause of connectivity issue.
    1. Check SQL services are running
    2. Check SQL Browser service is running
    3. Check remote connections are enabled
    4. Network connectivity between database & application servers by TRACERT command
    5. Check TCP/IP protocol enabled at SQL server
    6. Check talent connectivity – telnet <IP address> <port no on SQL server running>
    7. Check UDP port 1434 is open or not on SQL Server
    8. Check firewall is running or not Check
    9. If firewall running, SQL Server & UDP port must be added in exception in firewall
    10. Run SQL Discovery report on machine SQL server installed, to check you are using correct instance name to connect( default \named) -http://mssqlfun.com/2013/02/26/sql-server-discovery-report/
    http://mssqlfun.com/2012/09/28/check-list-for-sql-server-connectivity-issue/
    Regards,
    Rohit Garg
    (My Blog)
    This posting is provided with no warranties and confers no rights.
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

  • Sql Server Connection Issues

    After reinstalling Windows Server 2008 R2 EE my SQL 2008 R2 Sp2 Instances have some connection issues.
    The server were installed under the same hostname, but he got a new sid in my active directory.
    On the server there one DB Engine MSSQLSERVER, two named Reporting Services for MS crm 4.0 and SCOM and one Analysis Services Instance.
    The DB Engine will collect Data from another DB, before writing to Analysis Services.
    Here are the problems on the server:
    When I connect via SSMS remotly, I sometimes get this error: Failed to connect to server <hostname> ... Named Pipes Provider, error 40 - Could not open a connection to SQL Server - Error 5
    Both RS Instances have many event log errors like "Report Server (Instance) cannot connect to the report server database.". RS Reports are working fine, but sometimes the rendering is taking a long
    time.
    The DB Engine Agent Job to collect Data sometimes throw the following error: An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult:
    0x80004005  Description: "Unable to complete login process due to delay in opening server connection".  End Error  Error: 2013-12-10 06:03:40.41     Code: 0xC00291EC
    User use Excel to connect to the Cube on my server. Often they got timeout errors. When they connect again it will work.
    Are there any solutons on this?
    Thanks a lot!

    Hello,
    The server were installed under the same hostname, but he got a new sid in my active directory.
    Did you connect to SQL Server instance with Windows authentication? Since the SID of domain account is changed, the SQL Server instace may cannot verify the login account which stored in the master with old SID. In that case, please try to connect
    SQL Server with SQL authentication and then readd the domian as login the instance.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • SQL Server Performance Issue in Memory

    Dear All
    Can you please help me out of this below issue.
    My Server having : Windows 2012 SD 64 bit
    SQL : SQL 2008 R2 64 bit SP1 
    Memory : 64 GB
    SQL Min Memory : 45 GB and Max memory : 55 GB so remaining 9 GB available
    but my sql server any time shows 94% memory utilization. i have checked below points
    Physical Memory_MB                      Physical Memory_GB                      Virtual Memory GB
    65536                                   64                                      8192
    Buffer Pool Usage at the Moment
    BPool_Committed_MB                      BPool_Commit_Tgt_MB                     BPool_Visible_MB
    56320.000000                            56320.000000                            56320.000000
    Total Memory used by SQL Server Buffer Pool as reported by Perfmon counters
    Mem_KB               Mem_MB                                  Mem_GB
    57671680             56320.000000                            55.000000000
    Memory needed as per current Workload for SQL Server instance
    Mem_KB               Mem_MB                                  Mem_GB
    57671680             56320.000000                            55.000000000
    Total amount of dynamic memory the server is using for maintaining connections
    Mem_KB               Mem_MB                                  Mem_GB
    912                  0.890625                                0.000869750
    Total amount of dynamic memory the server is using for locks
    Mem_KB               Mem_MB                                  Mem_GB
    40296                39.351562                               0.038429260
    Total amount of dynamic memory the server is using for the dynamic SQL cache
    Mem_KB               Mem_MB                                  Mem_GB
    2056                 2.007812                                0.001960754
    Total amount of dynamic memory the server is using for query optimization
    Mem_KB               Mem_MB                                  Mem_GB
    2880                 2.812500                                0.002746582
    Total amount of dynamic memory used for hash, sort and create index operations.
    Mem_KB               Mem_MB                                  Mem_GB
    0                    0.000000                                0.000000000
    Total Amount of memory consumed by cursors
    Mem_KB               Mem_MB                                  Mem_GB
    28464                27.796875                               0.027145385
    Number of pages in the buffer pool (includes database, free, and stolen).
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    7208960              57671680.000000                         56320.000000000
    Number of Data pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    6710944              53687552.000000                         52429.250000000
    Number of Free pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    234598               1876784.000000                          1832.796875000
    Number of Reserved pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    0                    0.000000                                0.000000000
    Number of Stolen pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    263418               2107344.000000                          2057.953125000
    Number of Plan Cache pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    135772               1086176.000000                          1060.718750000
    Page Life Expectancy - Number of seconds a page will stay in the buffer pool without references
    Page Life in seconds PLE Status
    111450               PLE is Healthy
    Number of requests per second that had to wait for a free page
    Free list stalls/sec
    373
    Number of pages flushed to disk/sec by a checkpoint or other operation that require all dirty pages to be flushed
    Checkpoint pages/sec
    8052165
    Number of buffers written per second by the buffer manager"s lazy writer
    Lazy writes/sec
    1247
    Total number of processes waiting for a workspace memory grant
    Memory Grants Pending
    0
    Total number of processes that have successfully acquired a workspace memory grant
    Memory Grants Outstanding
    0
    My User asking how much sql transaction takes out off 55 GB , and each transaction how much takes, how to find sql healthy and sql needs how much memory. 
    Thanks
    Mohamed Udhuman

    Issue i mentioned here, Memory bottleneck is available or not , how to avoid sql buffer pool takes more memory means.
    Thanks
    Mohamed Udhuman
    Hello,
    Your output you posted does not makes sense or may be I am not able to understand it..If you want through analysis I need following from you
    1.
    select
    (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
    (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
    (total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
    process_physical_memory_low,
    process_virtual_memory_low
    from sys. dm_os_process_memory
    2 What is reason for keeping Max server memory and Min server mmory almost equal. 55 G is MAX and 45 G is min.
    3. Does SQL server account has locked pages in memory privilege ?
    4. Did you see any out of memory error ?
    5 Please post output of DBCC MEMORYSTATUS and SP_readerrorlog on skydrive and post location here.
    PS: SQL server utilizing memory is normal behavior ,what you posted does not exactly points to memory pressure and what seems to me cause here is poorly written queries running.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    My TechNet Wiki Articles

  • OraOledb for 64-bit, Linked Servers and SQL Server 2005 issues

    Our environment is : SQL Server 2005, Windows Server 2003, 64-bit and 32-bit operating systems.
    Problem on 64-bit operating system box: (32-bit works fine).
    I am trying to access Oracle 10g database using linked server from our SQL Server 2005. In case of number fileds i got the following error:
    Invalid data for type "numeric".
    After going through one of the posting in this forumn i was able to resolve the problem by converting those column values to char while querying and then converting them back to numeric type on SQL server side.
    But today i ran into another problem. There is a VARCHAR2 column. I was able to retrieve the data yesterday for that column but today i am getting a blank recordset. If i exclude the colum from the query then i am getting all the rows.
    I am querying against a view and it has got a number of columns whose data type is VARCHAR2.
    Again the problem is on 64-bit operating system only. We have a 32-bit operating system on which i am able to retrieve the data including this column. I looked at the data and everything looks OK. No funny characters etc.
    I tried workarounds like using cast, to_char, checking for nulls etc., Nothing works.
    Any help is greately appreciated. Thanks.

    Did you find a resolution for this? We have similar problem. Set up a linked server in SQL 2006 to Oracle (running on Windows 64-bit) Linked server works and views I had set up were working but they added some new data in the Oracle test database I am using and now I get errors on one of the views.
    Error I am getting on the view is "Cannot initialize the data source object of OLE DB Provider "OraOLDEDB.ORacle" for the linked server"
    If I fine tune my queries to find the specific table or view that is at issue, then I get the error "inconsistent metadata for a column"

  • SharePoint 2010 and SQL Server 2012 issue

    Hi,
    I have SharePoint 2010 integrated with SQL Server 2008 R2 in my machine. I wanted to use Power View feature, so I went for SQL Server 2012 installation. Now when I try to create the SQL Server Reporting service service application, it says, this feature
    is not supported by current version of database.
    Please let me know how to fix the issue. Do I need to reinstall SharePoint 2010 once again using SQL Server 2012 ?
    thanks
    Tarique

    http://social.technet.microsoft.com/Forums/sharepoint/en-US/9eacbd00-f264-4f55-bd27-55cf0761cbd7/power-view-is-not-supported-in-this-edition-of-reporting-services?forum=sharepointadmin
    The only requirements for SSRS Integrated mode/PowerView are that you're using SharePoint Enterprise and SQL Enterprise/BI and that SharePoint be installed and joined to the farm on the server where you're also installing SSRS.
    You need to reconfigure your sharepoint farm farm to use SQL server 2012 
    http://technet.microsoft.com/en-us/library/ee210640.aspx
    Business intelligence features are not all available in all editions of SQL Server 2012

  • Database Adapter and SQL Server procedure issue

    Hello,
    I am using Jdev 11.1.1.7.0 and SQL Server 2005.
    In the Database Adapter configuration wizard, Specify Stored Procedure step, I choose the “GEACupax” schema and got the following error after a click on “Procedure Browse” button:
    com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'GEACUPAX.INFORMATION_SCHEMA.SCHEMATA'.
    The command Database Adapter tried to execute was:
    (from jdev log:) select schema_name from GEACUPAX.INFORMATION_SCHEMA.SCHEMATA order by schema_name;
    Note, the schema name has changed to uppercase. I think that is the problem. If I try this query in SQLDeveloper, it returns the same error. I can fix it changing the schema name to “GEACupax”. The case matters.
    Any ideas?
    Leandro.

    Vijay,
    Thanks for you reply.
    I figure out a related bug:
    Bug 12859472: Cannot browse store procedure in case-sensitive MS SQL Database
    There are two possible workarounds:
    1. Use a database name with capital letters
    2. Do not use stored procedures, but access the tables directly.
    The notes on the Bug ticket describes that the issue would be scheduled to be fixed in PS7 which is 11.1.1.8.
    Cheers!
    Leandro.

  • SQL Server Mail Issue in 2012

      Hi
    I configured in SQL Server Database Mail Option in SQL Server 2012 using Gmail SMTP with all correct parameters but when i sending the mail i got the below error message
    broker is also enabled in msdb database.
    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 (2014-06-24T16:51:23). Exception Message: Could not connect to mail server. (A connection attempt failed because the connected party did not properly
    respond after a period of time, or established connection failed because connected host has failed to respond 74.125.25.108:587).)
    pls do the need ful
    Here i attached mail conf wizard
    --Ragu Thangavel
    Ragu Thangavel

    Hey ragu,
    See the first film of a long TRAINSIGNAL quite comprehensively explains the use and settings of the mail server, but it illustrates not GMAIL service.
    https://www.youtube.com/watch?v=DAlD8Bzbtcs
    The second film explains how to configure GMAIL account (a port set, what server address, and the like) is only relevant for GMAIL account.
    https://www.youtube.com/watch?v=j69e3mTJF0k
    If you go to the movies can also rule out any important issues such as whether the service works, misconfiguration, etc. .. and you can learn more about the subject.
    Please Mark This As Answer if it helps to solve the issue
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP
    |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

  • OraOledb, Linked Servers and SQL Server 2005 issues

    Some issues I've come across when using SQL Server 2005 (and SQL Server Express 2005), the OraOLEDB provider (10.2.0.1) and a linked Oracle database (8.1.7.4.0 64-bit)
    1) You must set the OraOledb.Oracle\AllowInProcess value to 1 to allow the OraOledb provider to run in SQL Server's process. Without doing this I receive an 'unspecified error' from the OLE DB provider when attempting to run a query
    2) When running a ' select * ' query across a linked server using the provider, I receive the following error: Msg 9803, Level 16, State 1, Line 1
    Invalid data for type "numeric". I can, however, select all of the columns by name and the query completes (no error). Sometimes the 'select *' query returns a few rows before the error, sometimes it doesn't. The Microsoft Provider for Oracle does not have this problem

    Okay... I've got a Win2K3 Std Ed server (x64) running 64-bit SQL Server 2005 Enterprise Edition. I've installed the Oracle 10g 10.2.1 full client and admin tools, added two named services via the NetConfig assistant, and successfully set up (and tested) a connection via the ODBC Administrator to an Oracle database.
    Now... when I try to create a new connection manager in SQL Server 2005 Integration Services, the OLEDB provider for Oracle can't be found, and when I try to manually add an underlying OLEDB connection to the database, SQL Server reports:
    Test connection failed because of an error in initializing provider. The 'OraOLEDB.Oracle.1' provider is not registered on the local machine.
    Does anyone know what I need to do to see my ODBC Server data connections in SQL Server 2005 (64 bit)? I don't have this issue on my 32-bit SQL Server 2005 servers.

  • SQL Server 2014 issues

    Hello:
    I have bumped upon a design issue with SQL Server 2014.
    I want to report this to Microsoft, where it can be addressed and corrected in the upcoming Service packs.
    This is something critical.. (that's what at least....I feel).
    Please let me know the link/Forum where I can post this.
    Thanks

    Two possibilities. On Microsoft connect
    https://connect.microsoft.com/SQLServer/Feedback
    or in SQL Server forums.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • SQL Server deadlocks when distribution manager is updating content

    Hi
    I have a ConfigMgr 2012 environment which consists of a single Primary Site running on SQL Server 2008 R2 SP2 CU8. The environment has been upgraded to SP1 CU3 and I'm noticing that the following deadlock error is occasionally being logged in distmgr.log
    when a package or application is distributed or updated on all distribution points. After the deadlock ends the content successfully distributes.
    An extract of the error from distmgr.log is below
    user(NT AUTHORITY\SYSTEM) runing application(SMS_DISTRIBUTION_MANAGER) from machine (LABCM01.lab.local) is submitting SDK changes from site(LAB) SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:46 PM 11952 (0x2EB0)
    *** IF NOT EXISTS (select 1 from vSMS_SC_SysResUse_Properties where ID = 72057594037927944 and Name = N'AvailableContentLibDrivesList' ~) insert into vSMS_SC_SysResUse_Properties (ID, Name, Value1, Value2, Value3) values (72057594037927944, N'AvailableContentLibDrivesList', N'FFEDC', N'', 0)~ ELSE update vSMS_SC_SysResUse_Properties set ID = 72057594037927944, Name = N'AvailableContentLibDrivesList', Value1 = N'FFEDC', Value2 = N'', Value3 = 0 where ID = 72057594037927944 and Name = N'AvailableContentLibDrivesList' SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    *** [40001][1205][Microsoft][SQL Server Native Client 11.0][SQL Server]Transaction (Process ID 115) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. : spUpdateSiteControl SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    CSCItem_Base_Source::UpdateItem: Failed to save item (["Display=\\LABCM01.lab.local\"]MSWNET:["SMS_SITE=LAB"]\\LABCM01.lab.local\,SMS Distribution Point) properties SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    CSiteSettings::SubmitChanges: Failed to update item(["Display=\\LABCM01.lab.local\"]MSWNET:["SMS_SITE=LAB"]\\LABCM01.lab.local\,SMS Distribution Point) SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    CSiteSettings::SubmitDeltaSCFToDatabase:Failed to submit changes made from (LAB) SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    CSiteControlEx::SubmitDeltaSCFFromServerComponent:Failed to submit site control file changes made by componenet SMS_DISTRIBUTION_MANAGER SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    user(NT AUTHORITY\SYSTEM) runing application(SMS_DISTRIBUTION_MANAGER) from machine (LABCM01.lab.local) is submitting SDK changes from site(LAB) SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    Any ideas as to why the occasional deadlocks are occurring? 
    Cheers
    Sam

    Thanks guys, I've managed to capture a deadlock using SQL Profiler and the graph is below.
    Additionally the deadlock XML output is below
    <deadlock-list>
    <deadlock victim="process769288">
    <process-list>
    <process id="process769288" taskpriority="0" logused="1476" waitresource="KEY: 8:72057594111983616 (47c4361ec2ad)" waittime="484" ownerId="273355729" transactionname="user_transaction" lasttranstarted="2013-10-08T21:03:59.523" XDES="0x10b357270" lockMode="U" schedulerid="2" kpid="14220" status="suspended" spid="147" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2013-10-08T21:03:59.527" lastbatchcompleted="2013-10-08T21:03:59.527" clientapp="SMS_DISTRIBUTION_MANAGER" hostname="SHDEPLOY2012" hostpid="4004" loginname="NT AUTHORITY\SYSTEM" isolationlevel="read committed (2)" xactid="273355729" currentdb="8" lockTimeout="4294967295" clientoption1="671287392" clientoption2="128056">
    <executionStack>
    <frame procname="CM_LAB.dbo.spUpdateSiteControl" line="12" stmtstart="622" stmtend="1400" sqlhandle="0x0300080041e141055d1bc40049a200000100000000000000">
    MERGE INTO SiteControl AS T
    USING (
    SELECT @SiteCode AS SiteCode, GETUTCDATE() AS DateLastModified
    ) AS S(SiteCode, DateLastModified)
    ON S.SiteCode = T.SiteCode
    WHEN MATCHED THEN
    UPDATE SET T.DateLastModified = S.DateLastModified
    WHEN NOT MATCHED THEN
    INSERT (SiteCode, DateLastModified)
    VALUES(S.SiteCode, S.DateLastModified); </frame>
    <frame procname="CM_LAB.dbo.tr_SC_SysResUse_Property_ins_upd_del" line="22" stmtstart="1594" stmtend="1672" sqlhandle="0x03000800a1e81749c924c40049a200000000000000000000">
    EXEC spUpdateSiteControl @SiteCode </frame>
    <frame procname="CM_LAB.dbo.tr_vSMS_SysResUse_Properties_upd" line="12" stmtstart="728" stmtend="1374" sqlhandle="0x03000800c63fcf7aa431c40049a200000000000000000000">
    update rel
    set rel.Value1=ins.Value1,
    rel.Value2=ins.Value2,
    rel.Value3=ins.Value3
    from SC_SysResUse_Property as rel
    inner join inserted as ins on rel.Name=ins.Name and rel.SysResUseID=ins.ID
    where rel.Value1!=ins.Value1 or rel.Value2!=ins.Value2 or rel.Value3!=ins.Value3 </frame>
    <frame procname="adhoc" line="3" stmtstart="228" sqlhandle="0x02000000a88e68210a5e17dbd208c883c5925dc10fd661eb">
    UPDATE [vSMS_SC_SysResUse_Properties] set [ID] = @1,[Name] = @2,[Value1] = @3,[Value2] = @4,[Value3] = @5 WHERE [ID]=@6 AND [Name]=@7 </frame>
    <frame procname="adhoc" line="3" stmtstart="586" stmtend="1026" sqlhandle="0x0200000089cc65023756c15d75189d92931f875bffb8980b">
    update vSMS_SC_SysResUse_Properties set ID = 72057594037927953, Name = N&apos;AvailableContentLibDrivesList&apos;, Value1 = N&apos;DDC&apos;, Value2 = N&apos;&apos;, Value3 = 0 where ID = 72057594037927953 and Name = N&apos;AvailableContentLibDrivesList&apos; </frame>
    </executionStack>
    <inputbuf>
    IF NOT EXISTS (select 1 from vSMS_SC_SysResUse_Properties where ID = 72057594037927953 and Name = N&apos;AvailableContentLibDrivesList&apos;
    ) insert into vSMS_SC_SysResUse_Properties (ID, Name, Value1, Value2, Value3) values (72057594037927953, N&apos;AvailableContentLibDrivesList&apos;, N&apos;DDC&apos;, N&apos;&apos;, 0)
    ELSE update vSMS_SC_SysResUse_Properties set ID = 72057594037927953, Name = N&apos;AvailableContentLibDrivesList&apos;, Value1 = N&apos;DDC&apos;, Value2 = N&apos;&apos;, Value3 = 0 where ID = 72057594037927953 and Name = N&apos;AvailableContentLibDrivesList&apos;
    </inputbuf>
    </process>
    <process id="process8fa5a748" taskpriority="0" logused="3160" waitresource="KEY: 8:72057595436728320 (d51fef0ca10c)" waittime="206" ownerId="273355664" transactionname="user_transaction" lasttranstarted="2013-10-08T21:03:59.493" XDES="0x12b176e90" lockMode="U" schedulerid="4" kpid="3812" status="suspended" spid="102" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2013-10-08T21:03:59.800" lastbatchcompleted="2013-10-08T21:03:59.800" clientapp="SMS_DISTRIBUTION_MANAGER" hostname="SHDEPLOY2012" hostpid="4004" loginname="NT AUTHORITY\SYSTEM" isolationlevel="read committed (2)" xactid="273355664" currentdb="8" lockTimeout="4294967295" clientoption1="671156320" clientoption2="128056">
    <executionStack>
    <frame procname="adhoc" line="1" sqlhandle="0x02000000dd107007806e2488472b44e8e2cb235ae39d3ffb">
    delete [vSMS_SC_SysResUse_Properties] where ID=72057594037927955 and Name not in (N&apos;ADSiteName&apos;, N&apos;AllowInternetClients&apos;, N&apos;AvailableContentLibDrivesList&apos;, N&apos;AvailablePkgShareDrivesList&apos;, N&apos;BindPolicy&apos;, N&apos;BITS download&apos;, N&apos;CertificateContextData&apos;, N&apos;CertificateExpirationDate&apos;, N&apos;CertificateFile&apos;, N&apos;CertificatePFXData&apos;, N&apos;CertificateType&apos;, N&apos;DPDrive&apos;, N&apos;DPMonEnabled&apos;, N&apos;DPMonPriority&apos;, N&apos;DPMonSchedule&apos;, N&apos;DPShareDrive&apos;, N&apos;IdentityGUID&apos;, N&apos;IISConfigCheckTimeInterval&apos;, N&apos;InstallInternetServer&apos;, N&apos;IPSubnets&apos;, N&apos;IPv6Prefixes&apos;, N&apos;IsActive&apos;, N&apos;IsAnonymousEnabled&apos;, N&apos;IsMulticast&apos;, N&apos;IsPXE&apos;, N&apos;LastIISConfigCheckTime&apos;, N&apos;MinFreeSpace&apos;, N&apos;PreStagingAllowed&apos;, N&apos;PXEPassword&apos;, N&apos;RemoveWDS&apos;, N&apos;ResponseDelay&apos;, N&apos;Server Remote Name&apos;, N&apos;Server Remote Public Name&apos;, N&apos;SslState&apos;, N&apos;SupportUnknownMachines&apos;, N&apos;UdaSetting&apos;) </frame>
    </executionStack>
    <inputbuf>
    delete [vSMS_SC_SysResUse_Properties] where ID=72057594037927955 and Name not in (N&apos;ADSiteName&apos;, N&apos;AllowInternetClients&apos;, N&apos;AvailableContentLibDrivesList&apos;, N&apos;AvailablePkgShareDrivesList&apos;, N&apos;BindPolicy&apos;, N&apos;BITS download&apos;, N&apos;CertificateContextData&apos;, N&apos;CertificateExpirationDate&apos;, N&apos;CertificateFile&apos;, N&apos;CertificatePFXData&apos;, N&apos;CertificateType&apos;, N&apos;DPDrive&apos;, N&apos;DPMonEnabled&apos;, N&apos;DPMonPriority&apos;, N&apos;DPMonSchedule&apos;, N&apos;DPShareDrive&apos;, N&apos;IdentityGUID&apos;, N&apos;IISConfigCheckTimeInterval&apos;, N&apos;InstallInternetServer&apos;, N&apos;IPSubnets&apos;, N&apos;IPv6Prefixes&apos;, N&apos;IsActive&apos;, N&apos;IsAnonymousEnabled&apos;, N&apos;IsMulticast&apos;, N&apos;IsPXE&apos;, N&apos;LastIISConfigCheckTime&apos;, N&apos;MinFreeSpace&apos;, N&apos;PreStagingAllowed&apos;, N&apos;PXEPassword&apos;, N&apos;RemoveWDS&apos;, N&apos;ResponseDelay&apos;, N&apos;Server Remote Name&apos;, N&apos;Server Remote Public Name&apos;, N&apos;SslState&apos;, N&apos;SupportUnknownMachines&apos;, N&apos;UdaSetting&apos;) </inputbuf>
    </process>
    </process-list>
    <resource-list>
    <keylock hobtid="72057594111983616" dbid="8" objectname="CM_LAB.dbo.SiteControl" indexname="SiteControl_PK" id="lockf8de5880" mode="X" associatedObjectId="72057594111983616">
    <owner-list>
    <owner id="process8fa5a748" mode="X"/>
    </owner-list>
    <waiter-list>
    <waiter id="process769288" mode="U" requestType="wait"/>
    </waiter-list>
    </keylock>
    <keylock hobtid="72057595436728320" dbid="8" objectname="CM_LAB.dbo.SC_SysResUse_Property" indexname="SC_SysResUse_Property_AK" id="lock187f4f680" mode="U" associatedObjectId="72057595436728320">
    <owner-list>
    <owner id="process769288" mode="U"/>
    </owner-list>
    <waiter-list>
    <waiter id="process8fa5a748" mode="U" requestType="wait"/>
    </waiter-list>
    </keylock>
    </resource-list>
    </deadlock>
    </deadlock-list>
    Any ideas? Again this only occasionally happens when content is updated on the distribution points. 
    Thanks
    Sam

  • SQL server Timeout issue in data insertion

    We are loading data from DB2 database to SQL server using Data flow task. During data insertion in SQL server, we are receiving the below error.
    "An exception has occurred during data insertion, the message returned from the provider is: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding."
    Kindly help to resolve this issue.
    Thanks!!!

    Check the connection timeout property of the source connection.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/a5571966-b14e-45c6-9ce8-4f5651d3ee00/ado-net-destination-timeout-issue?forum=sqlintegrationservices
    Regards, RSingh

  • SQL Server 2008r2 issue for w8.1

    Hi,
    I am getting sql server 2008r2 compatibility issue for w8.1 whenever I try to installed it.Please check the attached screen shoot given bellow

    You must read
    Hardware and software requirements for SQl Server 2008 r2 before proceeding. You did not told edition of SQL server you are trying to install on windows 8.
    Enterprise edition is not supported on windows 8
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • SQL Server Connectivity Issue

    I am able to connect the server but not to the SSMS. getting the below error:
    The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes
    include the following: the client tried to connect to an unsupported version of SQL Server; the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider:
    TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) (Microsoft SQL Server, Error: 10054)"
    To fix it :
    I have done some changes in system registry..
    from the path... \System\CurrentControlSet\Control\Lsa\Kerberos\Parameters
    -- Added the following registry value:
    Name: MaxTokenSize
    Data type: REG_DWORD
    Radix: Decimal
    Value: 48000
    --Rebooted server
    and it resolves the issue for me..
    BUT it is happening weekly basis..
    and every time server restart resolves the issue.
    CAN ANYBODY HELP TO FIX THE ISSUE PERMANENTLY..
    Details :
    SQL Server 2005 -- SP4 -- Standard Edition (64-bit)
    MS Windows Server 2003 R2 -- SP2-- Standard x64 Edition
    RAM: 16 GB
    Thanks in advance...

    It says clearly ofcourse need to check so-
    the client tried to connect to an unsupported version of SQL Server;
    >>check what version of client tools you are using for ex- you can connect sql2005 from 2008 but reverse is not possible (ofcouse it will gives complete info) or you are using one which is not the right version tool,
    the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server.
    >>Check during that time what was the lad on the server like cpu,mem or other issues.
    check in the sql errorlog.
    (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) (Microsoft SQL Server, Error: 10054)"
    check ->Troubleshooting: Connection Forcibly Closed
    http://msdn.microsoft.com/en-us/library/ms187005(v=sql.105).aspx
    Thanks, Rama Udaya.K (http://rama38udaya.wordpress.com) ---------------------------------------- Please remember to mark the replies as answers if they help and UN-mark them if they provide no help,Vote if they gives you information.

Maybe you are looking for

  • Importing VHS and Hi8 etc... DVD too

    Hi, What I want to do is import film from my old Hi8 camera and VHS into iMovie and/or Final Cut Express. I am also interested in importing DVD. Can anyone help? Do I need some expensive gadget or can it be done cheaper? Cheers, Harry

  • Web dynpro java application to update data in CRM system

    Hello All, I need to develop a web dynpro java application which will read and update data in CRM. How can I do this? Thanks and Regards, Deepti

  • I found an iPad.  How do I get it back to the owner?

    I found an iPad along the side of the road.  It's cracked unfortunately, but still works.  It has a passcode, so all I have is teh serial number.  Apple Chat directed me to the Reporting a Lost or Stolen Apple Product, but that has no way to register

  • Can OutputStream be overridable?

    Can OutputStream be overridable? Is there a pointer on OutputStream, that can be set? What methods? Thanks.

  • K9 Neo & GeForce 9750 GX2

    Hi. I seem to be having a problem with my system. Everytime I restart my PC it will not power up correctly. I get nothing on my screen but Windows is loading. It seems like the GFX is not initializing. I tried updating my bios to v1.3 but this caused