Run the program times throws an exception when a call to the type "xx.xxx" is executed that conforms to the specified binding constraint
Xx.xxx represents a namespace. class
namespace test{//<summary>/// Test.xaml Interactive logic///</summary> public partial class Test : Test {public Test () { InitializeComponent (); Error location throws an exception when the constructor of type "" executes a call that conforms to the specified binding constraint }} }
Debug discovery is caused by incorrect reference location of the file, such as when the class is initialized, the database is called, the database name, user name, or password is incorrect, and the database connection is not.
Workaround:
Check the path to the configuration file, for example, with the correct database name, user name, or password.
Solution Ideas:
Single-step debugging, positioning error specific location;
Check the code to see if the file path and the configuration information for the files in the code are present and correct.
C # WPF VS2012 a call to a type "" constructor that conforms to a specified binding constraint raises an exception issue what is the cause of the workaround