AnsweredAssumed Answered

Custom Web script failing with 500 error

Question asked by deane on Dec 11, 2008
Latest reply on Jan 7, 2009 by chraja
I've written a custom Web script.  I have it working in a "Hello World" sense (just injecting data into the model, and spitting it back out), so I know all the files are in the right spots, the URL is mapped correctly, etc.

However, as soon as I try to search the repo, like this:

var stuff = search.luceneSearch("some search term");

The Web script fails with a 500 error:

Transaction must be active and synchronization is required

I've looked up the error, and poked around a bit, but I can't find a resolution.  People were talking about an authentication bug on v2.1, but I'm on v3.