When I try to search the term 'ActivityNotFoundException' SP SE returns 0 search results. But posts containing this term actually exist (e.g. "The activity named 'WorkflowXaml_GUID' from scope was not found" when deploying SP 2013 Workflow).

I am guessing it has something to do with indexing tokens inside code block because if I search for any other term in aforementioned post, I get search results.

Is it a possible bug?

1 Answer 1


You can search within code block only if you type code:"search argument" when the search argument is surrounded by spaces or :. But your specific case has the entire class written out which means that you need to search for code:"Microsoft.Workflow.Client.ActivityNotFoundException:" which receives the result your interested in. Lose the code and you'll get three answers searching for the class Microsoft.Workflow.Client.ActivityNotFoundException




So it's a bad search implementetion if you ask me, which needs to be improved. Maybe you'd like to post this suggestion on Meta?

  • 1
    Thank you for clarification. It is definitely a bad implementation because some users will post "Exception has occurred" while other users will post "System.Exception has occurred". So in order to properly search through SE you always need to search for both variants. Dec 9, 2014 at 12:41
  • 1
    @SlavenSemper for our future reference, note that Google finds those posts just fine - we're looking at search now, so maybe we can tweak this, too. Dec 9, 2014 at 18:47
  • 1
    @JarrodDixon That's great news! I hope you make search awesome :-)
    – Benny Skogberg Mod
    Dec 9, 2014 at 19:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .