.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

SharePoint 2010 - The license state for the current server doesn't match the farm's license state.

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :SharePoint
I already have a SharePoint 2010 server built, up and running. Yesterday I built a brand new server Windows 2008 and installed all necessary windows updates. Then I joined the server to the domain where the other SharePoint 2010 box is. Today, I installed all necessary pre-requisites for SharePoint 2010 including the KB971831. After that I installed SharePoint 2010 binaries on the new server. When I run the configuration wizard now, it sees the database server with the configuration database, but will not allow me to join the new server to the farm. I get the following error in the diagnostic logs. Resource retrieved id ConfigurationDatabaseTaskConnectFailConfigDisplayLabel is Failed to connect to the configuration database. 02/18/2010 17:54:12 8 INF Leaving function StringResourceManager.GetResourceString 02/18/2010 17:54:12 8 ERR Failed to connect to the configuration database.   An exception of type System.InvalidOperationException was thrown. Additional exception information: The current server cannot be joined to this farm because the set of installed products does not match the products installed in the farm.   The license state for the current server doesn't match the farm's license state. System.InvalidOperationException: The current server cannot be joined to this farm because the set of installed products does not match the products installed in the farm.

View Complete Post

More Related Resource Links

The license state for the current server doesn't match the farm's license state.

Help!!!! I removed project server 2010 from my server hosting SP 2010 and when I run the config wizard I get the error The license state for the current server doesn't match the farm's license state.  I need to bring it back online asap... :(  Any ideas please.

Cannot install Sharepoint Server 2010 "A previous installation has been detected with a license type

I'm trying to upgrade to Team Foundation Server 2010 and Project Server 2010. After getting TFS 2010 and Project Server 2007 to work with WSS 3.0, I started upgrade to Project Server 2010 which requires update to Sharepoint Server 2010 Enterprise. I installed pre-requisites and run "stsadm -o preupgradecheck" which passed everything. When I tried to run the installation I get Setup Warning "A previous installation has been detected with a license type that does not match the install in progress". I thought that my trial licence for Project Server 2007 stopped this so I completely uninstalled WSS 3.0 and restarted the server but the installation still stops with Upgrade window. Any ideas? Regards    mjsk

SharePoint 2010 Publishing Site : Operation is not valid due to the current state of the object.

  I think as usual, the new version of SharePoint 2010 has a lot of problems. the below messege appear in a publushing site (FBA) enabled and when I try to access the pages list or even approve a page of accessing the SiteCollectionImages list and ......... etc every link produce the below error. I'm very frustrated with 2010.  Server Error in '/' Application. <nativehr>0x8107058a</nativehr><nativestack></nativestack>Operation is not valid due to the current state of the object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack></nativestack>Operation is not valid due to the current state of the object. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x8107058a): <nativehr>0x8107058a</nativehr><nativestack></nativestack>Operation is not valid due to the current state of the object.] Microsoft.SharePoint.Library.SPR

Do you need to license Office Web Apps seperate from sharepoint server 2010 enterprise license?

Hi All, I been reading this article http://technet.microsoft.com/en-us/library/ff431687.aspx#bkmk_ins_exis_farm  and have come to the conculsion that if you want word viewing services and power point services you need to license and download office web apps separate from the SharePoint Licensing/download. Can anyone confirm this that may know more about the subject? I thought those services would come along with enterprise but from what I’m reading I guess not.   Regards, Jeff

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

Cannot Add Second FE Server to SharePoint 2010 Farm

Hi folks Well I thought I would add my problem to the others that are also experiencing this issue. I actually reported somthing similar to this forum in Feb 2010 when I was trying the beta version out. I upgraded our WSS farm to SPFS 2010, the upgrade worked, well kinda. Basically our second WFE server would not join the farm after installing the 2010 binaries and runnng the configuration tool and it was complaining with the following error: 07/31/2010 14:35:59  11  INF                              Calling SPFarm.Local and SPServer.Local to get the local farm objects 07/31/2010 14:35:59  11  INF                              SPFarm.Local returned null.  This usually means that the server is not joined.  But, you can delete a server from the configdb without unjoining, which would mean that this machine still thinks it is joined. 07/31/2010 14:35:59  11  INF                              Trying to access th

Session State throws error in ASP.NET Site Pages for SharePoint 2010 portal using Visual Studio 2010


I'm developing Visual Studio 2010 solution for site pages. I’ve created Site Pages in SharePoint 2010 and I’m trying to access Session variables in code behind in ASP.NET but it throws the following error.

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

I set the page directive as enableSessionState=&quo

SharePoint 2010 WFE Page Not Opening in a 5 Server SP Farm

I have a 5 Server SharePoint 2010 Farm - 2 NLB, 1 Index, 2 Node SQL 2k8 R2 Cluster.
I completed the installation of this and finally when I hit the http://intranet:555 (Intranet being the NLB name) from outside the servers (from a client machine), I got a 404 error. Within the Index Server where the Central Administration is hosted, the URL is opening fine. Withint the 2 NLB machines, the URL shows me a login entry box, but even if you give the right ServiceFarm credentials, it does not open the site, it infact just gives me a blank page (no 404 or access denied page). What do you think I should be done?

Specs for a small Sharepoint 2010 farm on a Hyper V virtual server


I want to build a small Sharepoint Farm on a hyper v Windows Server 2008 R2 OS.

I want to have the following instances. An App server (with indexing and query) and an SQL server.

I need to scope out a server which will accommodate this development environment and ultimately scale out to include additional virtual instances.

What would the minimum memory and CPU requirements be?


Bazin Makonnen

Operation is not valid due to the current state of the object at Microsoft.SharePoint.WebControls.S

I have this  problem. When I run this piece of code all I get is

1. I get this error at SPWebApplication webApp = webAppBld.Create();

2. {"Operation is not valid due to the current state of the object."}

3. Stack gets here "   at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context)

                SPFarm objSpfarm = SPWebService.AdministrationService.Farm;
                SPWebApplicationBuilder webAppBld = null;

                webAppBld = new SPWebApplicationBuilder(objSpfarm);
                webAppBld.Port = 33665;
                webAppBld.Id = System.Guid.NewGuid();

                webAppBld.AllowAnonymousAccess = false;
                webAppBld.UseNTLMExclusively = true;
                webAppBld.UseSecureSocketsLayer = false;

                webAppBld.ApplicationPoolId = "SharePointAppPoolId-33665";
                webAppBld.ApplicationPoolUsername = @"testsvr02\testadmin";

                // build the password as a secure string
                SecureString appPoolPwd = new SecureString();

Rename SharePoint 2010 Farm server


We have a 2 server farm--SharePoint 2010 Farm server and SQL 2008 server.  Unfortunately, the SP 2010 farm server needs to be renamed.  We're not yet a production environment, but I do have some sites created.  I'd rather not have to totally "reinvent the wheel".  What's the "best practice" for this type of situation?  Disconnect SP 2010 server from the config database first, then rename the SP 2010 server through Control Panel, reboot, and then reconnect to the database? If I do this, how will I connect to the CA?  I don't want to miss any crucial steps! 

Enabling Session State in SharePoint 2010?


I have a web service built for SharePoint 2007 that I am trying to port to SharePoint 2010. This web service is dependent on session state to function properly, but so far, I have been enable to get session state to work at all in SharePoint 2010. This web service runs as its own web application under t he /_vti_bin virtual directory. I have tried all of the following with no luck:

  • Ensured the "State Service" service application is running.
  • Added the System.Web.SessionState.SessionStateModule http module to my application's web.config file.
  • Added the System.Web.SessionState.SessionStateModule http module to my SharePoint root web.config file.
  • Added <pages enableSessionState="true" /> to my application's web.config file.
  • Added <pages enableSessionState="true" /> to my root web.config file.
Additional Environment info:
  • Visual Studio 2008 - SP1
  • .NET 3.5 - SP1
  • SharePoint 2010 - RC
  • Windows Server 2008 R2
  • ASMX web service (not WCF)

Had anyone had any luck getting a web application or web service to use session state in SharePoint 2010 yet?



Dedicated Index Server in a SharePoint 2010 Server Farm



We want to have a dedicated Index server in our Sharepoint 2010 Farm and we have have Query roles on our WFE server itself.

I came across this - http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/f775c95d-4bec-450d-a56c-5114a0f52c0a in which it is written: " By installing WFE on Dedicated index server in SP2007 Farm, you will have benefits"

But as per my understanding , in Sharepoint 2010 Farm Setup, we dont need install WFE role on index server as index server will have to propogate index to query server and we cant avoid any network traffic.

Please validate my understanding and if you have any recommnedations for setting dedicated Index server in SP2010 Farm , please suggest .

Thanks .


Vipin Kumar Tanwar ( Technology Architect )

Upgrade Sharepoint 2007 Custom State Machine/Sequential workflow to SharePoint 2010



What's the path for upgrading the SharePoint 2007 Custom State Machine/Sequential workflow to SharePoint 2010 when the current SharePoint 2007 environment is upgraded to SharePoint 2010 by an inplace upgrade?

What's the typical estimate time for upgrading SP2007 custom workflow to SP2010 custom workflow?  My gut says 40 to 80 hrs or even less than that, what’s your thoughts?

FYI...I tried to upgrade the SharePoint custom workflow built using visual studio 2008 in SP2007 environment to visual studio 2010 solution/project in SP2010 environment, I got the error messages to refer the following dll's

Microsoft.SharePoint.dll and Microsoft.SharePoint.WorkflowActions.dll

Even after referring the new dlls still the workflow design doesn't show up in the canvas...still work on this to fix mean while want to know the experts insights on this.

moving Team Foundation Server 2010 site to SharePoint 2010 farm.....

What is the best way to move a Team Foundation Server site over to our SharePoint 2010 farm? Can someone please point me to some documentation on how? Thanks,

sharepoint 2010 state machine Workflow With Association column


i create sharepoint 2010 state machine Workflow  and i need to add Association column (as in designer) is it possible to do?

and if yes could u plz tell me how??

Sharepoint 2010 - Error while running Configuration wizard for SP 2010 server farm

Hi All,

I am trying to set up a SP 2010 farm. I have windows server 2008 R2 installed and was able to install SP 2010 successfully. However when I ran the Sp 2010 Products and configuration wizard I am getting the following error at Step 3.

 Failed to create the configuration database.
An exception of type System.Collections.Generic.KeyNotFoundException was thrown.  Additional exception information: The given key was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

I have installed all the prerequisites and I am on Microsoft Geneva Framework 1.0.30624.0 . I saw on a blog that Microsoft Geneve Framework beta 2 will actually cause the above problem. However I encountered the error with Beta 1 version as well.

Any ideas why this is happening?
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