Archive for ‘Windows Server 2008 R2’

June 12, 2012

SPContentDeploymentWizard and the deployment

Finally the projects that we were working was over (not 100%) and had to deploy the site that we were developing on client site. We did some test deployments in our virtual servers using the SharePoint Content Deployment Wizard and everything was working fine. When we started deploying the site on client site using the Share Point Content Deployment Wizard it didn’t allow us to deploy the site. When it starts to deploy its getting crashed or hanged. We tried many ways to get this thing work and finally it didn’t work at all.

When investigated finally we got to know it was due to the SharePoint version. In other words the exported site from our staging environment and the SharePoint version which was installed in live environment on client site was different.

Finally we had to deploy the site by moving the content database of the sharepont site from the staging to live enviornment. woowww!! without any issue it worked fine. 🙂

you can find more details about moving a content database from this link.

August 25, 2011

Enabling logon as service policy in Windows Server 2008 R2

I was configuring the Team Foundation Server 2010, Microsoft Office SharePoint Server 2010 with SQL Server 2008. I was searching a way to enable the “logon as service” policy to apply TFS Users. Initially it was hard for me to find the way to enable the same and finally figured it out. 🙂

First add the users in your active directory.

after that please follow the steps.

1.    On the Windows Server 2008 domain controller, click Start, type gpmc.msc in the Start Search box, and press Enter to open the Group Policy Management console.

or else you can naviagate to console via administrative tool as below:

2.    In the Group Policy Management console, expand <You Domain>\Domain Controllers, right-click Default Domain Controller Policy, and click Edit.

3.    In the Group Policy Management Editor window, expand Computer Configuration\Windows Settings\Security Settings\Local Policies\User Right Assignment, and then you will see the security setting log on as a service in the right pane.

4.    Double-click the security setting log on as a service, click Add User or Group tab, click Browse, type domain users in the box, click Check Names, and click OK three times to apply the settings.

5.    On the Windows Server 2008 domain controller, run command gpupdate /force to apply the policy.

April 15, 2010

Error 4201: The instance name passed was not recognized as valid by a WMI data provider

I was unable to start the Windows Event Log service on Local Computer. When i tried to start the windows event log service was getting  “Windows could not start the Windows Event Log service on Local Computer.    Error 4201: The instance name passed was not recognized as valid by a WMI data provider.”

This happened at the time of installing MOSS 2007 in my Windows Server 2008 R2 Server machine. Totally i was gone mad coz MOSS 2007 uninstallation crashes due to some reason and was unable to find out the error due to Eventlog crash (what a hell).

Finally figured it out it was due to some permission problem and i had to apply the  SYSTEM user with full control on the folder c:\windows\system32\logfiles\wmi\RTbackup. This solved my problem and the lovely event log was working fine as usual.

more details

Another alternative way is there to renaming the RTBackup file. I didnt try that method hence i have to start the machine in safe mode. It will be a headache at all. so for anyone needs to know about that solution please refer this link.

March 14, 2010

VS2008 Professional connecting to TFS 2010 RC on Windows Server 2008

Assuming that you have already installed VS 2008 professional edition (no problem eventhough you have installed the VS 2008 SP1 because anyhow you are going run it again) in your machine and in your machine TFS 2010 RC is installed and configured successfully.

Please follow the following steps as its :

  1. You have to install Team Explorer 2008 over your VS2008 Professional SP1.
  2. You need to reinstall VS2008SP1 to update team explorer.
  3. After that you have to install Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010 (Installer) from this link.
  4. When you connect from VS2008, you need to enter the full URL (ex: :/tfs”>https://<MyServer>:<port>/tfs)