ied path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.— at System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value)
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at Copier.Form1.WriteToFile(String filen, String content) in F:WorkCopierCopierForm1.cs:line 440
at Copier.Form1.createWordDocMain(String content) in F:WorkCopierCopierForm1.cs:line 488
at Copier.Form1.web1_DocumentCompleted(Object sender, WebBrowserDocumentCompletedEventArgs e) in F:WorkCopierCopierForm1.cs:line 276—Void SafeSetStackPointerValue(Char*, Int32, Char)