16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 35: Building Applications Using Windows SharePoint Services Data 959<br />

9. Enter the description of the website as OurNewSharePointSite.<br />

10. Leave the IP default setting, <strong>and</strong> enter the TCP Port Number as any number<br />

other than port 80 or 8080 (or any administration site port). For our example,<br />

OurNewSharePointSite will be on port 382. When you have entered the port<br />

number, click Next.<br />

11. On the Web Site Home Directory window, click Browse <strong>and</strong> navigate to the<br />

directory for the SharePoint site (e:\OurNewSharePointSite).<br />

12. Click e:\OurNewSharePointSite to select it, <strong>and</strong> then click OK. The path<br />

shown should be the directory you selected. Click Next to continue.<br />

13. On the Web Site Access Permissions page, leave the default settings (which are<br />

Read <strong>and</strong> Run) selected <strong>and</strong> click Next to complete the wizard.<br />

14. Click Finish to close. The new site should appear in the list of websites.<br />

15. Repeat steps 5 <strong>and</strong> 6 for OurNewASPNetSite using a different port number<br />

(not 80 or 8080). In our example, we will use port 383.<br />

As a best practice, we need to set the Application Pool settings for the Windows<br />

SharePoint Services site, OurNewSharePointSite, so that it uses the common application<br />

pool for all SharePoint sites. If SharePoint Portal Server is installed, always use the<br />

application pool created by SharePoint Portal Server 2003, named MSSharePointPortal-<br />

AppPool, as the setting for any SharePoint Portal Server 2003 or Windows SharePoint<br />

Services sites. If SharePoint Portal Server 2003 is not installed, use MSSharePoint-<br />

AppPool. To set the application pool used by the site, follow these steps:<br />

1. In the IIS Management console under the Web Sites folder, right-click the<br />

OurNewSharePointSite site, <strong>and</strong> then from the menu, select Properties.<br />

2. On the Site Properties page, select the Home Directory tab.<br />

3. On the bottom of the tab, find the Application Pool drop-down list.<br />

4. Select either MSSharePointPortalAppPool or MSSharePointAppPool (depending<br />

on your installation), <strong>and</strong> click OK.<br />

You might have noticed that we used OurNewSharePointSite as the name of<br />

our Windows SharePoint Services site in IIS. This name has no connection to the<br />

SharePoint site name; it is simply the virtual directory that will hold the site.<br />

Tip Leave the default privileges on the site. By default, a newly created virtual<br />

server in Windows SharePoint Services inherits the settings from defaults<br />

set on the Central Administration pages. You can change these default settings<br />

once the virtual server is created.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!