A.I on the 1s and 0s

Alnur Ismail is a developer for Microsoft

February 2009 - Posts

Running WCF Ajax-enabled services on Windows Server 2008

Yesterday I was trying to run an ASP .NET website that leveraged multiple WCF Ajax-enabled services on a Windows Server 2008 box under an IIS7 application but kept running into the following JavaScript error:  "Namespace.Service is undefined".

One of my co-workers had run into this recently and told me the problem was WCF Activation is turned off by default in Windows Server 2008. To turn it on:

  1. Go to Server Manager
  2. Find the Features Summary
  3. Click "Add Features"
  4. Expand the ".NET Framework 3.0 Features" node
  5. Select "WCF Activation" 
  6. Hit "Install"

Problem solved.

More Posts