Articles in this section
Category / Section

How to check parameter count mismatch parse error in WebForms Tools?

2 mins read


How to check TargetParameterCountException: Parameter count mismatch parse error, while running the sample when two different framework version assemblies has been referred? This issue occurs when you move a project from one framework to another framework and referred assemblies from GAC reference, resulting in assembly references in both framework versions from GAC.


The “Parameter count mismatch” error can occur due to conflict between two different versions of assemblies referred. This issue occurs when you refer assemblies from GAC reference and when Version key is not specified in assembly tag in Web.config file. Therefore, the application refers assemblies from two different framework versions (for example, 3.5 and 4.0 framework)


To overcome the conflict with two different DLL versions, check whether two different framework version of same assemblies (for example, and are referred in your application. When you are using 4.0 framework in your application then remove the 3.5 version assemblies from your reference. Once you move to new framework, you can register the new version “Version=” in the ASPX page. Modify the DLL version in the web.config page and also in ASPX page in your sample as follows.


   <compilation debug="true" targetFramework="4.0">
        <add assembly="Syncfusion.Tools.Web, Version=, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
        <add assembly="Syncfusion.Shared.Web, Version=, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
        <add assembly="Syncfusion.Core, Version=, Culture=neutral, PublicKeyToken=632609B4D040F6B4"/>
        <add assembly="Syncfusion.Shared.Base, Version=, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
        <add assembly="Syncfusion.Grid.Base, Version=, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
        <add assembly="Syncfusion.Tools.Base, Version=, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
<httpRuntime targetFramework="4.0"/>


<%@ Register Assembly="Syncfusion.Tools.Web, Version=, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.Web.UI.WebControls.Tools" TagPrefix="syncfusion" %>
<syncfusion:richtexteditor id="RichTextEditor" runat="server" height="420" width="620"></syncfusion:richtexteditor>


Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment