The fact is that if your directory doesn't exists, indexwriter will not
create it. The create parameter is only valid for the index by itself, not
for the directory.
You should create the directory first.

Sébastien

2010/5/27 Adam smalin <[email protected]>

> > On 26.05.2010 19:29, Adam smalin wrote:
> > > If i create the directory with a winform project and copy it into my
> > > asp.net it seems to work
> >
> > Does the index creation fail under ASP.NET but it's working under
> > a normal WinForms application?
> >
> > Robert
>
> Yes. However if you look at my SO question link i updated the code to use
> non obsolete function and now only have problems with
> NoSuchDirectoryException.
>

Reply via email to