.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Sharepoint - Workflows deleted by System Account

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#
 
Hello all:

We are running into a problem where our workflows as well as the file's version history are being deleted by the "System Account".  And what's more peculiar is that this issue only seems to be happening with .pdf files.  I have checked the "Workflow auto cleanup" timer service in Central Administrator and it is set to disable.  However, even if they were enabled, these workflows are fairly new and should not have been deleted.

I created an approval workflow based on the predesigned approval workflow template.  I had set the approval to allow it to be manually started by an authenticated user & to start the workflow when publishing a major version of the document.  The assigned tasks are serial (one participant at a time) and I assigned 2 approvers, both of whom have owner rights to the site.

I first noticed the problem when the workflow is started and gets approved by the first user.  The second approver wants a change to the .pdf file so he sends it back to the first approver.  The first approver checks out the document, makes a change, then checks it back in.  Then we notice that the workflow has disappeared and the version history is gone.  When the user checks the document in, it reverts back to a version .1 and the workflow has to be generated again.  When looking at the workflow history, it says that the task


View Complete Post


More Related Resource Links

Sharepoint site collections accessible only by system account

  
I I have setup a VM to start palying with SP development, everything running under administrator (sql, sharepoint services....). After succefully creating the root on port 80 and a couple of site collections, whenever I shoot IE http://mymoss or any othe site collection, I go right away to the web site without the usual authentification dialog box. On the right jand side, I see I am logged in as "System account". When I try to "sign in as a different user", enter domain\administrator, who is owner, the dialog box just keeps coming back and I can not log. . Thanks in advance

How to change the System Account into Domain Administrator account in Sharepoint?

  
I'm attaching the captured image from the Central Admin of our Sharepoint Server. (http://www.experts-exchange.com/images/346242/Central-Admin.jpg) As you can see from the Central Admin image, the user account shown is "System Account", in whereas I logged in as our Domain Administrator. Then when you check it's info from My Settings, the details from the captured image System Account Info was shown. ( http://www.experts-exchange.com/images/346243/System-Account-Info.jpg) How can I change it as be DOMAIN\Administrator & not SHAREPOINT\system or System Account? Please advise...  

Sharepoint Designer worflow dont start due to infopath "system account" submission

  

After lot of search i was able to submit the browser enabled infopath form to sharepoint library as anonymous user using following link

http://blog.metrostarsystems.com/2009/06/04/anonymously-submit-infopath-form-to-sharepoint-library/

but the form submit as system account, which makes the sharepoint designer workflow not working on the forms library.

so can any body help me in resolving the code to impersonate user in the infopath submit button.

public void CTRL19_5_Clicked(object sender, ClickedEventArgs e)   
        {
            string siteStr = "http://sharepointwebapplication/";
            SPSite tempSite = new SPSite(siteStr);
            SPUserToken systoken = tempSite.SystemAccount.UserToken;
            using (SPSite site = new SPSite(siteStr, systoken))
       

Sharepoint Designer worflow wontstart due to infopath "system account" submission

  

After lot of search i was able to submit the browser enabled infopath form to sharepoint library as anonymous user using following link

http://blog.metrostarsystems.com/2009/06/04/anonymously-submit-infopath-form-to-sharepoint-library/

but the form submit as system account, which makes the sharepoint designer workflow not working on the forms library.

so can any body help me in resolving the code to impersonate user in the infopath submit button.

public void CTRL19_5_Clicked(object sender, ClickedEventArgs e)   
        {
            string siteStr = "http://sharepointwebapplication/";
            SPSite tempSite = new SPSite(siteStr);
            SPUserToken systoken = tempSite.SystemAccount.UserToken;
            using (SPSite site = new SPSite(siteStr, systoken))
            {
      &

sharepoint 2007 showing System Account instead of Username / full name

  
When i login with my username & password into sharepoint (2007) site, it displays as a "System Account" instead of my username or my full name on the top right corner of the website. What ever changes i make inside the site, for example upload a file, post a comment, sharepoint marks it as a System account instead of my name.

Can someone help me figure it out why ?

Thanks.

HttpWebRequest using SharePoint System account credentials

  

I am working on some SharePoint 2010 server-side code, which uses the Client Object Model (to connect to remote farms)... I can use the impersonated user account easily enough, but in some cases I need to use the local farm's SYSTEM account... unfortunately, when I try to encapulate code within an SPSecurity.RunWithElevatedPrivileges block, I cannot find a way to impersonate the app pool service account.

How can I access the SYSTEM account's iCredentials? (whether for the SharePoint client API, an HttpWebRequest, or anything else)

 

The closest I seem to be able to get is within a RunWithElevatedPrivileges block, I can get the System.Security.Principal.WindowsIdentity.GetCurrent() which returns the SYSTEM account, but I'm not sure how to use that to obtain the iCredentials object.


 


SharePoint 2007 Workflows - Things to Consider Before You Start

  
SharePoint 2007 (MOSS) utilizes the Workflow Foundation (WF) to enable workflows on lists and content types. But before you start doing cartwheels there are few things you should know before you get started. The experiences I'll be discussing are not from book smarts but from building real MOSS solutions that are in production today.

ASP.Net account deleted. How to create it again?

  

 Hi I have created an intranet application using ASP.Net/IIS.

I normally need to web share the folder and allow full permission to ASP.Net user account.

However, I carelessly deleted this account. How to create it again ?

Pls help.... thanks.

 


Sharepoint Site Web Config elements Gets Deleted automatically

  

see i used to have a security filter settings in web config
security><requestFiltering><requestLimits maxAllowedContentLength="104857600"/></requestFiltering></security>
 but it gets deleted automatically after  i dont know why 
we tried to install something in our server yesterday it didn't worked and reverted it back to yesterdays stage( But i had updated the config files 3 weeks ago) 
but today i check the config files  these elements are  not there.

My system is 64 bit windows server 2008 with IIS 7 and MOSS 2007 SP2


Video: Designing Workflows with SharePoint Designer

  
SharePoint Designer makes it easy to create workflows. (Length: 11:11)

Module 7: Developing Business Processes with SharePoint 2010 Workflows

  
SharePoint 2010 provides a powerful workflow framework that enables you to implement custom business processes that are driven by SharePoint data.

Video: SharePoint 2010 Workflows Events

  
This demonstration shows how to generate and use workflow event receivers. (Length: 2:25)

Video: Creating Workflows in SharePoint Designer 2010

  
This demonstration shows how to create a powerful list workflow with code-style logic by using SharePoint Designer 2010. (Length: 8:15)

Video: Creating SharePoint 2010 Workflows in Visual Studio 2010

  
This demonstration shows how to create a site workflow by using Visual Studio 2010. (Length: 6:19)

Video: SharePoint 2010 File System

  
This video describes the SharePoint 2010 file system and integration with Visual Studio 2010. (Length: 3:23)

Video: SharePoint 2010 Workflows: A Technology Backgrounder

  
This video provides a background to the technologies used by SharePoint 2010 workflows. (Length: 2:50)

System.Data.SqlClient.SqlException: Login failed for user . Reason: The account is disable

  

Hi All,

Thank you for advance.

I created a widows service for mail schedule with c#.net and sql server 2005 and it is working fine for past one year.

now sometimes i am getting the "System.Data.SqlClient.SqlException: Login failed for user '<UserName>'. Reason: The account is disabled." error.

then i restarted the windows service manually and working.

what is the problem in my sql server connection and how to fix that issue?


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend