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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

stsadm change in 2010? login as system account problem

Posted By:      Posted Date: October 26, 2010    Points: 0   Category :SharePoint

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

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?

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 system account to username?

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.

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

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. 

Account login problem


I have some problems with sahrepoint 2010 account management...

In my windows 7 i have 2 accounts: an administrator account (let's call it "admin") and a standard user (called "reader"). In the SP2010 central administration i have correctly added both accounts as "managed accounts". In my site i have modified the "site permissions": "admin" account was already in the "[Site collection name] Owners" group, and i have added the "reader" account to the "[Site collection name] Visitors" group.

When i open a SP website i have to login: let's say i log in as "reader". Then i want to log in as "admin", so i select "Sign in as a different user" in the top-right corner of the page. Now when i insert username and password of the "admin" account, i get some kind of error, as if the password is wrong (but i get no message, just the same window again asking me for username and password). At the third attempt, i get the 401 UNAUTHORIZED page. But when i close the page a re-open it, i result logged in as "admin", without having to insert username and password!

Is this a normal behavior? Otherwise, what could be the problem?

Setup a login account for system backup, but now allow accessing data


Dear All,

     My problem seem quite contradiction. Not sure it's possible to do. My question is we used a symmatic software to backup our SQL databases. It require an admin right SQL user account to perform it. However some of database is quite sensitive e.g HR data. I don't want to let the IT staff to make use of this privilege to read the data. Is there any solution on this?

Best Rdgs


Change domain AD + upgrade Sharepoint 2007->2010 = window with a request login/password


New installation of Sharepoint 2010 in Domain_A domain. I added a content database WSS_content2007 from Sharepoint 2007 (from domain Domain_B). I didn't run the command stsadm -migrateuser. New accounts from domain Domain_A were manually added to SharePoint 2010. In table Userinfo on WSS_Content2007 on Sharepoint 2010 are accounts from both domains. Old domain Domain_B was deleted.
Users get a window with a request re-enter your username and password from time to time.
What should I do? Can I delete the account from the domain Domain_B with stsadm command? Should the column tp_title contain unique records for the same user and the same site?


Regrading Sharpoint 2010 problem and solutions

We can write your question and problem on this blogger.you get ans.use.

This sharpoint 2010 problem solving threads

Hi friend,

you can use this thread to solving problem and solutions.

Problem upgrading to MVC3 - System.Web.Routing



I'm trying to upgrade to .NET 4 and MVC 3.

When trying to compile my project, I get the error:

Error 1 The type or namespace name 'Routing' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) C:\Users\spencer\Desktop\weblauncher\Common\MVCConfig.cs 4 18 Common

The type or namespace name 'Routing' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

I do have the System.Web.Routing in my references for the project.

BUT - when I try to view System.Web.Routing in the OBJECT BROWSER, nothing is inside!  The System.Web.Routing namespace is not in there - the entire thing is empty!  Could it that the dll is corrupted?  I tried to reinstall the .NET 4 and MVC 3 stuff, but its still empty!

The dll is coming from here:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Routing.dll

and the runti

Installation problem with VWD 2010 on XP sp3.



I have installed Xp sp3 in my system.When ever i install VWD 2010. I will get auto shutdown of System. But it support vs 2005, VWD 2008 Sp1 with sql 2005 very well without any problem. Again whenever i try to Sql server 2008 express. I will get auto shutdown problem.

But i have read on Microsoft site, VWD 2010 and sql 2008 support XP sp3.  My system does not support good graphic and sound in Window 7 OS. I have MSI mother board and AMD dual core processor with 2 GB Ram.

what is the problem ? is there problem with hardware ?

Visual Web Developer 2010 Express "Copy Web Site" using different login


I created a site and am trying to grant another pesron access to upload changes to it without giving them my super-user login.

I made a login for her but I can't test whether it works or not because no matter how much I "disconnect" in the Copy Web Site page of VWD 2010, reconnecting to the same site always logs in as my superuser account without prompting me for a login again.

How do I test is the account it set up correctly before having her try to upload to it?    I want to force the login to remote site dialog to pop up again to test her account.

Any ideas?

VSTS 2010: Agile Planning Tools In Visual Studio Team System 2010


Visual Studio Team System (VSTS) 2010 introduces product backlog and iteration backlog workbooks and reports that will help agile teams plan and manage releases and iterations.

Ajoy Krishnamoorthy

MSDN Magazine January 2009

Login database with visual studio 2010 asp website template


Has anyone deployed a website using the login database in the visual studio 2010 asp website template? I was wondering if I could look at someone's example to see how the integrated this into their website.

Video: SharePoint 2010 File System

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

System.Net.Mail HTML Template Problem


What do I need here ?????? To make this work??

Dim MassMail As New MailMessage()

        Dim Template As ??????????????

        MassMail.To.Add(New MailAddress(TextBox_massemailto.Text))
        MassMail.From = New MailAddress("You@me.com")

        ' MassMail.CC.Add()
        MassMail.Subject = TextBox_massemailsubject.Text
        MassMail.Body = TextBox_massemailBody.Text
        ' MassMail.Body = Template.BodyFileName = "EmailTemplates/BusinessAdBrochure.htm"
        MassMail.Priority = MailPriority.High

        Dim smtpclient As New SmtpClient("relay-hosting.secureserver.net")
        smtpclient.Credentials = New System.Net.NetworkCredential(""You@me.com"", "pasword")
        smtpclient.Port = 25
        smtpclient.EnableSsl = False

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