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.