I\'m working through some WCF examples in \"Windows Communication Foundation 4 Step By Step\". My resulting application runs fine as long as the service is hosted in casini.
if not exists (select * from sys.server_principals where name='IIS APPPOOL\DefaultAppPool') create login [IIS APPPOOL\DefaultAppPool] from windows;