Location (path) must be pass,
and instead of passing it statically you should detect path dynamically.
string rptpath="G:\\ISR\\ISR project\\phase 1\\isr\\isr\\samplereport.rpt";
e.g.
path = System.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase );
string rptpath=path + "\\samplereport.rpt";
Happy Coding!
:)