I'm trying to configure my WCF services under WIndows Server 2008 R2's IIS and AppFabric to auto-start, but the steps listed at MSDN (here: http://msdn.microsoft.com/en-us/library/ee677285(v=azure.10).aspx) are possible only when the services reside in an application, but in my case, the .svc files reside directly in the site root.
This way, the 'Configure WCF and WF...' shows as '...for Site' and do not show the options for auto-start, as it would do if the application were hosted under an application sub-folder.
Someone knows what i'm doing wrong?
Thanks in advance!
You have to edit IIS config file, located at C:\windows\system32\inetsrv\config\applicationHost.config
or with Configuration Editor as Root Level (!)
or finally use a appcmd script
appcmd.exe set config -section:system.applicationHost/sites /[name='YourSite'].[path='/'].serviceAutoStartEnabled:"True" /[name='YourSite'].[path='/'].serviceAutoStartProvider:"Service" /[name='YourSite'].[path='/'].serviceAutoStartMode:"Custom" /commit:apphost
This only for configuring web application to autostart. You will have others steps for each service.