404 error resolution for a magical WCF

Source: Internet
Author: User

Phenomenon: The browser can access the metadata, but run the time is reported 404 exception, said the target address could not be found.

Tossing the whole afternoon.

The address of the client in the reference service after config is this http://host/aspx/Services/app.svc/aspx/Services/app.svc

I've changed the address to http://host/aspx/Services/app.svc for granted.

It is also used to http://host/aspx/Services/app.svc this address when referencing metadata.

I firmly believe that if you can quote metadata, the service side will be fine.

I wrote a console program with the default HTTP://HOST/ASPX/SERVICES/APP.SVC/ASPX/SERVICES/APP.SVC address.

Server because of the complexity of the environment, I do not see the servers, I only know that my site is a subweb, and this sub-site config is not configured

So the client address generated after referencing the service is also very strange.

Believe that you can quote metadata, the service side will be OK.

404 error resolution for a magical WCF

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.