Schmitt31

I have been trying to get the thesaurus files working in Moss 2007
but even if I just remove the comment in the tsenu file so test
Microsoft's example when you double click to view the file it shows

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.
____________ _________ _________ _________ _
Error opening input file: 'tsSchema.xml' . Incorrect definition for
the root element in schema. Error processing resource '...

I was just curios if anyone else has tried using the thesaurus file
and seen similar issues. Below I included a copy of the thesaurus
file I was working with. Also I know in 03 you had to restart the
search service what is required in 2007 to make it recognize the
file Thank you any help is greatly appreciated

<XML ID="Microsoft Search Thesaurus">

<thesaurus xmlns="x-schema: tsSchema. xml">
<diacritics_ sensitive> 0</diacritics_ sensitive>
<expansion>
<sub>Internet Explorer</sub>
<sub>IE</sub>
<sub>IE5</sub>
</expansion>
<replacement>
<pat>NT5</pat>
<pat>W2K</pat>
<sub>Windows 2000</sub>
</replacement>
<expansion>
<sub>run</sub>
<sub>jog</sub>
</expansion>
</thesaurus>
</XML>


Re: SharePoint - Search Thesaurus Moss 2007

n.shah12

i am facing exactly same problem.

any one has idea how to resolve this

nilesh






Re: SharePoint - Search Thesaurus Moss 2007

n.shah12

ans found:

1st check which Thesaurus is being getting used(from internet explorere browser language seeting)

2nd

put file in the below mentioned location:

C:\Program Files\Microsoft Office Servers\12.0\Data\Office Server\Applications\94ed03ac-3a8c-4f6a-8e0d-36c90278eb0b\Config\

restart "office sharepoint server search"

things will work....

regards

nilesh shah






Re: SharePoint - Search Thesaurus Moss 2007

DanielTeng

Hi,

I am still facing the same problem. I have done a restart (reset IIS and also recrawl) but it doesn't work. Can anyone help

This is the error I am getting when I open the file:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Error opening input file: 'tsSchema.xml'. Incorrect definition for the root element in schema. Error processing resource '...

<xsTongue Tiedchema id="thesaurusSchema" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urnTongue Tiedchemas-microsoft-...

Here is the contents of the file:

<XML ID="Microsoft Search Thesaurus">

<thesaurus xmlns="x-schema:tsSchema.xml">
<diacritics_sensitive>0</diacritics_sensitive>
<expansion>
<sub>Internet Explorer</sub>
<sub>IE</sub>
<sub>IE5</sub>
</expansion>
<replacement>
<pat>NT5</pat>
<pat>W2K</pat>
<sub>Windows 2000</sub>
</replacement>
<expansion>
<sub>run</sub>
<sub>jog</sub>
</expansion>
</thesaurus>

</XML>

I tried this as well, but it didn't work :

<XML ID="Microsoft Search Thesaurus">

<thesaurus xmlns="x-schema:tsSchema.xml">
<diacritics = false/>
<expansion>
<sub>Internet Explorer</sub>
<sub>IE</sub>
<sub>IE5</sub>
</expansion>
<replacement>
<pat>NT5</pat>
<pat>W2K</pat>
<sub>Windows 2000</sub>
</replacement>
<expansion>
<sub>run</sub>
<sub>jog</sub>
</expansion>
</thesaurus>
</XML>

Anyone can help





Re: SharePoint - Search Thesaurus Moss 2007

Stefan Keir Gordon

It seems your explaining that your having trouble opening the file

It's just a text file, You can open it with notepad.




Re: SharePoint - Search Thesaurus Moss 2007

stevemagid

I have the same issue. Stefan, I think he knows how to edit the file, what he means is that perhaps he has a problem with tsschema because when he wants to vie the xml in the browser to check if its well formed he gets an error.

I have the same issue and I dont have any duplicates in tsNeu





Re: SharePoint - Search Thesaurus Moss 2007

stevemagid

My issue was resolved by removing the case tag. see here

http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=2372821&SiteID=17