Our teaching assistant posted a file that worked at school, and which we must use for our project. But that file does not work on my laptop.
In the IIS manager I set the settings as our TA instructed. When I run the project from Visual Studio, I get the desired array under the url
http://localhost:1052/Service1.svc/Messages. When I try to access the same data via IIS Managerja, I get the error. The url
http://localhost/wcfservice1/ opens normally (screen 1), but when I try to access
http://localhost/wcfservice1/Service1.svc (screen 2)I get the error:
HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
If i wish to access
http://localhost/wcfservice1/Service1.svc/Messages I get the error
HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Any idea how to remedy this? I'm quite inexperienced... The questions "The page you are requesting cannot be served because of the extension configuration." error message and HHTP Error 404.3 - Not found - The page you are requesting cannot be served because of the extension configuration are related, but I did not find a working solution among the answers. Reinstall Visual Studio?