کد:
http://rperreaux.spaces.live.com/blog/cns!5D7BD18D324CBEEF!1227.entry
PART-4
Reconfiguring SharePoint 2010 Settings
I developed the following Graphical Step-by-Step procedures to ensure that you can demonstrate trial or evaluation VM images without purchasing and using Windows Server 2008 with Hyper-V. I also added steps to increase performance specifically for the Project Server 2010 image, however you can use the same procedures for the SharePoint Server 2010 image too.
In this series I divided the procedures into the following four parts:
Part 1 of 4 – Working with 64 bit Microsoft Trial or Evaluation VM Images Step 1 – Download and Prepare a 64 bit Microsoft Trial or Evaluation VM Image:
Step 2 – Read the Hyper-V VM Image Documentation:
Part 2 of 4 – Working with VirtualBox Step 3 – Download, Install and Configure VirtualBox:
Step 4 – Create the VirtualBox Virtual Machine:
Step 5 – Configure Virtual Machine Settings:
Step 6 – Install VirtualBox Guest Additions:
Part 3 of 4 – Working with Virtual Machine Performance Step 7 – Modify the Network Configuration and DNS Settings:
Step 8 – Disable Services Not Required:
Step 9 – Configure SQL Server 2008 Maximum Server Memory Settings:
Step 10 – Remove Software Not Required:
Part 4 of 4 – Reconfiguring SharePoint 2010 Settings Step 11 – Uninstall Microsoft Office Web Applications and Reset SharePoint Server:
Step 12 – Switch SharePoint Applications from Kerberos Authentication to NTLM Authentication:
Step 13 – Reconfigure SharePoint Application Pools:
Step 14 – Stopping SharePoint Web Sites:
Step 15 – Stopping Unnecessary SharePoint Services:
Step 11 – Uninstall Microsoft Office Web Applications and Reset SharePoint Server:
1. Log on as
CONTOSO\administrator with the password of
pass@word1.
2. From the desktop, click
Start –>
Control Panel –>
Programs and Features.
3. In the
Programs and Features window, select
Microsoft Office Web Applications and click
Uninstall.
4. In the
Setup dialog box, click
Yes.
5. In the
Warning: dialog box, click
OK.
6. In the
SharePoint Products Configuration Wizard dialog box, click
No.
7. In the
Microsoft Office Web Applications dialog box, click
Close.
8. Close the
Programs and Features window.
9. From the desktop, click
Start –>
All Programs –>
Microsoft SharePoint 2010 Products –>
SharePoint 2010 Products Configuration Wizard.
10. In the
Welcome to SharePoint Products dialog box, click
Next.
11. In the
SharePoint Products Configuration Wizard dialog box, click
Yes.
12. In the
Connect to a server farm dialog box, select
Connect to an existing server farm and click
Next.
13 In the
Specify Configuration Database Settings dialog box, in the
Database server box, type
DEMO2010A, click
Retrieve Database Names. The name
SharePoint_Config should be listed, click
Next.
14. In the
Specify Farm Security Settings dialog box, in the
Passphrase box, type
pass@word1 and click
Next.
15. In the
Configure SharePoint Central Administration Web Application dialog box, select
Specify port number check box, type
2010 and click
Next.
16. In the
Completing the SharePoint Products Configuration Wizard dialog box, click
Next.
17. In the
Configuration Successful dialog box, click
Finish.
The Wizard is closed and Internet Explorer is launched and opens the SharePoint Central Administration site.
18. On the
Configure your SharePoint farm page, select
Start all services configured in this farm on this server and click
Next.
19. On the
This completes the Farm Configuration Wizard page, click
Finish.
20. Close the
Central Administration page and restart the virtual machine.
Step 12 – Switch SharePoint Applications from Kerberos Authentication to NTLM Authentication:
1. Log on as
CONTOSO\administrator with the password of
pass@word1.
2. From the desktop, click
Start –>
Microsoft SharePoint 2010 Products –>
SharePoint 2010 Central Administration.
3. On the
SharePoint 2010 Central Administration page, under
Application Management. click
Manage web applications.
4. On the
Application Management page, click
SharePoint Central Administration v4, on the toolbar menu, click
Authentication Providers.
5. On the
Authentication Providers dialog box, click
Default.
6. In the
Edit Authentication dialog box, in the
IIS Authentication Settings section, select
NTLM and click
Save.
May take up to 5 minutes to complete.
If you received an error, you can safely ignore it.
7. Minimize
Internet Explorer.
Step 13 – Reconfigure SharePoint Application Pools:
I always check the Event Viewer in the Administration Tools to see if there are some interesting or goofy things happening on the restart. Well it just so happens I found some interesting things that might cause some concern.
In the System logs I found 8 Warnings stating that websites that had following warnings:
“The application '/_vti_bin/sts' belonging to site '656431585' has an invalid AppPoolId 'SecurityTokenServiceApplicationPool' set. Therefore, the application will be ignored.
Here is the list of web sites that have the same error:
- 226326605
- 656431585
- 723399476
- 1672993969
- 1748381272
- 1802242226
- 1954992651
- 2105523502
So the next thing we need to do put a name to the site IDs
1. From the desktop, click
Start –>
Administrative Tools –>
Internet Information Services (IIS) Manager.
2. In the
Internet Information Services (IIS) Manager console, in the navigation pane, expand
DEMO2010A –> Sites,
So here is are the site names that match the IDs
- 226326605 – LCA Web
- 656431585 – HR Web
- 723399476 – SharePoint Central Administration v4
- 1672993969 – Internet
- 1748381272 – Finance Web
- 1802242226 – IT Web
- 1954992651 – Intranet
- 2105523502 – MOSS – Project Server
Let’s check out why we have the error with our first site LCA Web
3. In the navigation pane, expand
Sites –> LCA Web –> _vti_bin –> sts, right click
sts, select
Manage Application and click
Advanced Settings.
4. In the
Advanced Settings dialog box, click
Application Pool, then click the ellipse button (
…)
5. In the
Select Application Pool dialog box, notice the message under
Properties.
But based on the list
Application Pools, which one is the right one for this site?
6. From the desktop, click
Start –>
All Programs –>
Microsoft SharePoint 2010 Products –>
SharePoint 2010 Management Shell.
7. From the
SharePoint 2010 Management Shell window, type the following command and press
Enter:
SPIisWebServiceApplicationPool | select ID, Name
So the
SecurityTokenServiceApplicationPool is really using GUID
9bcc72ae-81c1-47d3-873e-ea87006c6f8a
8. Close the
SharePoint 2010 Management Shell window.
9. In the
Select Application Pool dialog box, under
Application Pool, select
9bcc72ae-81c1-47d3-873e-ea87006c6f8a and click
OK.
10. In the
Advanced Settings dialog box, click
OK.
11. Repeats steps 4-11 for each previously listed site.
Step 14 – Stopping SharePoint Web Sites:
The next step is to stop SharePoint web sites that are not configured or finalized, like Finance Web (finweb.contoso.com)
(Whenever you a SharePoint
Template Selection page like this, that means that it is not configure yet)
1. Expand
Sites, right click
Finance Web, click
Manage Web Site and click
Stop.
2. Repeat the previous step for the following sites:
- HR Web
- Internet
- Intranet
- IT Web
- LCA Web
- Reports
- ResourceStore
- FastSearchAdminServices
3. Close the
Internet Information Services (IIS) Manager console
4. From the desktop, click
Start and right click
Command Prompt and click
Run as Administrator.
5. In the
Command Prompt window type
IISRESET and press
Enter.
Step 15 – Stopping Unnecessary SharePoint Services:
And finally, the last step is to stop SharePoint services that are not necessary or not related to working with Project Server.
1. From the desktop, click
Start –>
All Programs –>
Microsoft SharePoint 2010 Products –>
SharePoint 2010 Central Administration
2. On the
Central Administration page, under
System Settings, click
Manage services on server.
3. On the
Services on Server: demo2010a page, at the Access Database Service, click Stop.
4. On the
Message from webpage dialog box, click
OK.
5. Repeat steps 3-4 for the following services:
- Microsoft SharePoint Foundation Incoming E-Mail
- PowerPoint Service
- Visio Graphics Service
- Word Automation Services
- Word Viewing Service
6. Close Internet Explorer