Search Wiki:

Setup IIS to use your WCF Service


The following is within the context of the BlueYonderAirLines HOL

  1. Click on your WCF Host, e.g., BYA.Mfg.SCM.Svc.WCF | Tests | C:\...\BYA.Mfg.SCM.Svc.WCF.Host\ project
  2. In the property window copy thee Full Path property to the clipboard
  3. Launch the IIS Manager
  4. Right Click on the Default Web Site
  5. Click New Virtual Directory (assuming IIS 6.0 / XP)
  6. Input BlueYonderAirlines for the Alias prompt
  7. Past the clipboard path contents to the Directory prompt - except defaults - except all defaults
  8. Right click on your new virtual directory "BlueYonderAirlines* and select Properties
  9. Click on the Documents Tab and click the Add button
  10. Input the name of your service, e.g., MaterialMgmt.svc
  11. Right click on virtual directory "BlueYonderAirlines" - you should see the web service page


If you deploy your WCF Service and see the following error upon launching it your IIS may not be configured properly:

BlueYonderIISError.gif


  1. Ensure .NET 2.0 and .NET 3.5 are installed
  2. Open the IIS Manager
  3. Right click on Default Web Site and select Properties
  4. Ensure ASP.NET 2.0 is selected on your ASP.NET tab
  5. Click on Home | Configuration button | Click on Add and map svc to aspnet_isapi.dll
  6. Comply with the above steps for any other subwebs (already established) that require WCF support

iis.gif
Last edited May 16 2008 at 9:46 PM  by BillKrat, version 6
Updating...
Page view tracker