Workflow Settings User Cannot Be Found

This week I have removed some orphaned users from SP 2010 that no longer existed in AD.
Now a workflow has stopped working, it's a basic one that just sends an email when a new item is added to a list.
I've opened the 2 workflows in SPD and can't find any reference to the old owner nor can I find the old user in the "email to" field so it's not like any user validation fails there. 
The error is below - surely I need to look elsewhere in the workflow for this deleted user?  I have tried ooking at workflows at the site collection level as well in SPd, to no avail.
Error:
Microsoft.SharePoint.SPException: User cannot be found.    at Microsoft.SharePoint.SPUserCollection.get_Item(String loginName)     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPFile
file, Int32 fileVer, Int32& userid, DateTime& lastModified)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.AddDeclSiteTemplates(SPWeb web, String visibility, SPWorkflowTemplateCollection wftemplates, SPListTemplateType templateType)    
at Microsoft.SharePoint.Workflow.SPWorkflowManager.<>c__DisplayClass4.<RegisterNoCodeTemplates>b__0()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()    
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated
secureCode)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RegisterNoCodeTemplates(SPWorkflowTemplateCollection wftemplates, SPWeb web)     at Microsoft.SharePoint.SPWeb.get_WorkflowTemplates()    
at Microsoft.SharePoint.Workflow.SPWorkflowAssociationCollection.UpdateAssociationsToLatestVersion()     at Microsoft.SharePoint.ApplicationPages.WrkSetngPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I assume when you say you removed some orphaned users what you mean is that you removed them from the Site Collection Users list.  When a user is deleted in AD their Profile is removed, but their entry in the user list is left in place for history.
 If you manually remove it then you'll get an error when you click on the user name in a Created By or Modified By field.  You'll also see these kinds of issues with things like workflows.  I assume the user you removed is the one who published
the workflow.  As such they are the owner and may be referenced for external actions like sending an email.  The only way I know of to fix it would be to edit the workflow as a valid user and re-publish it as a new version.  You may actually
have to delete the old one and publish it again as a completely new workflow.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.

