WCF: SVC file behind IIS and HTTPS - 'could not be activated' error
I have my WCF Web Service behind IIS and HTTPS. If I try to access
from my remote client I get the following error...
The requested service, 'https://db-appsvr02/appService/appService.svc'
could not be activated. See the server's diagnostic trace logs for
If I go into IIS Manager and right click on the SVC file and set the
File Security to 'Enable anonymous access' and turn off the Secure
Communications Certificate 'Require secure channel' then things
work. I have HTTPS working on a web application that is under the
same IIS so pretty sure that HTTPS is all configured and working ok.
Anyone else have WCF Web Services working behind HTTPS?
Join Date : Nov 2007
Posts : 1
Vista Ultimate x64
Local Time: 07:00
Re: WCF: SVC file behind IIS and HTTPS - 'could not be activated' error
I have the same problem but when I try to browse my service at browser, I get an exception:
Memory gates checking failed because the free memory (134033408 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
I close some programs, change 'mex' service path to absolute and service starts work properly.
Windows Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 10" and related materials are trademarks of Microsoft Corp.