I am trying to reproduce a production system locally, but I am having problems using services. I installed the local server instance as close as possible to the production server, but my local client will not work with it. However, the same client on my local machine works fine with the instance.
To use the production system locally, I used the hosts file to redirect all the addresses associated with 127.0.0.1, and the host headers are used in IIS.
The only difference I know about on my local machine is that instead of using the SSL certificate that I purchased from CA, I use the one I created with SelfSSL from the IIS resource set. To create the certificate, I used the following command:
selfssl.exe / T / N: CN = my.url / V: 365 / S: 12345 / P: 443 (where 12345 is the identifier of my site in IIS)
Whenever I try to use / debug a client locally, I get an error:
" The requested service ' https: //my.url/myService.svc ' cannot be activated. See the server trace trace logs for more information. "
I tried to access the service with the following URLs in the browser:
https: //my.url/myService.svc? wsdl
http: //my.url/myService.svc? wsdl
and in both cases, he returned wsdl XML.
Can someone help me solve this problem?
Greetings
Stef
source
share