Below are the steps for configuring a computer to be a PR-Tracker Web Server under versions of Windows prior to Windows Server 2008.
- Install PR-Tracker on the computer.
- Start PR-Tracker and go through the initial configuration.
- If you choose to configure the computer as a client during the initial configuration, make sure it can connect to the PR-Tracker server. If the connection to the PR-Tracker server doesn't work, the Web service won't work either.
Create a virtual directory for PrtrackerWebService.
- In Administrative Tools | Internet Information Services (IIS) Manager, from the IIS console tree, right click on the web site that will be hosting PrtrackerWebService, and choose New | Virtual Directory from the popup menu . The Virtual Directory Creation Wizard dialog will appear.
- Enter PrtrackerWebService for the Alias and press Next.
- To enter the path, Browse to the location where PR-Tracker 6.0 is installed, select the folder PrtrackerWebService and click OK and then Next.
- On the ASP.NET tab set the ASP.NET version to 2.0.50727 or higher.
- Allow Read for the virtual directory access permissions and click Next and then Finish.
Create a local or domain user account named prtracker6wsa [PR-Tracker Web Service Account] for the PrtrackerWebService to run under.
- Open Active Directory Users and Computers.
- On the console tree, right click on Users and select New | User from the popup menu.
- In the dialog leave Firstname, Initials and Last name blank.
- Set the Fullname to PR-Tracker 6.0 Web Service Account.
- Set the User logon name to Prtracker6wsa and press Next.
- Enter the Password and Confirm password
- Check only the box Password never expires and press Next and Finish
Assign ASP.NET permissions to prtracker6wsa.
- Open a command line window and navigate to a folder that contains aspnet_regiis.exe, for example C:\Windows\Microsoft.NET\Framework\v2.0.50727.
- Run the command aspnet_regiis -ga Prtracker6wsa.
Create an IIS application pool named Prtracker6Pool.
- From the IIS console tree, right click on Application Pools and select menu New | Application Pool.
- On the Add New Application Pool dialog set the Application pool ID to Prtracker6Pool and press OK.
- From the IIS console tree, right click on the newly created Prtracker6Pool and select menu Properties.
- On the Prtracker6Pool Properties dialog, select the Identity tab.
- Select option Configurable, then enter YourDomain\Prtracker6wsa for the username.
- Enter the Password for the Prtracker6wsa user and press the OK button.
Configure the PrtrackerWebService to run under the Prtracker6Pool.
- From the IIS console tree, right click on the virtual directory PrtrackerWebService and select menu Properties.
- For the Application pool enter Prtracker6Pool and click the OK button.
- From the IIS console tree, select the PrtrackerWebService right click on the Prtracker.asmx from the right panel, and select Browse from the popup menu. This should open a browser which displays all of the web service operations. (Troubleshooting note: If you receive the message "Service Unavailable," in IIS Manager, right-click on Prtracker6Pool and select Start; then refresh the browser window. Normally, the Application Pool will have been started automatically when you created it.)
- Click on the operation VerifyConnection and then press the Invoke button. You should get a response that includes "OK" as the message.
- Click on the operation IncrementViolationCount and then press the Invoke button. You should get a response that includes an integer as the message.
- From another computer, enter the web address of the prtracker.asmx in the PrtrackerWebService. You should get a list displaying all the web services operations just like you did in (1).
- If (4) works, start PR-Tracker and choose Connect Web Client on the Connect dialog. Enter the same Internet Address of prtracker.asmx that worked in (4).
- Check the box to Connect without using login name and password.
- Press the Connect Web Client button. PR-Tracker should connect and display a problem list.
Secure the web connection and redo step (9).
If you receive an error message, search for help in the PR-Tracker Knowledge Base using exact wording from the error message.