title: A generic error occurred in GDI+System.Runtime.InteropServices.ExternalException HResult=0x80004005 Message=A generic error occurred in GDI+
body: <p>I'm trying to save an image in picture box to a path on another computer in the LAN. It give me this error:</p>
  
  <pre class="lang-none prettyprint-override"><code>System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+
  </code></pre>
  
  <p>It works for some jpg files and not for others.</p>
  
  <p>I'm getting the following error message: </p>
  
  <pre class="lang-none prettyprint-override"><code>string pathFolder = "\\\\DESKTOP-PDP6PSF\\Data\\daily\\";
  picturebox1.Image.Save(pathFolder+nameImage1+".jpg", ImageFormat.Jpeg);
  </code></pre>