Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««1314151617»»»

A Google-like Full Text Search Expand / Collapse
Author
Message
Posted Thursday, April 21, 2011 4:42 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, September 24, 2014 1:20 PM
Points: 1,276, Visits: 1,135
webmaster 46469 (4/21/2011)
I initialize the compiler earlier,

Dim _compiler As Irony.Compiler.LanguageCompiler


You declared it, but didn't instantiate it. Try something like this:

Dim _compiler As New Irony.Compile.LanguageCompiler

(I'm not 100% sure what the constructor is for this class, but you should find out when you do this)
Post #1097289
Posted Friday, April 22, 2011 7:25 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 16, 2011 10:55 AM
Points: 4, Visits: 18
Got it working. I wasn't including the _grammar object. Using the code below I've got it fixed. Thanks for you help.


_grammar = New SearchGrammar()
_compiler = New Irony.Compiler.LanguageCompiler(_grammar)
Post #1097432
Posted Friday, April 22, 2011 5:47 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, September 24, 2014 1:20 PM
Points: 1,276, Visits: 1,135
Good deal. If you need more info, there are some really good code samples in the Irony source download at http://www.sourceforge.net/irony.

Thanks
Mike C
Post #1097674
Posted Monday, May 16, 2011 1:05 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 3:39 PM
Points: 6, Visits: 21
Not sure if anyone is still reading this post, but I'm trying to find the lkuptbl.dll that's required to run this script?

Without it my global.asa file throws up an error and I can go no further.

Have looked all over and found plenty of other people looking for the file (years ago) , but no joy in finding a copy myself.

I'm guessing there are other ways available by now to work the dictionary object, but what I've found has been over my head ...

Any help will be much aprpeciated!

Matt
Post #1109116
Posted Monday, May 16, 2011 10:01 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, September 24, 2014 1:20 PM
Points: 1,276, Visits: 1,135
Never heard of lkuptbl.dll. Can you be more specific with an exact error message, maybe the code that's causing problems?
Post #1109540
Posted Monday, May 16, 2011 10:00 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 3:39 PM
Points: 6, Visits: 21
Hey Mike,

Thanks for your help ...

When I install the provided scripts, the global.asa file throws the follwonig error ..

The object has an invalid ProgID of 'IISSample.LookupTable'.

Looking around, the best explanation I've been able to find is that it refers to the lkuptbl.dll file, which isn't registered on my machine (windows 2003 server) ... hence the error.

Guessing there's other ways to load/use the noise words list, but it's all a bit beyond me.

As it is, since posting yesterday I've realised I need containstable or freetexttable if i want to ranking the results ... so I don't think I'll be able to use this anyway.

Cheers

Matt

Post #1109932
Posted Tuesday, May 17, 2011 5:39 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, September 24, 2014 1:20 PM
Points: 1,276, Visits: 1,135
mbrading (5/16/2011)
Hey Mike,

Thanks for your help ...

When I install the provided scripts, the global.asa file throws the follwonig error ..

The object has an invalid ProgID of 'IISSample.LookupTable'.

Looking around, the best explanation I've been able to find is that it refers to the lkuptbl.dll file, which isn't registered on my machine (windows 2003 server) ... hence the error.

Guessing there's other ways to load/use the noise words list, but it's all a bit beyond me.

As it is, since posting yesterday I've realised I need containstable or freetexttable if i want to ranking the results ... so I don't think I'll be able to use this anyway.

Cheers

Matt



It seems to me you're using someone else's code sample. Unfortunately I'm not in a position to troubleshoot it. Try downloading the code supplied with the article and compare. Also, if your code sample uses FREETEXT or CONTAINS, it's trivial to convert to FREETEXTTABLE or CONTAINSTABLE.

Thanks
Mike C
Post #1110096
Posted Tuesday, May 17, 2011 4:11 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 3:39 PM
Points: 6, Visits: 21
Definitely the right code Mike ...

The first line in the global.asa file is the problem ...

object id="NoiseWords" progid="IISSample.LookupTable" runat="Server" scope="Application"

That progid is not valid on my system?

Looking around the web for the error message, it does sound like a number of other people had the same issue, but I'm yet to find anyone who got it sorted? It's a long tiem since this code was originally posted though, so that sure doesn't help.

Anyway, I've got a different approach more-or-less working now, so I'll persevere with that.

Thanks for your assistance,

Matt
Post #1110638
Posted Tuesday, May 17, 2011 5:46 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, September 24, 2014 1:20 PM
Points: 1,276, Visits: 1,135
mbrading (5/17/2011)
Definitely the right code Mike ...

The first line in the global.asa file is the problem ...

object id="NoiseWords" progid="IISSample.LookupTable" runat="Server" scope="Application"

That progid is not valid on my system?

Looking around the web for the error message, it does sound like a number of other people had the same issue, but I'm yet to find anyone who got it sorted? It's a long tiem since this code was originally posted though, so that sure doesn't help.

Anyway, I've got a different approach more-or-less working now, so I'll persevere with that.

Thanks for your assistance,

Matt


Hi Matt,

I just re-downloaded my ZIP file from the attached article. Just verified there is no global.asa file in the ZIP file. The sample code attached to the article is a Windows Forms app, not an ASP.NET app. Can you point me at the location from which you downloaded the ASP.NET code? I'd like to take a look at it.

FWIW I did a Google Search on the dll file you mentioned earlier in the article. I found about 120 hits on that filename, the vast majority of them are very old postings (all the way back to 2003 so far). All references to it seem to be to VB (not .NET) COM programming. At first glance it almost appears to be some sort of Access and/or Excel COM component. Didn't really use any COM in this article, so I am really, really interested in seeing the code you obtained if you can post a link to where you downloaded it from.

Thanks
Mike C
Post #1110655
Posted Tuesday, May 17, 2011 6:16 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 3:39 PM
Points: 6, Visits: 21
Hi Mike,

Very sorry ... a different bookmark for a different download.

This was an asp script doing a similar conversion job.

Sorry to waste your time.

Regards

Matt
Post #1110667
« Prev Topic | Next Topic »

Add to briefcase «««1314151617»»»

Permissions Expand / Collapse