title: "Search Pane" element not found exception in win 8 app
body: <p>I am trying to develop a win 8 app in visual studio 2012 which implements search contract. To enable search functionality I have added "search pane" element. But while running the app I am getting an exception </p>
  
  <pre><code>"Element not found. (Exception from HRESULT: 0x80070490)"
  </code></pre>
  
  <p>for the code -</p>
  
  <pre><code>this.searchPane = SearchPane.GetForCurrentView()
  </code></pre>
  
  <p>can anyone tell me what is problem and solution for this.</p>