Similar Messages

  • SSRS SharePoint Integrated error, User cannot be found

    We currently have setup an SSRS in SharePoint 2013 integrated mode. We got the error message below when we removed a user from the Groups and Members. I have found from searching the web that this is a bug that happens whenever the report creator has been
    removed or deleted from the SharePoint site
    System.Web.Services.Protocols.SoapException: Report Server has encountered a SharePoint error. ---> Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: Report Server has encountered a SharePoint error. ---> Microsoft.SharePoint.SPException:
    User cannot be found.
    Since we are already using SharePoint 2013, I would have thought that this bug has already been fixed. I think it is pretty common to have the report creators leave the company and as a security to remove their profiles from the SharePoint site. Microsoft,
    is there a solution to this?

    Hi Blusil,
    Just as you said, this issue always occurred when user(s) missing or removed from the site that either authored or modified the report(s). As per my understanding, the solution of the issue is adding the user accounts back to the site or change the user
    to another one in the site.
    If the user had left the company, we can refer to the second solution that override the owner field using PowerShell for that report:
    http://alexbrassington.com/2013/11/07/changing-modified-and-created-details-in-sharepoint/
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • There has been an error creating the personal site. User cannot be found

    Few of my Domain Users are able to create MySite and few of them are not, though they are having same permission.
    There has been an error creating the personal site. Contact your site administrator for more information.
    Event Viewer is showing :
    My Site creation failure for user 'DOMAIN\username' for site url 'http://10.31.2.9:46744/personal/username'. The exception was: Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create
    the site. ---> Microsoft.SharePoint.SPException: User cannot be found.
    Below are the DLL versions of my installation. 
    Microsoft.SharePoint.Portal.dll : 12.0.6420.1000
    Microsoft.SharePoint.Portal.dll : 12.0.6422.1000
    Please suggest.
    Thanks in Advance

    Please note for future reference that you should only ever post any one question ONCE.
    Posting it twice means that there are parallel threads and  peoples time is wasted.
    Here one copy was posted as a new thread and the other copy was posted as a reply in another thread *which had already been closed by the Original Poster years earlier*.
    You should not in any case add new questions to existing threads and especially not to old, closed, threads.
    I have therefore deleted that other copy of this post. This is now the only place that people will see your question and the answers to it (which is how it should be).
    Moderator pre-2010 forums
    SP 2010 "FAQ" (mainly useful links):
    http://wssv4faq.mindsharp.com/default.aspx
    WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
    Both also have links to extensive book lists and to (free) on-line chapters

  • AddPermission - User cannot be found.0x80131600

    Hi!
    I need help. I have SharePoint Enterprise 2013 in the company and I'm using the Web Services to create Sites and add permissions. But, When I goint to assign full control access a user domain, the system show to exception "User cannot be found.0x80131600".
    This is my code:
    Dim oSPPermi As New SPProyectos_Permissions.Permissions
    Dim credentials As New Net.NetworkCredential
    credentials.UserName = "<Usuario1>"
    credentials.Password = "<Contraseña>"
    credentials.Domain = "<Dominio>"
    oSPPermi.UseDefaultCredentials = False
    oSPPermi.PreAuthenticate = True
    oSPPermi.Credentials = credentials
    oSPPermi.UnsafeAuthenticatedConnectionSharing = True
    oSPPermi.Url = "http://SharePointRoot/<Sitio>/_vti_bin/Permissions.asmx"
    oSPPermi.AddPermission("<Sitio>", "Web", "<Dominio>\<Usuario2>", "user", -1)
    Any idea??.
    Thank you!!

    This is common when a user has left a company and is still listed as an owner of the document.  When the document is moved to the new environment, it has no record of the old user.
    Did you migrate using a migration tool or database attach?  Migration tools usually have an option to handle orphaned users allowing you to map them back to the system account.
    Corey Roth - SharePoint Server MVP blog:
    www.dotnetmafia.com twitter: @coreyroth |
    SP2 Apps

  • "User cannot be found '' error after migration of site from sp2010 to sp2013

    Hi,
    There is a Blogs site, which has been migrated from Sp2010 to Sp2013, and gives ''User cannot be found'' error above the top ribbon:
    Microsoft.SharePoint.SPException: User cannot be found
    Please advise
    sk.Rakhishma

    This is common when a user has left a company and is still listed as an owner of the document.  When the document is moved to the new environment, it has no record of the old user.
    Did you migrate using a migration tool or database attach?  Migration tools usually have an option to handle orphaned users allowing you to map them back to the system account.
    Corey Roth - SharePoint Server MVP blog:
    www.dotnetmafia.com twitter: @coreyroth |
    SP2 Apps

  • Some Users cannot Open Workflow Approval Task

    We have a SPD workflow published to our production site and it includes a 'Start Approval Process' task which involves a number of users (determined by a lookup to another list) this worked brilliantly until we republished the workflow with some minor changes,
    none of which were to this particular approval task. Now we are seeing some strange behaviours. When some users click the task to approve they are seeing 'This from cannot be opened in a browser, To open this form use Microsoft Infopath'. Now strangely it's
    only certain users, if you're a site collection admin you never have this error. So if a user previously had the error and i then add them to the site collection administrators list the error goes away and they can complete the task.
    Obviously not a solution! giving users full control permissions on the task list or task item doesnt fix the error either. The same workflow on our UAT works without any issues. The task forms in SPD have not been customised either. Its a SP2010 Standard
    farm with no infopath services obviously. Bizarrely there are some users with only Contribute rights to the task list who can open approve tasks, so it's looking like a permissions issue to me but I'm at a loss to find a fix. I've tried totally removing
    the worklows and republishing, regenerating the .xsn task forms in SPD by deleting them and republishing, removing and re-adding the task related content types to site, Changing the Approval Task settings 'only allow users to edit their tasks...' to false
    and then back to true, the works, but to no avail.
    Anybody any ideas?
    TIA
    Chris

    Hi,
    According to your post, my understanding is that Some Users cannot Open Workflow Approval Task.
    I recommend that you can create a new list and workflow to check whether it works.
    Then use the user who get the error to open task.
    If he can open the task in the brower, the issue is related to the older list.
    Then you can use the new created list and assgin the task.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/en-US/67dc8577-f248-4d6c-bb82-3aca0f084d24/this-form-cannot-be-opened-in-a-web-browser-error-not-an-infopath-form?forum=sharepointcustomizationprevious
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • TS5376 Help!  I can't fix or uninstall/reinstall iTunes without getting this error message: "The path \C\Users\(my name)\AppData\Local\Apple\Apple Software Update\iTunes64msi.' cannot be found."  So I can't remove iTunes.

    Here's the complete message:
    "The path \C\Users\(my name)\AppData\Local\Apple\Apple Software Update\iTunes64msi.' cannot be found. Verify that you have access to this location and try again, or try to find the installation package 'iTunes64.msi' in a folder in which you can uninstall the product from iTunes."
    So I'm stuck in this loop in which I can't download an update, can't remove iTunes to reinstall, and can't use iTunes currently as it shuts down at the drop of a hat.  Am I hopeless or is there a fix I can find?

    See Troubleshooting issues with iTunes for Windows updates. Use the same advice as in note 1 but for iTunes. Try the MS fixit, or leave it in place and go to the next step.
    tt2

  • What permissions does a user need to be able to access a document library's workflow settings menu?

    A group has created some out of the box SP 2010 workflows in a standard document library.
    Some users have the "Workflow Settings" icon available to click on, but other staff only see a grayed out icon.
    I have been trying to determine what change is needed to a user's access to the library so that they can add or access workflows.
    Thank you

    I believe it is the "Manage Lists" permission that they need. Owners and Designers permission levels have this by default.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • The folder itunes cannot be found or created - mac os x user

    I am a die-hard OS X user and have been without my iTunes for over a month now. I continue to get "the folder itunes cannot be found or created." I've read the posts here and see that PC users have a utility that will work for them, but us OS X users are sort of left out in the cold.
    Please help. I've deleted my iTunes folder and there is currently nothing in there. When I launch iTunes, I get the same message. When I create the folder it's looking for and try to launch iTunes it still give mes the same message. i'm stumped. Please help.

    it might be best to repost over at the iTunes for Mac forums, C.
    our techniques for dealing with that message involve adjusting special properties on folders in the registry ... and i don't know how that ends up translating into the Mac OS and UI.

  • "The home folder could not be created because the network name cannot be found" error in AD users and computers

    Our home folders are stored on a non-windows NAS device and with Windows XP and 2003 we've always got the above error when creating or modifying users home folders, even when the shares were al ready created and being used.
    However this was never really a big issue as the error that popped up was really for information and finshed with a "we've modified the user properties anyway, please create the share manually" type message.
    Unfortunately now we are moving to windows 7 and 2008R2, this last part of the the message is missing and it won't accept the correct value. 
    This issue may be in the way that the NAS device shares the folder, as only the username that matches the folder name can access the share.  This behaviour can't be modified.
    Is there a way to get Windows 7/2008R2 AD users and computers to behave the same way that Windows XP/2003 does , i.e. don't try and create the share just set the value in the user properties  ?
    The AD is still at 2003 level and we can still use Windows XP/2003 clients to make the changes but this is a bit of a limitation.

    The KB article is almost what we have apart from theitalic underlined
    part
    Consider the following scenario:
    You use a domain administrator account to log on to a computer that is running Windows 7 or Windows Server 2008 R2.
    You use the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in to connect to a domain controller.
    You open the Properties dialog box of a user account.
    The user account has sole access to a shared folder path that cannot be accessed by the administrator account.
    You set the Remote Desktop Services Home Folderattribute to the shared folder path.
    NoteThis attribute is located on the
    Remote Desktop Services Profiletab.
    You click Apply or OK.
    In this scenario, you receive the following error message:
    The home folder could not be created because: The network name cannot be found.
    Note If you click Apply or OK again, no error message is returned. However, the setting is not saved.
    I think the important bit is
    The user account has sole access to a shared folder path that cannot be accessed by the administrator account.
    We manually create the shares on our NAS and then just want to enter the path in the profile tab, I suppose the question is how to we stop it trying to create the shares ?

  • When creating a custom default user profile for an image, I get the error "A keychain cannot be found to store "safari" when a new user logs in for the first time.

    My "profile" account works flawlessly with the exception of safari. I had copied the entire user template folder to the default location in OS X 10.10 and removed the entire keychain folder. However, whenever someone logs into the computer for the first time and opens Safari, they are greeted with the error message "A keychain cannot be found to store safari".

    If you've just changed your login password in Recovery mode, follow these instructions. Otherwise, see below.
    At some point, you may have reset your keychain to default in Keychain Access. That action would have caused your login keychain to be renamed.
    Back up all data before proceeding.
    In Keychain Access, delete the login keychain from the keychain list. Choose Delete References when prompted, not Delete References & Files.
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
    ~/Library/Keychains
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V), and press return. A folder will open. Rename the file "login.keychain" in that folder to something like "login-old.keychain". Rename the file "login_renamed_1.keychain" to "login.keychain". You can then close the folder.
    Back in Keychain Access, select 
              File ▹ Add Keychain...
    from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file you named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred.

  • 10.4.6 and Active Directory Problem - Volume cannot be found??

    I have bound six 10.4.6 to active directory. All went sweet with no problems. I have "force local home folder" off in Directory Access for AD. I can login to the Mac no problem using any user account from AD. If I login with a user the first time all goes well. The desktop icons show and the home directory is that of the users network home folder and can browse it. All good until I log out and login again. I get the desktop icons but the users home directory give the error "The Volume for %username% Cannot be found" when trying to access. I can browse the network to the user home folder without having to authenticate. The server (2003) shows no login errors, all looks fine. I have upgraded one Mac to 10.4.7 but made no differnce.
    I have installed "services for Mac and Appletalk" on the server but from what I have been told this shouldn't need to be installed but I did as I was getting no where anyway.
    Any ideas?
    PowerPC   Mac OS X (10.4.6)  

    Hi Chris!
    Before I comment, I want to define a couple of things. A "Mac home folder" stores a user's files (Documents, Library, etc.). This home folder can be stored locally on the workstation or it can be stored on a server. A "Windows home folder" is defined in a user's Active Directory account and can be used as the Mac home folder or simply as a network user folder for storage.
    While the idea of a network-based Mac home folder is nice, it can be clunky simply because the entire user experience is dependent on network speed and/or good file synchronization between your server and workstation. As someone who works in a group supporting about 300 Macs, I suggest enabling local home folders and not using a network-based Mac home folder.
    Next, File Services for Macintosh (AFP protocol) built into Windows Server will not support network-based Mac home folders. This is a dead end. You can install a third party product from Group Logic called ExtremeZ-IP, which does support network-based home folders over AFP.
    Therefore, what's happening in your network is that the network-based Mac home folders are being mounted via the SMB protocol, which uses Windows style file sharing. SMB in Mac OS X is good for limited use but I wouldn't recommend it for extensive use, which would include network-based Mac home folders.
    Here's what I suggest for your AD settings: 1.) Enable local home folders. 2.) Connect via SMB. This will keep your users' Mac home folders local to the machine but if their Windows network home folder is properly defined in their AD account settings then these should automatically mount on the Desktop via SMB at login.
    If you can get your Windows home folders to mount automtically on the users' Desktops then you can experiment with synchronization. After logging in, each user can visit Apple menu --> System Preferences... --> Accounts and the synchronization options will be available. A user can synchronize all or part of his local Mac home folder to his mounted Windows home folder.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.7)  

  • ITunes won't open -error: The folder "iTunes" cannot be found or created...

    Hello,
    I am not able to open my iTunes. I was able to use it yesterday. I keep getting the message:
    *The folder "iTunes" cannot be found or created, and is required. The default location for this folder is inside the "My Music" folder.*
    I have created a folder called "iTunes" in my "My Music" folder, which does not fix the problem.
    I have uninstalled and installed iTunes twice.
    I have used the repair option when trying to install iTunes over the top of my current iTunes.
    None of these options has fixed the problem.
    If anyone knows how to fix this, I would really appreciate it.
    Thanks!
    Rachel

    I found the answer on another board... Below are the parts I found useful (quoted).
    Click on Start
    Clin on Run
    Type in "regedit" Enter
    Do this step twice as there are two locations. +(I actually had 4 locations.)+
    CTRL F
    Type in "My Music"
    Double Click and enter the path for where the folder is located.
    Then exit.
    The exact locations of the 2 entries that I changed are
    hkeycurrentuser - software - microsoft - windows - current version - explorer - shell folders
    and
    as above - windows - current version - explorer - USER shell folders
    I located the location of my iTunes folder (something like this - C:\Documents and Settings\"yourname"\My Documents\My Music\iTunes.
    I copied it, and when I found the regedit location referred to, doubleclicked the location and pasted the path in there.
    http://forums.ipodlounge.com/showthread.php?s=&threadid=12125
    +- Look for post by nrendle and then browse through posts from that point on...+

  • Itunes error message - the itunes library.itl file cannot be found or created

    My itunes was working yesterday but today when i open it i get an error message saying "the itunes library.itl file cannot be found or created. the default location for this file in in the itunes folder in the music folder."
    I have tried to reinstall itunes but still getting the same error when clicking on itunes
    Please can you help?

    Hold down the Shift key while trying to launch iTunes. You should see a dialog box asking you to Choose or Create a library. Click "Choose library"
    Browse to the default location of your iTunes Library.itl file:
    Windows XP: \Documents and Settings\username\My Documents\My Music\iTunes\
    Windows Vista: \Users\username\Music\iTunes\
    Windows 7: \Users\username\My Music\iTunes\
    ... and doubleclick the file.
    Does your iTunes open for you now?

  • Itunes won't open: "the folder cannot be found or created ans is required"

    HELP! When I try to open my itunes a message occurs that states: The folder "itunes"cannot be found or created, and is required. The default location for this folder is inside the "my music" folder.
    When I click on the my documents/my music folder it is empty.
    itunes will launch on other users on the same computer - just not mine.
    Any ideas?

    Hi,
    You don't specify which Windows version you are using or which iTunes version either. Both would be helpful in diagnosing your issue. Also do you have separate partitions (Drives) for your Data and system?
    Have you made any changes to the location of your My Documents Folder recently? Also I'm surprised that the My Music folder is totally empty, it should at least contain a shortcut to the 'Sample Music' folder! Have you indavertantly deleted the contents of the My Music folder, or may be 'dragged' the contents with the mouse to another location?
    Making a few assumptions, ie. you are using Windows XP, have just one Drive (C:\)on your system and that you haven't changed any of the default settings in either Windows or iTunes:
    Firstly do a search in your 'UserProfile' for the following file;
    iTunes Music Library.xml
    Do the search from the 'C:\Documents and Settings\UserName\' folder and specify under the 'More Advanced Options' that it 'Search hidden files and folders' & 'Search subfolders'. The 'UserName' is the name used to log into your User Account in Windows XP.
    By doing this search from your UserName folder it restricts the search to your own profile as the file mentioned will be present in all the other account profiles on the system, that use iTunes.
    This file contain all the settings information for iTunes which includes the setting for where the iTunes folder is located. For instance on my system the settings for the iTunes folder location look like this;
    +*Music Folder*+
    +*file://localhost/E:/Users/Public/Public%20Music/iTunes%20Music/My%20Albums*+
    If you find this file in your UserName folders somewhere note their location, it should 'normally be stored in the default iTunes folder. If you have inadvertently moved the contents of the +*My Music*+ folder, this should help you to find where they have been moved to and then you can move them back again to the correct location.
    HTH.
    Jonathan.

Maybe you are looking for

  • How to pass variables to Skin applied with skinClass?

    Hi all, I'm experimenting with new skin for a SkinnableContainer, and I would like to pass variables to that skin to dynamically change some elements. This is how I would like it to work, but it doesn't. Is there a way to make it work? (Or something

  • Blackberry Desktop Manager Language

    Why is it that when I download Blackberry Desktop Manager from the Offical Blackberry Website it comes in Arabic and doesnt give you the option to change the Language. Funilly enough I don't read Arabic so I cant exactly search for Setting/Language.

  • Reversed documents are not cleared

    Hello there I am dealing with support to customer who has following issue (among others..): - the settings are made so that standard SAP reversing procedure is messed up! Namely, when the user reverse FI document the SAP creates new one (reversal doc

  • Please add LED turn OFF option for DL2100

    If there is an option for LED turn off on EX2, why can't it be on DL2100, since it's basically the same OS ?Please add this option on this device, thank you !

  • Plant and fi

    hi, we understand that plant is not needed in fi. may i know what is the reason? thanks rgds