title: Severe error when trying to FREETEXTTABLE an indexed view with a CTE
body: <p>Where stockView is an indexed view with a full-text index, I receive the error message below. The database is running on a 2008 Express engine in 2005 compatibility mode.</p>
  
  <p>Code:</p>
  
  <pre><code>with stockCte (title, grade, price, weighted)
  as
  (
      select sv.[title]                   ,
              sv.[grade]                  ,
              sv.[price]                  ,
              (case when sv.[issue] = @issue and svs.[rank] &gt; 30
                  then svs.[rank] + 100
                  else svs.[rank]
                  end)                    weighted
      from stockView sv
      inner join freetexttable(stockView, (name), @term) svs
          on sv.[id] = svs.[key]
  )
  select * from stockCte;
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Msg 0, Level 11, State 0, Line 0
  A severe error occurred on the current command.  The results, if any, should be discarded.
  Msg 0, Level 20, State 0, Line 0
  A severe error occurred on the current command.  The results, if any, should be discarded.
  </code></pre>
  
  <p>The query works when I remove the inner join and the weighted column. Any ideas, I'm at a loss.</p>