Hi John
Yes I am giving the full correct path.
I get this error if I delete the connection string from DataEnviroment.
It works only if the connection string in my DataEnviroment & through code are same, ie if specify
"File Name=c:\fred.udl" at both the places, in DE & in Code as well. If I remove this from DE & keep only in code, it gives me the runtime error.
I don't mind to keep in both the places, so now it works for me.
Thanks again for ur kind help. U can also try this removing the Connection String from DE and keeping the code only.
Cheers
Som