I m trying to get Lucene.NET to work on a shared hosting environment. Mascix over on codeproject outlines here how he got this to work on godaddy. I m attempting this on isqsolutions.
Both examples he posted run fine on my local machine and both throw the same error on the the shared hosting server:
Compiler Error Message: CS0246: The type or namespace name Lucene could not be found (are you missing a using directive or an assembly reference?)
Line 1: <%@ Page Language="C#" %>Line 2:
Line 3: <%@ Import Namespace="Lucene.Net.Index" %>
Line 4: <%@ Import Namespace="Lucene.Net.Analysis.Standard" %>
Line 5: <%@ Import Namespace="Lucene.Net.Documents" %>
I tried adding a direct reference to the Lucene.NET assambly in web.config like so:
<add assembly="Lucene.Net, Version=2.3.1.2, Culture=neutral, PublicKeyToken=a58a1be7fafc31f5"/>
But this throws its own error as well. I guess my question is: am I missing something simple or can a server side setting cause this to not work at all?