My web method creates a pdf file in my %temp% folder and that works. I then want to add some custom fields (meta) to that file using the code below.
The class
I suggest you to use the FileShare enumerator when you open the file, so Try to open a file with None sharing
FileShare enumerator
None sharing
File.Open(fileName, FileMode.Open, FileAccess.Read, FileShare.None);