Control Target Type Mismatch when adding a DataForm

Asked By 30 points N/A Posted on -

Hello friends,

While I am working with Microsoft visual studio, I ended up with an error message. This error pops up often and this is very annoying to me. Help me to ignore this error message. Why I am not able to debug? Do I need to change the configuration settings? Please help thanks.


Error Dialog



Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See

Answered By 70 points N/A #187041

Control Target Type Mismatch when adding a DataForm



This problem is because of an older version of assembly “System.Windows.Controls.Data.DataForm.Toolkit”. You have to use the newer version of this so that you can easily fix this issue.

  1. From Visual Studio 2010, open Solution Explorer.
  2. Find out “System.Windows.Controls.Data.DataForm.Toolkit” >> right-click and select “Remove”.
  3. Build a single process, drag the control “DataForm” on a new Page.

Now, your Silverlight should give no more error.

Also, you can update your Visual Studio with the latest Silverlight SDK. Download Microsoft Silverlight 5 Tools for Visual Studio 2010 SP1.

Login/Register to Answer

Related Questions