Will SQL Deadlocks cause a whole workflow to delete

Here is the deadlock:
Unknown SQL Exception 1205 occurred. Additional error information from SQL Server is included below.  Transaction (Process ID 396) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
At the same time user was trying to start a workflow and it locks up on them. They log out of sharepoint go back in and attempt to restart the workflow.
Its gone. This is the only clue found so far to its disappearance.
My thinking is that a deadlock SQL process cannot remove a process that is coded in sharepoint, and it is more likely that something/someone else is deleting this workflow at the same time this user is attempting to run it.
What do you think?
Paul

Will these SQL statements drop entire workflows out of sharepoint:
WSS_SiteContent_CORPTAXWorkSpace_CSC_ASP9.dbo.proc_DropWorkflow
65
DELETE   FROM
dbo.ScheduledWorkItems
            WHERE
Type = CAST   (N'BDEADF09-C265-11d0-BCED-00A0C90AB50F' as uniqueidentifier) AND
ParentId = @ListId   AND
SiteId = @SiteId   AND
BatchId =   @WorkflowInstanceId     
WSS_SiteContent_CORPTAXWorkSpace_CSC_ASP9.dbo.proc_AutoDropWorkflows
44
EXEC   proc_DropWorkflow
@WorkflowInstanceId,  
@SiteId,
@WebId,
@ListId,
@RequestGuid   OUTPUT     
WSS_SiteContent_CORPTAXWorkSpace_CSC_ASP9.dbo.proc_DropWorkflowAssociation
42
EXEC @AllDeleted =   proc_AutoDropWorkflows
@SiteId,
NULL,
@ListId,
NULL,
@Id,
NULL,
1 ,
200,
@RequestGuid   OUTPUT     
Paul

