When I call a method(present in external DLL) through reflection which having no parameters and void return ,it get called fine but in same DLL when I call a method which have no parameters but return type Datatable then I got the 'TargetInvocation' exception.
Can anybody help me ?
The TargetInvocationException tells you that the method you are calling has thrown an exception. Check the InnerException property of the exception to find out what the underlying cause might have been.
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...