Solution: [analyzer error message: ambiguous matching found]

Source: Internet
Author: User

Analyzer error Description: An error occurred while analyzing the resources required to provide services to this request. Check the following detailed analysis error information and modify the source file as appropriate.
Analyzer error message:Ambiguous matching found.

Solution:
Check whether the control on your ASPX page has the same name (case-insensitive) ID as the class variable in your Aspx. CS.
The details are as follows:

On the ASPX page:
<Input name = "username" runat = "server" type = "text" id = "username">
And Aspx. CSCodeMedium:
Public String username = NULL;
Conflict! Modify the variable name _ username in Aspx. CS and click OK.
Alas, this error has caused me a long time, because when you start it in Vs, the dev Web will distinguish between the control and the background code variables in case,
After being deployed to the IIS server, the server is case-insensitive, so the variable name is duplicated, resulting in an "ambiguous match" error.

Lessons learned: This kind of error rarely occurs, because we will avoid using case-sensitive variables. I hope someone will encounter this kind of error in the future.
You can search for answers in time.

Related Article

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.