all groups > sql server full text search > february 2005 >
You're in the

sql server full text search

group:

urgent help needed: error 7342 (full text search problem)


urgent help needed: error 7342 (full text search problem) Timo
2/20/2005 2:45:57 PM
sql server full text search: I would be very grateful for advice or suggestions for the following
problem.

I have had no problem with Full Text Search in SQL2000 on my PC under XP Pro
using the Developers Version of SQL 2000. However, I have created another
copy of the same relatively small (100mb) database on a notebook (originally
purchased with XP Home and then upgraded to XP Pro /SP2). On the notebook I
am getting an error whenever I run a fulltext query in QA. The notebook has
1GB RAM and a 1.7ghz CPU. Both my PC and this notebook used the same install
CD of the SQL Developer Version.

The query:
Select * from MedArticles where CONTAINS(keywords, 'mysearcharg')

always yields error: 7342
Unexpected NULL value returned for column '[FULLTEXT:MEDARTICLES].KEY' from
the Ole db provider
'Full-Text Search Engine'. This column cannot be null.

Troubleshooting steps taken so far:
1. Select FULLTEXTSERVICEPROPERTY('IsFullTextInstalled') = 1
2.<sqlpath>FTDATA\<sqlserver>\Config\schema.txt same as on CD (Developer
Edition of SQL2000)
3. @@version = Microsoft SQL Server 2000 -- 8.00.194
4. The MSSearch service is running.
5. I've dropped and recreated the catalog and have rebuilt the index.
6. Event log shows the start_full build completes without incident.("The
index build for project <my project> has completed."
7. Have reinstalled Full Text Search from CD
8. Have restarted the MSSearch service from management console
9. tquery.dll is same version/size/date on PC where full text is working and
on notebook where fulltext gets error 7342.
10. Have manually registered tquery.dll with success message.

Thanks
Timo


Re: urgent help needed: error 7342 (full text search problem) Hilary Cotter
2/20/2005 3:20:50 PM
Can you create and successfully query a full text catalog on another table
in another database?

If so the problem is with this catalog as opposed to your installation.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) John Kane
2/20/2005 3:36:46 PM
Timo,
In regards to error "Msg 7342 Unexpected NULL value returned for column
'[FULLTEXT:MEDARTICLES].KEY' from the Ole db provider 'Full-Text Search
Engine'. This column cannot be null." Could you confirm that the file
schema.txt located at \FTDATA\SQLServer\Config\ (where you have SQL Server
installed) is not "corrupted", missing &/or otherwise altered from the
version that is on the SQL Server CD? If so, replace it with the version
that is on the SQL Server CD and reboot your server.

Thanks,
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/




[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) Timo
2/20/2005 4:47:11 PM
Thanks for the reply. Although I am able to create a new catalog on another
table and build the index without error, a query results in the same 7342
error.
Timo

[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) John Kane
2/20/2005 4:55:55 PM
Sorry, Timo,
I posted before I completely read your (very complete) list of
troubleshooting steps! My bad...
I also see that you "reinstalled Full Text Search from CD", when you did
this where you logged on a Administrator or as a member of the Admin. Group?
If not, then some of the required registry keys may or may not be properly
configured or setup correct. If so, then based upon your troubleshooting
steps, I'd recommend that you call and open a support case with Microsoft
PSS SQL Server support as they have methods for enabling extended debugging
that can identify the true source of error Msg 7342.

Regards,
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/


[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) Hilary Cotter
2/20/2005 5:21:33 PM
There is something wrong with your environment. Could you look in the
application log using event viewer for informational messages coming from
MSSearch or MSSCI?

Also check out this kb article. This lists the most common reason for full
text errors - although your error seems a little different.

http://support.microsoft.com/default.aspx?scid=kb;en-us;277549

Also what sp are you at? I helped one guy through this error once before -
it involved a reinstallation of SQL FTS. I can guide you through the steps
if the kb article won't help.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) Timo
2/20/2005 6:53:07 PM
John,
Yes, covered in my troubeshooting steps already taken, #2.
Timo

[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) Timo
2/20/2005 7:52:44 PM
Hilary,
Event viewer shows no errors.
I have already reinstalled FTS from the CD, and I've just now applied SP2,
so SQLServer is now at 8.00.534.
Services have been stopped and restarted.
System has been rebooted.
Error 7342 persists.

I'd be happy to try anything else. Do you have a way of reinstalling FTS
other than adding components from the installation CD?
Thanks
Timo


[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) Timo
2/20/2005 8:35:05 PM
John,
I've always been logging in as Administrator. I will take your advice, and
open the support call tomorrow AM.
Regards
Timo


[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) Timo
2/21/2005 7:47:44 AM
Before calling it quits for the night, I decided to uninstall SQLServer and
reinstall using Custom Install because the Typical Install had not included
Full Text Search and FTS had to be installed afterwards using Add
Components. Then I applied SP2. And then I tried to create a fulltext
catalog on the publishers table in pubs. It seems we're back in business! I
was able to create a fulltext catalog and run CONTAINS queries against it.
Timo


Re: urgent help needed: error 7342 (full text search problem) John Kane
2/21/2005 8:03:37 AM
Timo,
Great News! Sometimes, if things don't work it is necessary to re-install,
apply a Service Pack or even re-boot as I've seen all of these simple tasks
resolve SQL FTS issues! In this case it could of been either the
re-installation or applying SP2 that did the trick.

Regards,
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/



[quoted text, click to view]

Re: urgent help needed: error 7342 (full text search problem) Hilary Cotter
2/21/2005 10:28:43 AM
There is another way where you can install it off the service pack
directory - however I am not convinced this will help. I think your best
opportunity is to call PSS at this point.

[quoted text, click to view]

AddThis Social Bookmark Button