can anyone please help me with this issue.
i have finished chapter 4.
When I run the project i get the error - TargetInvocationException was unhandled by user code.
The following line of code is higlighted in yellow:
objectType.InvokeMember(LoadMethodName, BindingFlags.InvokeMethod, null, listObject, _methodParameters.ToArray());
tha line should load the object.
I think there is a problem in the web.config file.
I have the following settings for the web.config file
<add name="EAD_ConnString" connectionString="Server=win4zjrzd08qt7; Initial Catalog=EAD;" providerName=""/>
The EAD_ConnString is a string defined in the DBHelper file and is passed as parameter in the ConnectionStrings method of the ConfigurationManager class as follow
public class DBHelper
private const string EAD_CONNSTRING_KEY = "EAD_ConnString";
public static string GetEADConnectionString()
Please help me if you can as i can not run the application and therefore can not test anything.