Similar Messages

  • Will upgrading itunes cause my music to be deleted?

    if i upgrade itunes 7.1 to the 8.0, will my music on the version of 7.1 be erased?

    No, although you should always have a backup of anything you can't afford to lose.

  • SQL Deadlock after deleting person object in FIM portal

    Hello everybody,
    I have an issue on FIM portal after deleting person object.
    On FIM Portal, I have an error message: access denied.
    I'm on 4.1.3496.0 version.
    On event viewer, I see following deadlock:
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 1205, Level 13, State 51, Procedure CalculateRequestSetTranstionsMembershipConditionEvaluation, Line 2298, Message:
    Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader()
    at Microsoft.ResourceManagement.Data.DataAccess.DoRequestCreation(RequestType request, Guid cause, Guid requestMarker, Boolean doEvaluation, Int16 serviceId, Int16 servicePartitionId)
    --- End of inner exception stack trace ---
    Did you ever see that ?
    Thank you.
    Antho

    There are several possibilities:
    1) Could be caused by
    multiple workflows trying to act on the object
    2) Could be a flaw in the product like happened with an older version
    (4.0.3594.2) the
    kb article says: Fixes
    an issue with SQL Server deadlocks that might occur during periods of high concurrency of requests or approvals.
    So I suggest looking at the request history -- look at the delete request and see which MPRs were applied and what workflows were spawned.
    Does this happen a lot or just once in a while?
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • Will SQL Server work after changing the Machine's SID

    I have a base VM which has SQL server and a SharePoint Farm, After changing the SID of the Machine Will SQL Server and SharePoint Work ?

    Hello,
    Changing SIDs may cause some Windows functions to fail as mentioned on the following post:
    http://blogs.technet.com/b/markrussinovich/archive/2009/11/03/3291024.aspx
    Tools like SysPrep that change SIDs are not supported on all SQL Server features:
    http://blogs.msdn.com/b/kenkilty/archive/2013/02/22/sql-server-2012-sp1-cu2-sysprep-gotcha.aspx
    http://blogs.msdn.com/b/petersad/archive/2009/12/17/sql-server-2008-r2-sysprep-step-by-step.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Will Log Backup cause issue?

    Hi Experts,
    we have been getting complaints from application users about slowness on and off. tried all the ways, no clues. finally, one business user is helping me with the exact timings of slowness in the application. the trend is exactly at the time of log backup
    happening time. log backups are completing in less 30 sec. even the slowness is only at that time.
    Now I didn't understand, will log backups cause slowness to the databases access? I believe, full backups will cause a bit.
    please help.
    thanks in advance
    Vinod Mallolu
    Cheers, Vinod Mallolu

    Hi Vinod, 
    It really depends on I/O subsystem and your server configuration. For example:
    Poorly performing I/O subsystem can cause poor during log backups. 
    Poor performance can occur if your database log drive is same as your backup drive. If you are using SAN then make sure that both drives are not commissioned from same LUN. 
    Transaction Log activity and the size of your log files. If your database is highly transactional database than you should experience some slowness if you are performing Log backups. If you are using SQL Server 2012 or about with Enterprise edition and
    have standby server than use Availability Groups to offload your transaction log backups. 
    Increasing the frequency of log backup also helps. 
    I hope this information is useful for you to rectify the issue. 
    Regards,
    Basit A. Farooq (MSC Computing, MCITP SQL Server 2005 & 2008, MCDBA SQL Server 2000)
    http://basitaalishan.com
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • My itunes will not open cause it says itunes requires quicktime 7.5.5 or later but i have quicktime 7.2

    My itunes will not open cause it says itunes requires quicktume 7.5.5 or later but i have quicktime 7.2 installed already on my mac

    Hi, try this...
    http://www.apple.com/itunes/download/

  • Finding the Text of SQL Query causing Full Table Scans

    Hi,
    does anyone have a sql script, that shows the complete sql text of queries that have caused a full table scan?
    Please also let me know as to how soon this script needs to be run, in the sense does it work only while the query is running or would it work once it completes (if so is there a valid duration, such as until next restart, etc.)
    Your help is appreciated.
    Thx,
    Mayuran

    Finding the Text of SQL Query Causing Full Table Scan

  • Will SQL Developer support data type anydata

    Will SQL Developer support datatype sys.anydata in future releases?
    Currently SQL Developer will not show any data for columns of type anydata.
    Example:
    create table t1 (id number, col1 sys.anydata);
    insert into t1 values(1,sys.anydata.convertvarchar2('TEST'));
    IF I export data from this table something like
    Insert into T1 (ID,COL1) values (1,'SYS.ANYDATA'); will be generated.
    The grid will display 'sys.anydata' for this column
    Versions:
    WINXP SP3
    SQL Developer Version 2.1.1.64
    Build MAIN-64.39
    Ernst

    I added a feature request:
    https://htmldb.oracle.com/pls/otn/f?p=42626:39:528125578772603::NO::P39_ID:25161
    Regards,
    Ernst
    Edited by: Ernst Leber on May 31, 2010 12:36 PM

  • Changes will cause the data to be deleted message is misleading

    We find that the message 'Changes will cause the data to be deleted' is misleading and causes a great deal of concern to our users when it appears say when they are just trying to find information and are browsing from one transaction to another. Is there anyway we can get this message amended for certain scenarios at least?

    Sam,
    someone asked this few days ago.
    [look here|Is It Possible to block system message;
    i suggested to catch the statusbar and Petr suggested to catch the Event and click it away with sending "enter"
    thats it - i hope it helps
    regards
    David
    PS: Welcome to the Forum

  • Sign in to itunes store will not disappear and the whole IPad will not let me go into other screens till this pop up goes away.  I have entered the password several times and still will not disappear.  Turned the IPad on and off but the pop up remain

    sign in to itunes store will not disappear and the whole IPad will not let me go into other screens till this pop up goes away.  I have entered the password several times and still will not disappear.  Turned the IPad on and off but the pop up remain

    FIrst try a soft reset by holding down the home & sleep/wake buttons until the Apple logo appears then let go & let the iPad boot up normally. 
    If that doesn't help then to make sure you have a strong internet connection.
    Try resetting Network Settings
    Settings->General->Reset->Reset Network Settings,
    You won't lose any data but will have to log back into your wifi networks.
    Once logged back in and when the pop-up appears, try entering your password again.

  • Will SQL Developer always be free? Evidently Data Modeling extension won't.

    After learning the Data Modeling extension to SQL Developer was actually a for-pay product (only the Early Adopter release is free, evidently), I now wonder:
    Will SQL Developer always be free, or is there a chance it will be converted into a for-pay product? I don't want to invest any more time learning the tool if there will be future license fees to pay.
    I was sad to learn Data Modeling won't be free. Not knowing how much it might cost, I don't want to invest any time at all playing with it.
    Thanks.
    Dana

    Thanks K. Hope to learn more about the Data Modeling extension pricing--not that I'll be able to afford it. Too bad--I see Oracle going in a great direction with SQL Developer being free. It's a shame Data Modeling won't be. Right now, I am stuck using Enterprise Architect--and that's very limited for database design. Evidently it can be modified to do a lot more, but I don't have the skills or time to turn it into something it should do out of the box.
    What other free data modeling tools are out there? I liked Druid III, but that doesn't seem to be under active development. There's an Open Source tool called Power Architect, but it was rather buggy the last time I evaluted it:
    http://www.sqlpower.ca/page/architect
    Maybe it has improved since then (about a year ago).

  • I have a 6 minute movie, I have it set to loop will it fill up the whole dvd when I burn it?

    I have a 6 minute movie, I have it set to loop will it fill up the whole dvd when I burn it?

    Yes, but why does this matter?

  • I put my iPod charging, but it wont charge. The Apple logo appears on the screen for five seconds and then it goes off again. Afterwards, it does it again and again and again. I can leave it 1 hour or day charging and it will be doing this the whole time.

    I put my iPod charging, but it wont charge. The Apple logo appears on the screen for five seconds and then it goes off again. Afterwards, it does it again and again and again. I can leave it 1 hour or day charging and it will be doing this the whole time. What should i do????????????????????????????????????????????????????????????????????????????? /

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              
    and
    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar                          

  • Restored a whole lot of deleted pictures i deleted accidently.

    Restored a whole lot of deleted pictures i deleted accidently, now the files are corrupt, but i can see them, "blurry" in the camera roll. Anyone with any clues on how to fix this?
    I put the pictures i deleted over to a new album, which was 4 days of fun, and after i transferred them over, i chose to delete the pictures in the camera roll, which was not good. The Iphone deleted both the ones in the camera roll, and the other album. When i figured the other photos were gone too, i tried to react quickly and do a "hard" reboot on my iphone, so that my phone wouldnt "register" the delete..
    The thing is that this is quite complicated, and i think i messed up real hard. Right after the reboot the pictures were there, almost, they were just files. It was 150 pictures with just the "jpeg-file" name on them..My vids shows me a message that sais something about missing URL?
    And ofcourse i have done a restore in Itunes. The restore was on the other hand from the files that was allready corrupted.
    Its complicated, i know...Allthough, if anyone can give me a hand here, its greatly appreciated!

    Well, after reading through your post a couple of times because I wasn't quite sure what you did, I feel I might understand right now.
    You had a number of pictures in the camera roll and you moved them to a new album. You then deleted photos from the Camera roll and now you want to try and recover them? Is that what you are asking?
    If so, there isn't anything you can do. Adding pictures from the Camera roll to an album does not actually MOVE the pictures, it just allows you to cataloge them. If you add pictures to a new album you create on the iPhone and then try to delete them from the iPhone, you get a warning that the pictures are in another album and deleting them from camera roll will cause them to be deleted everywhere. I just tried this to make sure. Actually, the warning box doesn't just say delete, it says delete everywhere. Deleting pictures from the camera roll before importing them to the computer will result in the photos being lost. Your attempt to reboot the phone is what corrupted the files. Unless you did a backup of the phone with the camera roll intact and have not backed it up since then, you would be able to restore to that backup. Problem is, it reads as if you have already done a backup/sync, which would result in the last backup being overwritten by the latest one. In my opinion, unless something I wrote earlier has happened, then you have lost the photos.

  • I have an Iphone 4, I have music files that appear on my phone that I want to delete, when I link it to my computer the songs on the phone will not appear in Itunes so I can delete them, Is there any way to delete these song off the phone without going th

    I have an Iphone 4, I have music files that appear on my phone that I want to delete, when I link it to my computer the songs on the phone will not appear in Itunes so I can delete them, Is there any way to delete these song off the phone without going through Itunes?

    Nope, it either needs to be plugged in or turned on with the power button.
    A replacement iPhone 4 is $149, but at least the whole phone is replaced.

Maybe you are looking for

  • I can't start a open directory, it gives an error saying: check network config

    Hi, to begin with, i'm dutch so sorry for my bad writing. Setup: Mac mini OSX server mountion lion 10.8.5 local users cisco rvs4000 I'm having an issue since i changed my networks WANIP because we got a new and better internet line. Also the new invi

  • Windows 7 dvi external monitor

    Hey, I have a Lenovo T500 (ATI Mobility HD 3650 graphics) which I recently updated to Windows 7.  I have been using it on an external monitor connected through a dvi cable.  However, today I updated my drivers and bios, and now the laptop no longer e

  • How to get Imac resolution for windows more than 1600x1200

    I try to install windows 7. followed boot camp assitant instruction. using usb drive and windows 7 iso. everything seem ok. Installed boot camp in windows ok, But can't get resolution as Imac 2012 native resolution, and can't get adjust volume and br

  • Insert-Update on same page

    A user filters a specific record based upon the record's name and modification level and all the info based upon this filter is then displayed on an edit page. The user can then change any field except for the record name. Any changes are saved as an

  • SLOW ibook, HD working all the time, need diagnosis !

    Hello ! I need comments and thoughts. I experience problems that might relate to this thread : (ie hard drive failure, than replacement) http://discussions.apple.com/thread.jspa?threadID=1045960&tstart=75 Symptoms begun lightly, thant increased so i