"this function is inappropriate for file system directories" when performing @DbLookup
<p>When I do a @DbLookup, in certain cases I get the error</p>

<pre><code>"this function is inappropriate for file system directories"
</code></pre>

<p>The documentation found elsewhere on the Web states that this is probably a misspelling of the view name, but it is not the case here. Other suggestions point to invalid characters in the view name. Again, not the case. What could be the problem?</p>