Export (0) Print
Expand All

Installing the Training Management Application

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The following procedures demonstrate how to install the Contoso Training Management application. The first procedure demonstrates the steps you must complete in Visual Studio. The second procedure demonstrates the steps you must complete in SharePoint and in the operating system to configure the SharePoint Web site and create the local users. The last procedure demonstrates how to use SharePoint to associate the workflow with the registration list.

You must have administrative privileges for both the SharePoint server and the SharePoint site where you deploy the application.

To build and deploy the Training Management application in Visual Studio

  1. Unzip the SharePoint Guidance self-extracting zip file.
  2. In Visual Studio 2008, open Contoso.RI.sln.
  3. Right-click the Contoso.TrainingManagement project, and then click Properties. Click Debug.
  4. Specify the URL of the site collection where the project will be deployed. The default location is http://localhost.
  5. Right-click the Contoso.RI solution, and then click Build Solution.
  6. Right-click the Contoso.TrainingManagement project, and then click Deploy. Make sure that the Contoso.TrainingManagement/pkg folder and the Contoso.TrainingManagement /bin/Debug folder are not read-only.
Ff648067.note(en-us,PandP.10).gifNote:
If you are using User Account Control, you may need to use the Run as administrator option when you open Visual Studio.

The next procedure demonstrates the steps you must complete in the operating system and in SharePoint.

To configure the Training Management application and create the users

  1. Open a command window, and then run Microsoft Internet Information Services (IIS) command-line utility Iisreset.exe.
  2. Open Internet Explorer and enter the URL for your SharePoint server.
  3. Click the Site Actions drop-down box. Click Create. The Create page opens.
  4. Under Web Pages, click the Sites and Workspaces link. The New SharePoint Site page opens.
  5. In the Title box, type Training Management. In the URL name box, type training. Use the Contoso Training Management site template that is located on the Contoso tab. Click Create to create the site.
  6. In Windows, create two local Windows users named spgmanager and spgemployee.
  7. On the SharePoint site, click the Site Actions tab. Click SiteSettings.
  8. In the Users and Permissions column, click People and groups.
  9. On the People and Groups page, click Groups.
  10. Click the Contoso Employees group, click New, and then type spgemployee.
  11. In the Give Permission section, click Contoso Employees [Read, Limited Access].
  12. Click OK.
  13. Repeat steps 9 through 12 for the Contoso Managers group, typing spgmanager at the end of step 10.

To install the Registration Approval Workflow

  1. In Visual Studio 2008, right-click the Contoso.TrainingManagement.Workflows.RegistrationApproval project, and then click Properties. Click Debug.
  2. Specify the URL of the Training Management site that you created in step 4 of the first procedure.
  3. Right-click the Contoso.TrainingManage.Workflows.RegistrationApproval project, and then click Deploy. Make sure that the Contoso.TrainingManagement.Workflows.RegistrationApproval/pkg folder and Contoso.TrainingManagement.Workflows.RegistrationApproval/bin/Debug folder are not read-only.)
Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Show:
© 2014 Microsoft