Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Setup Instructions for the Ajax, Syndication and Workflow Services Samples

Download sample

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The steps below need to be performed once only, and apply to the samples in the following sections: AJAX Samples, Stand-Alone Diagnostics Feed (Syndication), Workflow Services Samples.

NoteNote:

Individual samples may separately refer to some of the steps listed in this section. You need not perform them again.

One-time setup procedure for WCF samples

  1. Ensure that ASP.NET is set up. For information about how to set up ASP.NET, see Internet Information Service (IIS) Hosting Instructions.

    If you installed IIS after installing WCF, you must register the appropriate scriptmaps with IIS by running the following command:

    "%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -i
    
  2. If you are running Windows XP SP2, Windows Vista, or Windows Server codename "Longhorn" follow the Firewall Instructions for enabling the ports used by the sample.

  3. Download the setup files from this page.

  4. Open a command window using an account with Administrator privileges. Run the Setupvroot.bat batch file.

    • A virtual directory is created named netfx35samples.

    • A disk directory is created named %SystemDrive%\Inetpub\wwwroot\netfx35samples and %SystemDrive%\Inetpub\wwwroot\netfx35samples\bin.

    • If you prefer to set up these directories manually, see the Virtual Directory Setup Instructions.

    Important   This procedure must be performed only once on a machine.

  5. You must set the ACLs on %systemdrive%\inetpub\wwwroot to grant modify permissions to the account under which you are running. Otherwise some post build events can fail when you build Web-hosted samples. Alternatively, you can leave the ACLs as they are and run the SDK command prompt or Visual Studio as an Administrator.

  6. Samples that are self-hosted (not hosted in IIS) require permission to register HTTP addresses on the machine for listening. The permission for an HTTP namespace reservation comes from the user account used to run the sample. By default, administrator accounts have the permission to register any HTTP address. Non-administrator accounts must be granted permission for the HTTP namespaces used by the samples. For information about configuring namespace reservations, see Configuring HTTP and HTTPS.

  7. For the WorkflowServices samples that require persistence

    1. Make sure you have SQLExpress installed

    2. Add ASPNET as a user of the SQLServer*SQLExpress group

    3. Run CreateStores.cmd before running the samples, and DeleteStores.cmd when finish running all samples

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.