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


Post New Web Links

change system account to username?

Posted By:      Posted Date: September 07, 2010    Points: 0   Category :SharePoint
 
HI, I have created out-of-box workflow ,in the version history the modifiedby column  showing as system account instead of username. so want to display actual username instead of system account. help is appreciated. Thanks.


View Complete Post


More Related Resource Links

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?


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 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.

stsadm change in 2010? login as system account problem

  
Hey,

I have installed SharePoint 2010 beta 2 on a HP Blade in a Domain Environment. SQL Server 2008 SP1 CU2 is on a seperate Blade. Installation and configuration went ok. Everything runs under my Domain-Admin Account (SQL, Farm, ...)

The first few sites went smooth, after a while i noticed that not my Domain-Admin Account was written in the top-right corner, but "System Account". I remembered that problem from MOSS 2007 and tried stsadm updatefarmcredentials. Result after 30 seconds of waiting:
Value cannot be null.
Parameter name: farm

To be exactly i tried: stsadm -o updatefarmcredentials -userlogin XXX -userpassword XXX

There is definatly no typo and i tried varios different things like with "" and without "", with -identitytype and withou, and so on..

When i change the Farm-Account at the GUI, to a normal Account, i see my Domain-Admin Account in the top right corner again instead of System Account. When i change back, the same problem occurs.

Im pretty sure i resolved the issue in 07 with the command written above. Did the syntax change? Do i have to use Powershell? It looks like i have to specify the farm somehow (even thou there is only one farm consisting of one server on which im running the command)

Of course i'd be happy for any other solution to th

Change the Timer Service Account

  
I did an install with Sharepoint 2010 RTM and have it working well but when I checked the Monitoring - Review Problems and solutions it states a security concern that the Farm Account should not be used for other services.  At this stage I have to change out the timer service since it is using the farm account.  But I don't see the timer service in the "Security - Manage service Accounts" location.  I created a timer account with no problems but how does one go about changing the timer service to use this account?  I know I can go to services and change it there but I am wondering if there is a need to do this within Sharepoint?  Am I missing a credential management piece that did not show up in the list of services? Any help would be appreciated Workerbee09  By the way, The problem points to a failing service SPTimerService (SPTimerV4) but its started and working cause I can see services being started and history of the service where it was successfull. 

Failed to change Farm Account in Sharepoint 2010 server, now Central Administration is not accessibl

  
Hello, I have a problem, that I no longer can access Central Administration Website, only the Sharepoint itself. I was running installation of Sharepoint 2010 Server with administrative account ImTheAdmin, who is a Domain Admin in the domain on one of the Windows 2008 R2 member servers. Besides that, I made ImTheAdmin the primary administrator of the Sharepoint. ImTheAdmin became the only user of this Sharepoint 2010 server after installation.  I installed everything on one box with default installation settings. I used builtin SQL server, not Standard or Enterprise. What then happened is: Using ImTheAdmin account, I opened Central Administration Website, and it said, that I need to change the Farm Account, for the account for Farm was the default one (I think it was network service). So I created a regular domain user MYDOMAIN\SharepointFarmAccount. The account name was too long to be as a Windows 2000 name, so it showed there without last 't', e.g. MYDOMAIN\SharepointFarmAccoun. I thought, Windows 2000 is long gone, so I didn't pay much attention, I think everywhere the account SID is important. I don't know if that is the real problem with my failure later, but it might be one of the reasons. I put MYDOMAIN\SharepointFarmAccount down in to the form of Central Administration Website, added the check mark, that it would react to password changes, and pre

Change the Timer Service Account

  
I did an install with Sharepoint 2010 RTM and have it working well but when I checked the Monitoring - Review Problems and solutions it states a security concern that the Farm Account should not be used for other services.  At this stage I have to change out the timer service since it is using the farm account.  But I don't see the timer service in the "Security - Manage service Accounts" location.  I created a timer account with no problems but how does one go about changing the timer service to use this account?  I know I can go to services and change it there but I am wondering if there is a need to do this within Sharepoint?  Am I missing a credential management piece that did not show up in the list of services? Any help would be appreciated Workerbee09  By the way, The problem points to a failing service SPTimerService (SPTimerV4) but its started and working cause I can see services being started and history of the service where it was successfull. 

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

