title: "Could not find a part of the path" C:\Users\username\abc\abc.exe.config
body: <blockquote>
    <p>configFilePath = @"C:\Users\" + userName + @"\abc\abc.exe.config";<br/>
    if(File.Exists(configFilePath))<br/>
    {<br/>
    StreamReader fileReader = new StreamReader(configFilePath);<br/>
    }<br/></p>
  </blockquote>
  
  <p>The above line throws "could not find part of the path" exception. This error occurs in a particular machine. In all other machines it works fine. And even in that machine , the same code worked before. No changes made in the machine. I have read all the forums where this issue had been discussed. But couldn't able to figure out why this happens in that machine alone and that too now. Having permissions to access the folder and file. </p>