Click here to Skip to main content
15,896,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The base class includes the field 'txt_Brn_Name', but its type (System.Web.UI.WebControls.TextBox) is not compatible with the type of control (System.Web.UI.WebControls.DropDownList).

Source Error:


Line 740:
Line 741:
Line 742: <asp:DropDownList ID="txt_Brn_Name" runat="server" AutoPostBack="True"
Line 743: Height="16px" onselectedindexchanged="txt_Brn_Name_SelectedIndexChanged"
Line 744: Width="221px">

Source File: /UTILITY/COMPLAINT_UTILITY.aspx Line: 742

What I have tried:

Checked The Net for a solution
Posted
Updated 12-Oct-16 1:15am
Comments

1 solution

This means there is an issue with your designer file. Each asp.net page with codebehind files will also have a file named page.aspx.designer.cs. Look in that file. Something got out of whack.

Or, depending on your version of Visual Studio, delete the designer.cs file, then right-click your project and choose Convert to Web Application. This will recreate any missing designer file(s). I'm not sure if Visual Studio 2015 still has it or not so check first before you delete the file.
 
Share this answer
 
Comments
Member 10744248 12-Oct-16 14:47pm    
using visual studio 2010

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900