Thesaurus Moss 2007
-
Wednesday, July 11, 2007 9:35 PMI 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>
All Replies
-
Tuesday, July 17, 2007 4:52 AM
i am facing exactly same problem.
any one has idea how to resolve this ?
nilesh
-
Tuesday, July 17, 2007 6:56 AM
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
-
Tuesday, July 24, 2007 9:04 AM
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 '...
<xs
chema id="thesaurusSchema" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn
chemas-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?
-
Friday, August 03, 2007 7:27 PMIt seems your explaining that your having trouble opening the file?
It's just a text file, You can open it with notepad. -
Wednesday, November 07, 2007 8:46 AM
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
-
Wednesday, November 07, 2007 11:19 AM
My issue was resolved by removing the case tag. see here
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2372821&SiteID=17
-
Thursday, August 07, 2008 7:41 PMDanielTeng said:
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 '...
<xs
chema id="thesaurusSchema" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn
chemas-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?
Well, when it comes to trying to open the xml document in the browser, I get that error too, but for the thesaurus to work you don't need to do an IIS reset or recrawl.
in the command prompt you need to do the following commands
net osearch stop
net osearch start
this will stop and then start the MOSS search service and will then allow your thesaurus to be active. I looked and your thesaurus file does not have any errors (syntax).- Proposed As Answer by JJ86 Thursday, August 07, 2008 7:42 PM
- Unproposed As Answer by Mike Walsh FINMicrosoft Community Contributor Monday, January 05, 2009 11:26 AM
-
Monday, January 05, 2009 2:39 AMJust to clarify on the above post, the correct command at the command line is:
- net stop osearch
- net start osearch
Catho

