Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've implemented a StreamAccessor method for my BCS indexing connector.
My source is an SQL database which has a table that contains records.
Some of the records have links to files. My problem is that I’m not sure what to return in my method when there is no file to read.
If I return null - the results have no content type.
If I return an empty memorystream - the results gets a content type of application-octet stream which isn’t what they really are.

How can I construct my StreamAccessor method so it will know when to read files and when to ignore the record and move on?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Send in an empty HTML document as answered on your question here: http://social.technet.microsoft.com/Forums/en-US/fastsharepoint/thread/bd417568-1404-4e8a-ba42-3f65415f9900/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.