In_Config(“X_ReportPath”).ToString in combination with Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
makes some doubts
Also we are using Stringformat in that way
String.Format(“ABC {0}”, VarNameOrValue) where {0} tells us the replacement position of the first variable
To go ahead, debug and use the immediate panel for the prototyping
We would also suggest to use the Path.Combine method