Recently, two of our clients reported problems while importing files in ADAM
that came from a file share. The NtfsStreamException came with a particularly
worrying and puzzling mesage: "The request is not supported.". I have included
the stack trace below for reference.
Adam.Tools.IO.NtfsStreamException: The request is not supported.
at Adam.Tools.IO.NtfsStreamInfo.GetStreams(String path)
at Adam.Tools.IO.NtfsStreamInfo.Exists(String path, String streamName)
at Adam.Tools.IO.FileSystem.c(String A_0)
at Adam.Tools.IO.FileSystem.a(String A_0, FileSystemType A_1)
at Adam.Tools.IO.FileSystem.GetTypeAndCreator(String path)
at Adam.Core.Records.FileVersion.a(FileInfo A_0)
at Adam.Core.Records.FileCollection.a(String A_0, FileAddOptions A_1)
at Adam.Core.Records.FileCollection.ReplaceFile(
String path, Guid versionId, FileAddOptions options)
at Adam.Core.Records.FileCollection.ReplaceFile(
String path, Guid versionId)
at Adam.Core.Records.FileVersion.Refresh()
at Adam.Core.Maintenance.Actions.RefreshFileRecordAction
.OnExecute(MaintenanceTarget target)
at Adam.Core.Maintenance.MaintenanceAction.a(MaintenanceTarget A_0)
at Adam.Core.Maintenance.DefaultMaintenanceJob
.a(DefaultMaintenanceTarget A_0)
Errr... little help?
When we had a look at our code, we found that this exception was linked to the
Windows error with the ID 0x00000032 (ERROR_NOT_SUPPORTED), which could mean
about anything.
After some searching, we found a knowledge base article issued by Microsoft that
talked about the exact same error occurring when a computer running Windows
Vista or Windows Server 2008 tries to read a file on a computer not running
either of these operating systems.
The knowledge base article further provides a download containing a hotfix that
fixed this problem for our customers. Also note that this hotfix is or will be
included in existing or upcoming service packs for these operating systems, so
only install it when you're actually having the problem as described in this
article.
Oh, and before I forget, all of this sweet hotfix goodness is located at
http://support.microsoft.com/kb/973278/en-US.