I am getting invalid data source problem in data reports after making set up kit. The exact error message is

Run time error 8520
Invalid data source

But in design mode it is working fine. I want to know how to make a connection for DSN through coding in data environment.

If anybody knows the answer, Please help me to overcome this problem.

Regards,
Nakheel