Wednesday, November 18, 2009

Upgrade windows 2003 32 bit DC to windows 2008 64 bit DC

Adding Windows Serve 2008 R2 AD DS in Existing Windows Server 2003 32 bit forest

Prepare Windows Server 2008 R2 64 bit
1. Install windows Server 2008 R2 from the installation DVD [ http://www.petri.co.il/how-to-install-windows-server-2008-step-by-step.htm ]
2. Give a Static IP address to the server.
3. Configure the Preferred DNS server as the Windows server 2003 DC.
4. Install the updates from the following site. http://windowsupdate.microsoft.com/. This should install the needed SP2 and post hot fixes.
5. Join the Machine to the Domain as a Member Server. Reboot the Server.
Installing Pre-Requisites
Make sure that .NET Framework 3.5 SP1 is installed.
Preparing Windows Server 2003 Forest for Windows Server 2008 R2 DC
Prepare the Forest
1. Log-on to the Windows 2003 DC Schema Master with the Enterprise Admins, Schema Admins, and Domain Admins groups privileges to prepare the Forest for Windows Server 2008 R2 DC.
2. Insert the Windows Server 2008 R2 DVD into the DVD drive.
3. Run Command Prompt as Administrator.
4. Run the following command from the DVD.
a. D:\support\adprep\adprep /forestprep [ Note: If it is Windows Server 2008, it will be D:\sources\adprep\adprep /forestprep ]
5. If you have multiple Windows Server 2003 DC’s, let the replication finish or use replmon to manually replicate the Domain Controllers before preparing the Domain for Windows Server 2008 R2 DC.

Prepare the Domain
1. Log-on to the Infrastructure master with Domain Admin privileges.
2. Insert the Windows Server 2008 R2 DVD into the DVD drive.
3. Run command prompt as Administrator.
4. Run the following command from the DVD.
a. D:\support\adprep\adprep /domainprep [ Note: If it is Windows Server 2008, it will be D:\sources\adprep\adprep /Domainprep ]
5. If you have multiple Windows Server 2003 DC’s, let the replication finish or use replmon to manually replicate the Domain Controllers before preparing the Domain for Windows Server 2008 R2 DC.
Note: For other Deployment scenarios please follow this link. http://technet.microsoft.com/en-us/library/cc771433(WS.10).aspx


Adding Windows Server 2008 R2 as an Additional Domain Controller.
1. Open Server Manager. Click Start, point to Administrative Tools, and then click Server Manager.

2. In Roles Summary, click Add Roles.

3. If necessary, review the information on the Before You Begin page, and then click Next.

4. On the Select Server Roles page, click the Active Directory Domain Services check box, and then click Next.

5. If necessary, review the information on the Active Directory Domain Services page, and then click Next.

6. On the Confirm Installation Selections page, click Install.

7. On the Installation Results page, click Close this wizard and launch the Active Directory Domain Services Installation Wizard (dcpromo.exe).

8. On the Welcome to the Active Directory Domain Services Installation Wizard page, click Next.

9. On the Operating System Compatibility page, review the warning about the default security settings for Windows Server 2008 R2 domain controllers, and then click Next.

10. On the Choose a Deployment Configuration page, click Existing forest, click Add a domain controller to an existing domain, and then click Next.

11. On the Network Credentials page, type the name of any existing domain in the forest where you plan to install the additional domain controller. Under Specify the account credentials to use to perform the installation, click My current logged on credentials and then click Set. In the Windows Security dialog box, provide the user name and password for an account that can install the additional domain controller. To install an additional domain controller, you must be a member of the Enterprise Admins group or the Domain Admins group. When you are finished providing credentials, click Next.

12. On the Select a Domain page, select the domain of the new domain controller, and then click Next.

13. On the Select a Site page, select a site from the list or select the option to install the domain controller in the site that corresponds to its IP address, and then click Next.

14. On the Additional Domain Controller Options page, make the following selections, and then click Next:
1. DNS server: This option is selected by default so that your domain controller can function as a Domain Name System (DNS) server. If you do not want the domain controller to be a DNS server, clear this option.

15. If you selected Use advanced mode installation on the Welcome page, the Source Domain Controller page appears. Click Let the wizard choose an appropriate domain controller or click Use this specific domain controller to specify a domain controller that you want to provide as a source for replication to create the new domain controller, and then click Next.

16. On the Location for Database, Log Files, and SYSVOL page, type or browse to the volume and folder locations for the database file, the directory service log files, and the system volume (SYSVOL) files, and then click Next.
Windows Server Backup backs up the directory service by volume. For backup and recovery efficiency, store these files on separate volumes that do not contain applications or other nondirectory files.

17. On the Directory Services Restore Mode Administrator Password page, type and confirm the restore mode password, and then click Next. This password must be used to start AD DS in Directory Service Restore Mode (DSRM) for tasks that must be performed offline.

18. On the Summary page, review your selections. Click Back to change any selections, if necessary.
To save the settings that you have selected to an answer file that you can use to automate subsequent AD DS operations, click Export settings. Type the name for your answer file, and then click Save.
When you are sure that your selections are accurate, click Next to install AD DS.

19. On the Completing the Active Directory Domain Services Installation Wizard page, click Finish.

20. You can either select the Reboot on completion check box to have the server restart automatically or you can restart the server to complete the AD DS installation when you are prompted to do so.

Note:- Once the replication is done between the 2003 DC and 2008 DC, you can either change their Static IP addresses or change the DHCP settings for preferred DNS servers, to point it to the new 2008 DC. The same above steps can be taken to add another Additional 2008 DC.

---------------------------------------------------------------------------------------

Tuesday, November 3, 2009

Alternate Access Mapping error

Issue:- Not able to change any settings in AAM
Error:-
Unexpected end of file while parsing Name has occurred. Line 29, position 13. at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at Microsoft.SharePoint.Administration.SPAlternateUrlCollection.HasMissingUrl(String xml)
at Microsoft.SharePoint.Administration.SPContentDatabase.UpdateAlternateAccessMapping(SPAlternateUrlCollection collection)
at Microsoft.SharePoint.Administration.SPAlternateUrlCollection.UpdateAlternateAccessMappingInContent()
at Microsoft.SharePoint.Administration.SPAlternateUrlCollection.Update()
at Microsoft.SharePoint.ApplicationPages.EditOutboundUrlsPage.BtnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

This above error comes after installing April Cumulative pack for SharePoint 2007

This is the extract from the article http://support.microsoft.com/kb/973410 , which is included in the August cumulative update http://support.microsoft.com/kb/974982

"You have a Web application that has more than five incoming URLs. You cannot change Alternate Access Mappings (AAM) settings after you install the 2007 Microsoft Office system cumulative update that was released in April 2008"

There is one more article which has the same issue of editing URL's for more than 5 zone entrie, but does not have the parsing error. Still in this article there is no resolution given by MS. http://support.microsoft.com/kb/2000628

Total Pageviews