"The username is invalid. The account must be a valid domain account."

  
So I'm at the SharePoint Products Configuration Wizard, I put in the Database Server and name then put in the username and password. It just keeps saying this message after I hit the Next button! :   The username is invalid. The account must be a valid domain account.   What's wrong?

Unable to change the Service account??

  
Followed this guide: http://support.microsoft.com/kb/832770 I have setup my account SPadmin to have access to my SQL DB i went into IIS and attempted to change it there for my Default sharepoint site in the applications pool page > Properties>Identity Nada, i changed it his apply reset IIS and back to my old account(very frustrating) so further reading showed attempting to change it via Central administration.   Went there and chose Operations>Service accounts chose my webservice,Application pool and configurable and setup my SPadmin, reset IIS and still no change.   Thoughts? i feel like there is  some stupid step i'm missing because it will not change regardless.   Thanks Steve K

The specified user account "domain\username" is a local account. Local accounts should only be used

  
HI Im getting this error when trying to set a new Service account for my performance point services. SharePoint is installed in a single server enviroment. I can´t get a new service account configured and I think this is causing my server to run slowly. Any help would be highly appreciated thanks

Change to AD username causes trouble for external access to WSS 3.0

  
I have one WSS 3.0 site hosted on a standalone server. I have extended the site into an external zone that authenticates with Digest authentication. This has been working fine for the past year or so. We have been looking into changing the user account naming scheme for Active Directory, and have been testing the change out on my own account. In doing so, I am still able to access our Sharepoint site from the Intranet zone on our internal network, but not from the external web address. I have tried removing my account from the site collection, and even going into the WSS_Content.AllUserData SQL table and changing the account name from DOMAIN\OldUserName to DOMAIN\NewUserName. No matter what I have tried, I get "HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials. Internet Information Services (IIS)" when I try to log in with any username.   Help?

approval workflow showing modified name as system account

  
Hi, I have an approval workflow for page library, when normal user, who have contribute permissions has modified the page content , but the version history of the page showing the modified name as system account instead actual name. Here i need to display actual user name. thanks.

Get system logged In Domain & username

  
Hi, I got a website with FBA authenication. I  want to get the client machine's domain & username. After lot of goggling I got the thing that if Enable annonymous is Check then it is not possible to get these things and would return "" whatever you try like HttpContext.Current.User.Identity.Name Request.LogonUserIdentity.Name Environment.UserDomainName.   Does anyone knows how to get the client's system domain & username.    

How to change the login name for the dbo account?

  

I need to change the login name for the dbo account on several databases to the SQL sa name instead of using a Windows authentication domain name.  I haven't been able to find a way to make this change. 


Code Execution under System Account

  

Hi,

I am trying to run a item event handler. Some of the users will not be having the permissions to execute the code, hence I am trying to run the code under the system account, regardless of the user signed in.

This is the code I have tried:

[CODE]

SPUser user = SPContext.Current.Web.AllUsers[@"SHAREPOINT\SYSTEM"];
SPUserToken superToken = user.UserToken;
 using (SPSite site = new SPSite(SPContext.Current.Web.Url, superToken))
 {

}

[/CODE]

I would like to execute my code block to all the users. Hence I had tried to use the System Account. But when I try to execute the code, I am getting error as "Object reference not set to an instance of an object." when the code is trying to execute the below line:

[CODE]

SPUser user = SPContext.Current.Web.AllUsers[@"SHAREPOINT\SYSTEM"];

[/CODE]

How to execute the code using System Account, so that all users have the rights.

Thank you


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))
       

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