Control Target Type Mismatch when adding a DataForm

Asked By 30 points N/A Posted on -
qa-featured

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

[Control_TargetTypeMismatch]

Arguments:

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See https://go.microsoft.com/fwlinks/?linkid=106663&Version=4.0.50401.0&File=System.Windows.dll&Key=Control_TargetTypeMismatch

SHARE
Answered By points N/A #187041

Control Target Type Mismatch when adding a DataForm

qa-featured

Hello,

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.

Related Questions