01-28-2020 07:35 AM
I have published a WMS map service in webmap and i have setup hostname settings in Admin Console to the domain name and port 443. When I run the map service with this URL, I get error shown below:
Server Error in '/del1' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /del1/service.svc/get
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0
If I access that map service with localhost or machine name on the same computer then it works as expected.
http://[machine name or localhost]/del1/Service.svc/get?request=GetCapabilities&service=WMS
How can I fix this issue?
Solved! Go to Solution.
01-28-2020 11:24 PM
Did you change the WMS web.config to accept incoming HTTPS requests? You must change <serviceBehaviors> and <webHttpBinding> sections as outlined here:
02-02-2020 06:09 PM
Thank you very much Jan. This solution worked, but there is one additional step that I had to do and that is to enable 'HTTP Activation' and 'Non-HTTP Activation' in server features as shown below.