Search Server: Developers and Customization ForumDiscussion dedicated to customizing or developing applications with Microsoft Search Server.© 2009 Microsoft Corporation. All rights reserved.Fri, 27 Nov 2009 10:37:29 Zf9f49706-ae81-4ac3-a722-9505e6242883http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/d9929074-e7a4-4257-b938-83b46ff3dcf1http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/d9929074-e7a4-4257-b938-83b46ff3dcf1Ivan Clayhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ivan%20ClayUnknown hard error and soft error in search server logHi all,<br/> <br/> These error messages appeared in our search server log. Does anyone have a clue of what could be causing them?<br/> <br/> Timestamp                  Process                TID       Area                       Category                       EventID    Level         Message     Correlation <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)   0x104C    Search Server Common       MS Search Query Processor      0    Medium      HardError added: 0x80070079 - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1053     <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)   0x104C    Search Server Common      MS Search Query Processor      0    Medium      HardError added: 0x80070002 - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1053     <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)   0x104C    Search Server Common       MS Search Query Processor      0    Medium      SoftError added: 0x80041605 - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1070     <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)   0x104C    Search Server Common       MS Search Query Processor      0    Medium      SoftError added: 0x8004161a - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1070     <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)      0x104C    Search Server Common      MS Search Query Processor      0    Medium      SoftError added: 0x80041606 - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1070     <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)      0x104C    Search Server Common       MS Search Query Processor      0    Medium      SoftError added: 0x80044101 - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1070     <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)      0x104C    Search Server Common       MS Search Query Processor      0    Medium      SoftError added: 0x80041607 - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1070     <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)      0x104C    Search Server Common       MS Search Query Processor      0    Medium      SoftError added: 0x80041619 - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1070     <br/> 11/25/2009 08:45:12.59     w3wp.exe (0x0084)      0x104C    Search Server Common       MS Search Query Processor      0    Medium      SoftError added: 0x80041602 - File:d:\office\source\search2\ytrip\tripoli\icommand\qpcache.cxx Line:1070     <br/> <br/> Best Regards,<br/> Ivan ClayWed, 25 Nov 2009 19:14:08 Z2009-11-27T10:37:29Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/579d6355-34d1-4922-91a8-0a1c163198d4http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/579d6355-34d1-4922-91a8-0a1c163198d4Grant Shirreffshttp://social.msdn.microsoft.com/Profile/en-US/?user=Grant%20ShirreffsReturning a URL other than the indexed one<p>I am developing a custom protocol handler for Search Server and Desktop Search.<br/><br/>When running under Search Server, I want to use my custom protocol handler and private URLs (myprotocol://server/whatever) for indexing, but set the indexed items so that when they are queried from the standard Search Server web pages (i.e. Default.aspx, Results.aspx) they display a different URL (e.g. <a href="http://someserver.com/somethingelse?morestuff">http://someserver.com/somethingelse?morestuff</a>).  Is it possible to do this?  I've tried the following so far:<br/><br/>  - indexing a property using the Shell schema property System.ItemUrl, with the new HTTP value<br/><br/>  - indexing a property using the Search Server property &quot;ows_URL&quot;, with the new HTTP value<br/><br/>The first approach resulted in every item being crawled with a warning &quot;Content for this URL is excluded by the server because a no-index attribute&quot;, displaying the HTTP url.  I tried adding specifically the stem of the HTTP url as an included crawl rule, with no effect.<br/><br/>In the second approach everything indexed correctly, but the returned URLs are still the indexed (i.e. myprotocol) ones.<br/><br/>So, is there any way of doing what I want here?<br/><br/>Thanks<br/>Grant</p>Fri, 27 Nov 2009 04:16:14 Z2009-11-27T10:31:03Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/9d45bede-d25b-4332-b1f7-7e5c20125bddhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/9d45bede-d25b-4332-b1f7-7e5c20125bddGrant Shirreffshttp://social.msdn.microsoft.com/Profile/en-US/?user=Grant%20ShirreffsSearch Indexer seems to hang when indexingWe have a strange problem when indexing a large data set under Search Server Express, using our own custom search protocol handler.  Everything runs fine, until, usually, 20480 items have been indexed, and then everything stops.  The CPU usage is zero, and all running crawls indicate that they are still running.  The administration pages all still respond.  But no further indexing is seen (indicated by the crawl logs).  If we give the OSearch service a slap around the head (stop and restart), it then carries on from exactly where it appeared to hang, for another, you guessed it, 20480 items.  At which point it hangs again.  A couple of times we have seen indexing hang after 10240 items instead of 20480.  But the numbers are exact.<br/><br/>If a crawl from a different crawl source (e.g. the default SharePoint source) is running, it appears to hang also.  If we try to stop the running crawls their status changes to Stopping, and never changes from that.<br/><br/>Monitoring the resource usage of the protocol host processes show that our protocol is not consuming any resources.  The same protocol handler is used with Desktop Search, and there it has no problems indexing more than 20k items.<br/><br/>There are no relevant entries in the Application Event Log.<br/><br/>Are there any known issues or strange behaviour that regularly take place after multiples of 10k items have been indexed?  We are utterly stumped here, and this is looking like a show stopper.Wed, 25 Nov 2009 02:53:51 Z2009-11-27T10:23:14Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/2aed6c18-5126-4ca5-bfff-0441a1f5e6eehttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/2aed6c18-5126-4ca5-bfff-0441a1f5e6eeIvan Clayhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ivan%20ClayProblem with MS Search Server 2008 Express, when I use Contains predicate<span lang=EN-US>Hello all,</span> <p class=MsoNormal><span lang=EN-US>I am facing a problem with Microsoft Search Server 2008 Express. I built a customized search application using Microsoft Search Server Express. In this application I used<span>  </span> the “Like” predicate to filter the path managed property. </span></p> <p class=MsoNormal><span lang=EN-US>Following instructions found in MS forums about the 64 character limitation associated to the Like predicate (</span> <a href="http://social.microsoft.com/Forums/en-US/Offtopic/thread/12ea7757-7ca7-42b8-9ed2-59acd00d283d"><span lang=EN-US>http://social.microsoft.com/Forums/en-US/Offtopic/thread/12ea7757-7ca7-42b8-9ed2-59acd00d283d</span> </a> <span lang=EN-US>), we changed the code to use the “Contains” predicate. Now it returns several results in development environment, but none in production environment.</span></p> <p class=MsoNormal><span lang=EN-US>The query is as follows:</span></p> <p class=MsoNormal><span lang=EN-US>SELECT Rank, Title, Path, HITHIGHLIGHTEDSUMMARY, FileExtension, Created, Size FROM SCOPE() WHERE isDocument=1 AND &quot;scope&quot;='Geral' AND FREETEXT(DEFAULTPROPERTIES,'pdf') AND (CONTAINS(Path, 'file://xxxxx/xxxxxx/x/x/')) ORDER BY Rank DESC'</span></p> <p class=MsoNormal><span lang=EN-US>We checked the Sharepoint log, and observed that the query is composed by an SQL part and a Tripoli part. The SQL part of the query returns thousands of candidates, but the Tripoli part brings zero candidates. So the join does not bring any results. Also, no error or exception appears in the log, even in verbose mode.</span></p> <p class=MsoNormal><span lang=EN-US>Any ideas of what could be the problem?</span></p> <p class=MsoNormal><span lang=EN-US>Besides, I have the following questions:</span></p> <p class=MsoListParagraphCxSpFirst style="text-indent:-18pt"><span lang=EN-US><span>1.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal">       </span> </span> </span> <span lang=EN-US>Is it recommended to use wildcard (*) to match subfolders using the Contains predicate?</span></p> <p class=MsoListParagraphCxSpMiddle><span lang=EN-US> </span></p> <p class=MsoListParagraphCxSpLast style="text-indent:-18pt"><span lang=EN-US><span>2.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal">       </span> </span> </span> <span lang=EN-US>There are some differences between the test and production environments. One of them is regarding Culture/Language. We developed the application in Windows XP, tested it in a Windows 2003 Server (Portuguese PT-BR) and the production environment is Windows 2003 Server (English EN-US). Should this language configuration difference be a cause for no result being returned?</span></p> <p class=MsoNormal><span lang=EN-US>Best Regards,</span></p> <span lang=EN-US> Ivan Clay</span>Mon, 23 Nov 2009 18:46:20 Z2009-11-23T18:46:20Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/99e05a08-86fd-4ecb-b527-589575809830http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/99e05a08-86fd-4ecb-b527-589575809830Jonathan Druryhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jonathan%20Druryliteral string seach on OCR documents different results in SSE 2008 and SPS2003I have an existing search solution that was built on Sharepoitn 2003, that searches a file share of pdf documents that have been OCR'd.   In that system a literal string search for &quot;Sample collection date/Time 08-Aug-2009&quot; will correctly return the document(s) that I am looking for. <br/><br/>I have a search server express 2008 setup to crawl the same file shares.  In this install the same search returns no results. <br/><br/>Any ideas on if the crawl/index/search settings can be manipulated to return the same resutls in both?Wed, 09 Sep 2009 18:43:47 Z2009-11-22T12:34:30Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/34ee00ab-44c7-44c0-a299-701c263b84d6http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/34ee00ab-44c7-44c0-a299-701c263b84d6sachin.srivastavahttp://social.msdn.microsoft.com/Profile/en-US/?user=sachin.srivastavaLocating Domain ControllerHi all,<br/> <br/> I have a domain controller on Windows 2008 as dc.win2k8.com.<br/> I made my WinXP 64 bit to join that domain, which is completed successful.<br/> <br/> Now i have an application which want to create a user on the domain-controller. something like<br/> <br/> newuser.exe &lt;domain name&gt; &lt;user&gt; &lt;password&gt;<br/> <br/> which internally uses DsGetDcName function as:<br/> <br/> status = DsGetDcName(NULL,<br/> domainname,<br/> NULL,<br/> NULL,<br/> DS_FORCE_REDISCOVERY,<br/> &amp;domainControllerInfo);<br/> <br/> When this gets executed, I always get:<br/> <br/> status == ERROR_NO_SUCH_DOMAIN<br/> <br/> I run this as :<br/> newuser.exe dc test testingPWD123<br/> or<br/> newuser.exe dc.win2k8.com test testingPWD123<br/> <br/> Note: When i ran the same executable on the DC itself it run fine..<br/> <br/> Please help..<br/> <br/> Thanks.Thu, 19 Nov 2009 14:08:47 Z2009-11-19T14:08:48Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/bfca7ffd-72c4-4dc8-a6c8-b746de129fa0http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/bfca7ffd-72c4-4dc8-a6c8-b746de129fa0j.bornethttp://social.msdn.microsoft.com/Profile/en-US/?user=j.bornetFilter result by langHi<br/><br/>my request is this one :<br/><br/><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small"> <p>&lt;QueryPacket xmlns=&quot;&quot;urn:Microsoft.Search.Query&quot;&quot;&gt;<br/>&lt;Query&gt;<br/>&lt;SupportedFormats&gt;&lt;Format&gt;urn:Microsoft.Search.Response.Document:Document&lt;/Format&gt;&lt;/SupportedFormats&gt;<br/>&lt;Context&gt;<br/>&lt;QueryText type=&quot;&quot;MSSQLFT&quot;&quot; language=&quot;&quot;{1}&quot;&quot;&gt;{0}&lt;/QueryText&gt;<br/>&lt;/Context&gt;<br/>&lt;Range&gt;<br/>&lt;StartAt&gt;{2}&lt;/StartAt&gt;<br/>&lt;Count&gt;{3}&lt;/Count&gt;<br/>&lt;/Range&gt;<br/>&lt;EnableStemming&gt;true&lt;/EnableStemming&gt;<br/>&lt;TrimDuplicates&gt;true&lt;/TrimDuplicates&gt;<br/>&lt;IgnoreAllNoiseQuery&gt;true&lt;/IgnoreAllNoiseQuery&gt;<br/>&lt;ImplicitAndBehavior&gt;true&lt;/ImplicitAndBehavior&gt;<br/>&lt;IncludeRelevanceResults&gt;true&lt;/IncludeRelevanceResults&gt;<br/>&lt;IncludeSpecialTermResults&gt;true&lt;/IncludeSpecialTermResults&gt;<br/>&lt;IncludeHighConfidenceResults&gt;true&lt;/IncludeHighConfidenceResults&gt;<br/>&lt;/Query&gt;<br/>&lt;/QueryPacket&gt;</p> </span></span>so {1} is replaced with the appropiated value but it doesn't work. I find this : <a href="http://msdn.microsoft.com/en-us/library/ms466955.aspx">http://msdn.microsoft.com/en-us/library/ms466955.aspx</a> but it's not realy clear. Is this paramater only use for keyword? what can id do?<br/><br/>regards<br/>Wed, 18 Nov 2009 15:30:36 Z2009-11-19T16:59:53Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/66bdde05-c71a-4498-a263-cf051e17e60ehttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/66bdde05-c71a-4498-a263-cf051e17e60eMarty_jfhttp://social.msdn.microsoft.com/Profile/en-US/?user=Marty_jfIncludeSpecialTermResults returns no Best BetsI've recently started working with the Microsoft Search Server 2008 Express web service and am having an issue with the Best Bets and IncludeSpecialTermResults.<br/> <br/> When I do a search for a given term in the Search Center, the two Best Bets I've created come up before the results.<br/> <br/> When I have IncludeSpecialTermResults set to true in the QueryEx request I make using the web service, the SpecialTermResults always returns a row count of 0 - regardless of Search Term - so if I search for the previous term which showed Best Bets on the out-of-the-box Search Center, it still returns no results in the SpecialTermResults table.<br/> <br/> Has anyone else encountered this issue? Or is it a configuration thing somewhere I'm missing.<br/> <br/> Thanks,<br/> MartyWed, 18 Nov 2009 01:48:27 Z2009-11-18T01:48:27Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/9c1f11e2-bfa6-48fc-8426-a5db662df3efhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/9c1f11e2-bfa6-48fc-8426-a5db662df3efjojoreddyhttp://social.msdn.microsoft.com/Profile/en-US/?user=jojoreddystore procedure for executing ssis packagehi .. <div> can any one please help me  with the syntax for executing ssis pacakage  by writing a store procceudre in sql server  . and parallely the store procedure should have a variable which should take the values which i am specifing and use it as a variable values in the contorl flow......</div> <div><br/></div> <div>thanks a lot in advance.</div>Tue, 17 Nov 2009 14:27:18 Z2009-11-17T14:27:19Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/5f44f4c4-3661-4497-a292-b361d8cc68b7http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/5f44f4c4-3661-4497-a292-b361d8cc68b7Ivan Clayhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ivan%20ClayDoes anyone know if there is a limitation for the file path size in MS Search Server 2008 Express?<span lang=EN-US>Hello all,</span> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal><span lang=EN-US>I work in a project to develop a search application using MS Search Server 2008 Express as the search engine.  </span></p> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal><span lang=EN-US>The application is already being tested, but we detected a problem that impacts the results returned by the application.</span></p> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal><span lang=EN-US>We were able to generate a trace analysis of the process using SQL PROFILER tool. We discovered that the query string sent by the search engine to the database was being trucated after the 64th caracter,like in the example below:</span></p> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal><span lang=EN-US>real file path search: N'file://168.201.168.10/server/university/campus/files/search/1/0/%';</span></p> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal><span lang=EN-US>returned file path search: N'file://168.201.168.10/server/university/campus/files/search/1/0/'</span></p> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal><span lang=EN-US>Note that, in the example above, the last character ('%'), that occupies the 65th string position, was discarded.</span></p> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal><span lang=EN-US>Does anyone know if there is a limitation for the file path size in MS Search Server 2008 Express?</span></p> <p class=MsoNormal><span lang=EN-US> </span></p> <p class=MsoNormal>Best Regards,</p>Fri, 13 Nov 2009 19:06:55 Z2009-11-13T19:06:56Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/c124b2ab-33bf-4546-b32f-c7e6a88b3911http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/c124b2ab-33bf-4546-b32f-c7e6a88b3911KKirkhttp://social.msdn.microsoft.com/Profile/en-US/?user=KKirkStop SQL Server doing an unneccessary clustered index insert on a viewHi<br/><br/>I have a large table (between 74 and 88million rows) which is the middle table (Table B) of a many to many relationship. I have a view that builds a unified picture of the data contained in the these tables. The view has a clustered index defined against it. <br/><br/>Table A on the left hand side of my large table is the core table in my database. Table C is the table that contains the normalised data items. When I insert a new record into table C the task takes a long time to complete (5mins on a very very good server). This is because SQL server rebuilds part of the clustered index on the view (I can see a clustered index insert in the actual execution plan). This is despite the new row in Table C not being referenced in Table B. Inserting rows into Table A and Table B takes milliseconds as I would expect. The database is not partitioned.<br/><br/> <p>This is an annoymised version of the tables creation script. I've left the columns that aren't used in so you can see the full structure of the tables.<br/></p> <p>CREATE TABLE [dbo].[TableA] (<br/>[TableAId] [INT] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED ,<br/>[TableAIdGUID] [uniqueidentifier] NOT NULL,<br/>[ImportantId] [INT] NOT NULL ,<br/>[DateCreated] [datetime] NOT NULL ,<br/>[OtherId2] [int] NOT NULL ,<br/>[TableATypeId] [int] NOT NULL ,<br/>[Active] [bit] NOT NULL ,<br/>[AuditUser] [NVARCHAR] (20) NULL , <br/>[AuditTime] [datetime] NULL <br/>)<br/>GO<br/><br/>CREATE TABLE [dbo].[TableB] (<br/>[TableBId] [INT] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED ,<br/>[TableBGUID] [uniqueidentifier] NOT NULL,<br/>[TableAId] [INT] NOT NULL ,<br/>[TableCId] [INT] NOT NULL ,<br/>[Tag] [NVARCHAR] (50) NULL , <br/>[Order] [tinyint] NOT NULL ,<br/>[DateCreated] [datetime] NOT NULL ,<br/>[Date1] [datetime] NULL ,<br/>[Date2] [datetime] NULL ,<br/>[LastUpdated] [datetime] NOT NULL ,<br/>[Active] [bit] NOT NULL ,<br/>[AuditUser] [NVARCHAR] (20) NULL , <br/>[AuditTime] [datetime] NULL<br/>)<br/>GO<br/><br/>CREATE TABLE [dbo].[TableC] (<br/>[TableCId] [INT] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED ,<br/>[TableCIdGUID] [uniqueidentifier] NOT NULL,<br/>[TableCTypeId] [int] NOT NULL ,<br/>[TableCValue] [NVARCHAR] (255) NOT NULL , <br/>[Frequency] [float] NOT NULL DEFAULT 1,<br/>[TableCValue2] [NVARCHAR] (255) NULL ,<br/>[AuditUser] [NVARCHAR] (20) NULL ,<br/>[AuditTime] [datetime] NULL <br/>)<br/>GO<br/><br/>CREATE VIEW [dbo].[vwTables]<br/>WITH SCHEMABINDING ,ENCRYPTION<br/>AS<br/><br/>SELECT dbo.[TableB].TableBId, <br/>dbo.[TableB].TableAId, <br/>dbo.TableA.ImportantId,<br/>dbo.TableC.TableCValue,<br/>dbo.TableC.TableCValue2, <br/>dbo.TableC.TableCTypeId,<br/>dbo.TableA.TableATypeId<br/>FROM dbo.[TableB] INNER JOIN<br/>dbo.TableC ON dbo.[TableB].TableCId = dbo.TableC.TableCId INNER JOIN<br/>dbo.TableA ON dbo.[TableB].TableAId = dbo.TableA.TableAId<br/>WHERE (dbo.[TableB].Active = CAST(1 AS BIT)) AND (dbo.TableC.TableCValue&lt;&gt;'') and (dbo.TableC.TableCValue is not null)<br/>GO<br/><br/>CREATE UNIQUE CLUSTERED INDEX [IX_vwTables] ON [dbo].[vwTables] <br/>(<br/>[TableCValue] ASC,<br/>[TableCTypeId] ASC,<br/>[TableBId] ASC,<br/>[ImportantId] ASC<br/>)<br/>GO<br/><br/>ALTER TABLE [dbo].[TableB] ADD <br/>CONSTRAINT [FK_TableB_TableC] FOREIGN KEY <br/>(<br/>[TableCId]<br/>) REFERENCES [dbo].[TableC] (<br/>[TableCId]<br/>),<br/>CONSTRAINT [FK_TableB_TableA] FOREIGN KEY <br/>(<br/>[TableAId]<br/>) REFERENCES [dbo].[TableA] (<br/>[TableAId]<br/>)<br/>GO<br/><br/><br/>CREATE NONCLUSTERED INDEX [IX_TableA_Nonclustered] ON [dbo].[TableA] <br/>(<br/>[ImportantId] ASC,<br/>[TableAId] ASC,<br/>[TableATypeId] ASC,<br/>[Active] ASC<br/>)<br/>GO<br/><br/>CREATE NONCLUSTERED INDEX [IX_TableA_OtherId2] ON [dbo].[TableA] <br/>(<br/>[AuditTime] ASC,<br/>[OtherId2] ASC<br/>)<br/>GO<br/><br/><br/>CREATE NONCLUSTERED INDEX [IX_TableB_NonClustered] ON [dbo].[TableB] <br/>(<br/>[TableAId] ASC,<br/>[TableBId] ASC,<br/>[Active] ASC<br/>)<br/>GO<br/><br/>CREATE NONCLUSTERED INDEX [IX_EntityAttributes_NonClustered_2] ON [dbo].[TableB] <br/>(<br/>[TableBId] ASC,<br/>[TableAId] ASC,<br/>[TableCId] ASC,<br/>[Tag] ASC,<br/>[Active] ASC<br/>) <br/>GO</p> <p>Does anyone know why SQL Server decides it needs to rebuild part of the index when I insert into TableC and not TableA or TableB and how I can prevent it from doing so.<br/><br/>Thanks in advanced.</p>Tue, 10 Nov 2009 14:59:00 Z2009-11-10T14:59:00Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/687e709a-8e74-4f34-831a-2bf1d9d7bf15http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/687e709a-8e74-4f34-831a-2bf1d9d7bf15renevohttp://social.msdn.microsoft.com/Profile/en-US/?user=renevoSearch results depends on sequence of words<span lang=N> <p>We have few 100 items within a SharePoint List. We use SSE for indexing this list. We try to implement some kind of wildcard functionality by using the SSE Search WebService. <a href="http://&lt;server&gt;/_vti_bin/search.asmx">http://&lt;server&gt;/_vti_bin/search.asmx</a>. We get some results but somehow they are unpredictable.<br/><br/>For Example:<br/><br/>We have the following data<br/><br/>1 2009 cb1fc11bc79d - 12-10- 2009<br/>2 UNITTEST - 12-10-2009<br/>3 Lorem Ipsum, Lorem met Ipsum Dolar - Related to xxx  <br/>4 Related to xxx  - Lorem Ipsum, Lorem met Ipsum Dolar<br/><br/><strong>Searched for: like '%2009%' <br/></strong>Row 1 is returned<br/><br/><strong>Searched for: like '%met%' <br/></strong>Row 3 is returned</p> <p>We use this query (simplified) to search.<br/>&lt;QueryText type=&quot;MSSQLFT&quot; language=&quot;en-us&quot;&gt;select title from scope() where title <strong> like '%met%' </strong><br/>&lt;/QueryText&gt;<br/><br/>We miss row 2 and 4, while they contain the exact same data only in a different sequence.<br/><br/>Can someone please help?<br/><br/>Thanks<br/>Rene</p> </span>Fri, 06 Nov 2009 17:19:31 Z2009-11-06T17:19:32Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/5ea7583a-7bec-4be5-842d-4bdba8763ffahttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/5ea7583a-7bec-4be5-842d-4bdba8763ffaEdward444http://social.msdn.microsoft.com/Profile/en-US/?user=Edward444Use the Company property in Advanced Search?I've added the Search web part to my SharePoint site, and I've noticed that in the Advanced Search section, if I select &quot;Word Document&quot; from Result Type, the Property drop-down exposes two extra values - &quot;Company&quot; and &quot;Manager&quot;.  I've added these as columns to various of my Document Libraries but if I enter a search to find documents that contain Company = &lt;search string&gt; (where &lt;search string&gt; can be a single letter, which I <strong>know</strong> ought to return a collection of documents).  So I'm a bit confused - how can I get this to work?  My site needs to classify the documents by Company (there will eventually be about 100,000 documents in it) and the users need to search for documents sent to a particular company, so....<br/><br/>Any thoughts?<br/><br/>Thanks<br/><br/>EdwardThu, 22 Oct 2009 15:15:37 Z2009-10-23T09:37:40Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/39a2f848-f86b-476c-aa88-d87ae07b3117http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/39a2f848-f86b-476c-aa88-d87ae07b3117Frank_Ahttp://social.msdn.microsoft.com/Profile/en-US/?user=Frank_ASearch Server 14 Express - installation doesn't startHi guys!<br/><br/>I just tried to install the new &quot;Search Server 14 Express Edition&quot; (Technical Preview!)on a new virtual machine with Win2003 Server (latest patches installed) but after deflating the archives only the installation gui appears but when I click either &quot;install software prerequisites&quot; or &quot;install search server&quot; nothing happens.<br/><br/>I configured the server as an &quot;application server&quot; and installed wss3.0, .net 3.5, and the Windows Workflow Foundation manually (since these were prereqs for the Search Server).<br/>WSS3.0 works fine so the IIS is configured correctly. ;-)<br/><br/>I had the same problems with Search Server 2008 Express too, so I thought somebody may throw an idea into my direction...<br/><br/>Anyone with ideas whats going wrong?<br/><br/>Thanks in advance!<br/><br/>FrankMon, 31 Aug 2009 13:03:06 Z2009-10-16T23:10:30Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/ede7d079-3516-484d-b356-31f5dadb8280http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/ede7d079-3516-484d-b356-31f5dadb8280alkhalilihttp://social.msdn.microsoft.com/Profile/en-US/?user=alkhaliliwhy to use VS2008 to develop for wince 5.0<p><span style="font-size: 8pt; color: black; font-family: Verdana;">I just started development for wince 5.0 using embedded vc++ 4.0, i want to use c++ api. Then i noticed that in visual studio&nbsp;2008, there is a feature to create projects for wince.<br /><br />My question is: what is the difference when using embedded vc++ 4.0 or VS2008 to develop for wince? What advantages/disadvantages in both? How i have to decide which one to use?<br /><br />Help is appreciated.</span></p>Fri, 16 Oct 2009 11:55:17 Z2009-10-16T11:55:18Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/4aba185b-284c-4144-b171-94a93723f1d5http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/4aba185b-284c-4144-b171-94a93723f1d5R0NYhttp://social.msdn.microsoft.com/Profile/en-US/?user=R0NYssascan i create one hierarchy from&nbsp;two or more dimension tables ?????Thu, 15 Oct 2009 15:40:19 Z2009-10-15T15:40:20Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/90fe7ef6-efe7-4e96-9def-3da1a3ee9d77http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/90fe7ef6-efe7-4e96-9def-3da1a3ee9d77gauravdhamija83http://social.msdn.microsoft.com/Profile/en-US/?user=gauravdhamija83Federated Search on File Servers and Exchange Server Public FoldersHi,<br /><br />I want to use Federated Search webparts&nbsp;to show up search results from File Share and Exchange Server Publich Folders.<br />I have few questions in this regard:<br />a) Do I need to write Federated Search Connector or will I have to create content sources in MS Search Server for above mentioned data sources?<br />b) How to write .FLD files for configuring federated search for FileShare and Exchange Server Publich Folders?<br />c) How to configure security for above data sources so that only data valid for currently logged in user is visible?<br /><br />I will be grateful for any guidance in this regard.<br /><br />Thanks,<br />GauravThu, 08 Oct 2009 06:10:32 Z2009-10-08T06:10:33Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/bc94e8ec-4393-48bf-9eef-76aeec42468ahttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/bc94e8ec-4393-48bf-9eef-76aeec42468aa3ererewrwertrterhttp://social.msdn.microsoft.com/Profile/en-US/?user=a3ererewrwertrtercrawled properties from my asp pages not available on my search.asmx search result<p>I have my crawled propeties scanned and indexed on my Search Express 2008. I can even see those asp pages are reported being using in Search Admin &gt; metadata properties but those crawled properties aren't available on my search result from search.asmx QueryEx</p> <p>for example: I have an asp page has the following meta tag, and I've mapped those crawled properties to managed properties and also did full crawl.<br />&lt;meta name="ExpiryDate" content="3/28/2010"&gt;<br />&lt;meta name="Contact" content="William Smith"&gt;<br />&lt;meta name="dc.date.created" content="2/2/2004"&gt;<br />&lt;meta name="dc.date.modified" content="5/8/2009"&gt;</p> <p>when I have my QueryEX<br /><br />select&nbsp; title, path, fileextension,&nbsp; HitHighlightedSummary, created, enddate, FileName, size, rank, author, write, sitename&nbsp; <br />from scope() <br />where freetext('testing')&nbsp;&nbsp; <br />and sitename = 'http://intranet' <br />and (fileextension = 'HTML' or fileextension = 'HTM' or fileextension = 'ASP' or fileextension = 'DOC' or fileextension = 'XLS' or fileextension = 'PDF'&nbsp; ) <br />order by rank desc<br /><br />XML result (see .doc has enddate, created and wirte but none for asp page)<br /></p> <div class="e"> <div class="c" style="margin-left: 1em; text-indent: -2em;"><a class="b" onclick="return false" href="http://social.msdn.microsoft.com/forums/en-US/newthread/#" onfocus="h()"><strong><span style="color: #ff0000; font-family: Courier New;">-</span></strong></a> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span style="color: #990000;"><span class="t">RelevantResults</span><span class="t"> diffgr:id</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong>RelevantResults266</strong><span class="m"><span style="color: #0000ff;">"</span></span><span class="t"><span style="color: #990000;"> msdata:rowOrder</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong>265</strong><span style="color: #0000ff;"><span class="m">"</span><span class="m">&gt;</span></span></div> <div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">TITLE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>Monday, May 12, 2008</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">TITLE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">PATH</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>http://intranet/content/bulletin/08-05-eng/media0512.asp</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">PATH</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">FILEEXTENSION</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>ASP</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">FILEEXTENSION</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">HITHIGHLIGHTEDSUMMARY</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>&lt;ddd/&gt; story of the 1980 &lt;c0&gt;Banff&lt;/c0&gt; maulings from a grizzly's perspective</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">HITHIGHLIGHTEDSUMMARY</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">FILENAME</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>media0512.asp</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">FILENAME</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">SIZE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>30790</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">SIZE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">RANK</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>858</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">RANK</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div class="c" style="margin-left: 1em; text-indent: -2em;"><a class="b" onclick="return false" href="http://social.msdn.microsoft.com/forums/en-US/newthread/#" onfocus="h()"><strong><span style="color: #ff0000; font-family: Courier New;">-</span></strong></a> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">AUTHOR</span></span><span class="ns"><span style="color: #ff0000;"> xmlns:xsi</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong class="ns"><span style="color: #ff0000;">http://www.w3.org/2001/XMLSchema-instance</span></strong><span class="m"><span style="color: #0000ff;">"</span></span><span class="ns"><span style="color: #ff0000;"> xmlns:xsd</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong class="ns"><span style="color: #ff0000;">http://www.w3.org/2001/XMLSchema</span></strong><span style="color: #0000ff;"><span class="m">"</span><span class="m">&gt;</span></span></div> <div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">string</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>Denise Guindon</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">string</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">AUTHOR</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">SITENAME</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>http://intranet</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">SITENAME</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">RelevantResults</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> </div> <p>&nbsp;</p> <div class="e"> <div class="c" style="margin-left: 1em; text-indent: -2em;"><a class="b" onclick="return false" href="http://social.msdn.microsoft.com/forums/en-US/newthread/#" onfocus="h()"><strong><span style="color: #ff0000; font-family: Courier New;">-</span></strong></a> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span style="color: #990000;"><span class="t">RelevantResults</span><span class="t"> diffgr:id</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong>RelevantResults268</strong><span class="m"><span style="color: #0000ff;">"</span></span><span class="t"><span style="color: #990000;"> msdata:rowOrder</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong>267</strong><span style="color: #0000ff;"><span class="m">"</span><span class="m">&gt;</span></span></div> <div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">TITLE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>Ecological Monitoring and Reporting Working Plan 2004-05</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">TITLE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">PATH</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>http://intranet/content/eco-re/orig/banff 08-09 workplan_e.doc</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">PATH</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">FILEEXTENSION</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>DOC</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">FILEEXTENSION</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">HITHIGHLIGHTEDSUMMARY</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>&lt;ddd/&gt; aerial survey of &lt;c0&gt;Banff&lt;/c0&gt; (every 5 years), with implications for caribou, moose, and carnivore populat &lt;ddd/&gt; Institute &lt;c0&gt;Banff&lt;/c0&gt; Springs Snail 0 0 Monitor snail population and habitat attributes Completed Fores &lt;ddd/&gt; y 2 3 3 3 1 3 3 3 &lt;c0&gt;Banff&lt;/c0&gt; Springs Snail - Species at Risk</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">HITHIGHLIGHTEDSUMMARY</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">CREATED</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>2008-03-26T12:56:00-04:00</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">CREATED</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div class="c" style="margin-left: 1em; text-indent: -2em;"><a class="b" onclick="return false" href="http://social.msdn.microsoft.com/forums/en-US/newthread/#" onfocus="h()"><strong><span style="color: #ff0000; font-family: Courier New;">-</span></strong></a> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">ENDDATE</span></span><span class="ns"><span style="color: #ff0000;"> xmlns:xsi</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong class="ns"><span style="color: #ff0000;">http://www.w3.org/2001/XMLSchema-instance</span></strong><span class="m"><span style="color: #0000ff;">"</span></span><span class="ns"><span style="color: #ff0000;"> xmlns:xsd</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong class="ns"><span style="color: #ff0000;">http://www.w3.org/2001/XMLSchema</span></strong><span style="color: #0000ff;"><span class="m">"</span><span class="m">&gt;</span></span></div> <div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">dateTime</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>2011-01-21T00:00:00-05:00</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">dateTime</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">ENDDATE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">FILENAME</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>banff 08-09 workplan_e.doc</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">FILENAME</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">SIZE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>142336</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">SIZE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">RANK</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>858</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">RANK</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div class="c" style="margin-left: 1em; text-indent: -2em;"><a class="b" onclick="return false" href="http://social.msdn.microsoft.com/forums/en-US/newthread/#" onfocus="h()"><strong><span style="color: #ff0000; font-family: Courier New;">-</span></strong></a> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">AUTHOR</span></span><span class="ns"><span style="color: #ff0000;"> xmlns:xsi</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong class="ns"><span style="color: #ff0000;">http://www.w3.org/2001/XMLSchema-instance</span></strong><span class="m"><span style="color: #0000ff;">"</span></span><span class="ns"><span style="color: #ff0000;"> xmlns:xsd</span></span><span class="m"><span style="color: #0000ff;">="</span></span><strong class="ns"><span style="color: #ff0000;">http://www.w3.org/2001/XMLSchema</span></strong><span style="color: #0000ff;"><span class="m">"</span><span class="m">&gt;</span></span></div> <div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">string</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>Stephen McCanny</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">string</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">string</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>Stephanie Wong</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">string</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">AUTHOR</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">WRITE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>2009-04-07T19:13:26-04:00</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">WRITE</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div class="e"> <div style="margin-left: 1em; text-indent: -2em;"><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;</span></span><span class="t"><span style="color: #990000;">SITENAME</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span><span class="tx"><strong>http://intranet</strong></span><span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">SITENAME</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> <div><span class="b"><strong><span style="color: #ff0000; font-family: Courier New;">&nbsp;</span></strong></span> <span class="m"><span style="color: #0000ff;">&lt;/</span></span><span class="t"><span style="color: #990000;">RelevantResults</span></span><span class="m"><span style="color: #0000ff;">&gt;</span></span></div> </div> </div> <p><br /><br /><br />it returns only those .doc, .ppt and .xls has "created","write" and "enddate", none of those from any asp pages.<br /><br />is there anything I have to enable ?</p>Wed, 07 Oct 2009 19:27:47 Z2009-10-07T19:27:49Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/8b83fdb7-eb30-496d-9cf6-ac43ca988c19http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/8b83fdb7-eb30-496d-9cf6-ac43ca988c19Greg Andorahttp://social.msdn.microsoft.com/Profile/en-US/?user=Greg%20AndoraIs it possible? Combining Database Content Source and File System Content Source...<span style="font-family:'Times New Roman';font-size:16px"> <div style="color:#000000;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:67%;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:#ffffff;margin:8px">Hello everyone, <div><br/></div> <div>I was wondering if there was a way in Search Server Express to combine results from the file system and a database?  We are thinking of creating an application (small DMS I guess) that will have files stored on the file system that we want to crawl and then having meta-data stored for each document in a database that we also want to crawl, but the search results to direct people to the documents the meta-data is for..  The documents are PDF files, AutoCad files, and various image format files.</div> <div><br/></div> <div>Thanks in advanced,</div> <div>Greg</div> </div> </span>Wed, 12 Aug 2009 20:08:18 Z2009-10-06T13:13:08Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/0a11c72b-da87-4483-8174-ec5bdb01a94dhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/0a11c72b-da87-4483-8174-ec5bdb01a94d杰伕http://social.msdn.microsoft.com/Profile/en-US/?user=%u6770%u4f15Cannout install "MS SQL Server 2008 Developer"Yesterday, I downloaded the MS SQL Server 2008 Developer in my company PCs, and wanted to install it; however, the installation was failed as the checker mentioned &quot;Performance counter registry hive consistency&quot; is failed. What can I do?<br/><br/>Besides, my computer os is Window Vista(TM) Business SP1 (chinese version). The most interesting thing is that when I install it in a PC with English version, it works. Thus, I would also like to question if it is the problem of language setting of the OS. Thank you.<br/><br/><br/><br/>Mon, 21 Sep 2009 01:48:15 Z2009-10-06T09:22:36Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/58d3148a-c68d-49b6-8e19-b77596cc6412http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/58d3148a-c68d-49b6-8e19-b77596cc6412Sri2080http://social.msdn.microsoft.com/Profile/en-US/?user=Sri2080retrive all child node in sqlserver 2005Hi,<br/> <br/> Have a xml file data as below<br/> <br/> &lt;TEST&lt;ARGS&gt;&lt;ARG&gt;500&lt;/ARG&gt;&lt;ARG&gt;BSB&lt;/ARG&gt;&lt;ARG&gt;SO:99&lt;/ARG&gt;&lt;ARG&gt;20&lt;/ARG&gt;&lt;/ARGS&gt;&lt;/TEST&gt;<br/> <br/> Want to retrieve ARG values and store into a database table. Is anyone help me how to write a store procedure for this.<br/> <br/> Thanks in advanceFri, 25 Sep 2009 03:54:16 Z2009-10-06T09:21:53Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/af068fd5-f5a6-4e3a-b3db-4a8cc2507c33http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/af068fd5-f5a6-4e3a-b3db-4a8cc2507c33Steven from Germanyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Steven%20from%20GermanyProblems with META TAG PROPERTY MAPPINGS<p align=left><font face=Arial size=2>Hello, </font></p> <p align=left> </p> <p align=left>I'm search after a solution how to display the keywords of a searched web site via XML search query. I mean the keywords in the meta tag of my html web site:</p> <p align=left> </p> <p align=left>&lt;meta name=&quot;keywords&quot; content=&quot;myKeywords&quot; &gt;</p> <p align=left> </p> <p align=left>When putting 'keyWords' in the SQL select query I got NO results, that means the 'keywords' column is always empty!</p> <p align=left> </p> <p align=left>So what is the problem?!</p> <p align=left> </p> <p align=left>Thanks for reply!!</p> <p align=left> </p> <p align=left>Regards from Germany,</p> <p align=left>Steven***</p> <p align=left> </p> <p align=left> </p>Mon, 25 Feb 2008 14:24:37 Z2009-10-02T22:10:21Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/cbe56fd5-91ff-4a63-94f6-7682cc6f19efhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/cbe56fd5-91ff-4a63-94f6-7682cc6f19efBharadwaj Sastryhttp://social.msdn.microsoft.com/Profile/en-US/?user=Bharadwaj%20SastryWeek Startdate and enddate by Week number in MDXHi,<br/> <br/> I have a cube with the Server Time Dimension. Our client wants a report that will give the measure values week by week. When I started the development of the report, In the Dropdown I have to give the Week Numbers to select, So that By those weeks we will pull the data. <br/> <br/> In the label part of the report parameter (the Dropdown Values), I have given the Week numbers Ex: Week 15.<br/>  But they cannot understand the what is the month or what is the daterange that weeknumber is belongs to.. So I tried to display the Report parameter label as Week Number - Startdate of the Week - End Date of the week <br/> Ex: Week 15- 04/05/2009 -04/11/2009<br/> <br/> I have tried so many ways but i didnt get the script can anyone please give me solution for this.Mon, 07 Sep 2009 09:59:26 Z2009-09-24T07:36:56Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/08beeadd-2f8d-4a8e-9ed7-f5676e707d3fhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/08beeadd-2f8d-4a8e-9ed7-f5676e707d3fsmitheryhttp://social.msdn.microsoft.com/Profile/en-US/?user=smitheryContains/Freetext multiple column specification<p align=left><font face=Arial size=2>I have searched (ironically given this is search server) high and low for reasonable documentation on search server and have come up snake eyes. In particular the proper definition for CONTAINS and FREETEXT with regards to multiple properties/columns. </font></p> <p align=left><font face=Arial size=2></font> </p> <p align=left><font face=Arial size=2>SQL specifies that multiple columns as something like this:</font></p> <p align=left> </p> <p align=left>CONTAINS( (column1,column2,column3,etc), 'searchterm' )</p> <p align=left> </p> <p align=left>Using that form in the search server query results in an error.</p> <p align=left> </p> <p align=left>Anyone know where I can find the correct documentation for this?</p> <p align=left> </p> <p align=left>Thanks.</p>Mon, 21 Apr 2008 22:13:51 Z2009-09-23T06:15:27Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/02dfa2c2-9d68-42fc-b83a-838fecae5e1fhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/02dfa2c2-9d68-42fc-b83a-838fecae5e1fNigel_V_Thomashttp://social.msdn.microsoft.com/Profile/en-US/?user=Nigel_V_ThomasSearch server 2008 and Fedora-commons repositoryHello all,<br/> <br/> I am investigating different methods for creating a search and browse interface for a fedora-commons digital repository (version 3.x).<br/> The basic requirements are that the search interface should be customisable, should support faceted search and of-course work with fedora.<br/> <br/> Has anyone tried using this for anything other than Office share point?<br/> <br/> Many thanks in advance.<br/> <br/> NigelWed, 16 Sep 2009 10:07:28 Z2009-09-16T10:07:28Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/3cb17139-18d8-43a7-af7c-9d93a9adb814http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/3cb17139-18d8-43a7-af7c-9d93a9adb814Senthil Manickavelhttp://social.msdn.microsoft.com/Profile/en-US/?user=Senthil%20ManickavelActive Directory Services : Check if the password complexity is enabled or disabled in the Local(stand alone) machine in c#Hi,<br><br>I am working on a scenario where I would need to check if the password policy is enabled/disabled and based on the value retrieved on the server side I need to perform my validation on the client side. Using directory services I am able to get the values for PasswordAge, Password length and password history but am not able to retrieve password complexity.If someone has done this already kindly let me know how to do it.<br><br><br>Regards,<br>Senthil<br> <hr class="sig">Senthil Kumar MMon, 02 Feb 2009 16:34:11 Z2009-09-09T17:35:57Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/94fd0f45-a720-4a90-9d3c-f797d762947chttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/94fd0f45-a720-4a90-9d3c-f797d762947cMarkInTorontohttp://social.msdn.microsoft.com/Profile/en-US/?user=MarkInTorontoUsing WebService, Feed Click-Through back to search server ( QueryService.RecordClick(string) )Hi folks,<font face=Arial size=2></font> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal">I've been searching for 1/2 the afternoon on some documentation on the method </span></div> <div><span class=Apple-style-span style="white-space:normal">public void RecordClick(string clickInfoXml)</span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal">What I need to do is feed the clickthroughs back to the search server.  I'm using the webservice to pull results to my public web server that my search server is crawling.  My issue is that I want to log the clickthroughs on the searches performed.  I figured that would help us refine our search.  Well, honestly, I hoped that would allow MSSE to refine it's own results.</span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal">I can't find documentation anywhere, save a wrox book that tells me &quot;there is a bug with the method that prevents you from using the method as intended.&quot;.</span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal">Does anyone have a lead on this?  I'm stumped.</span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div> <div><span class=Apple-style-span style="white-space:normal">Mark</span></div>Thu, 15 Jan 2009 01:18:00 Z2009-09-08T20:06:10Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/c4431a53-2f14-4227-a989-2a5396ca9d35http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/c4431a53-2f14-4227-a989-2a5396ca9d35Sebastian Neubauerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Sebastian%20NeubauerSearch Server MSG-Header (From,To...) iFilterHow could I get access to these values. I´ve written an SQL Statement like this (&quot;SELECT Title, Path, Author, Filename FROM Scope() WHERE FREETEXT ('&quot;, queryText, &quot;') AND FileName LIKE '%&quot;, fileExtension, &quot;' ORDER BY Rank DESC&quot; ... and it works! Now I want to read out the Msg-Headerdata ... I think i know, how to configure the Search Server, but i dont´t know why the SearchServer doesn´t indexing the Fields like From or To (i already installed the iFilter from Microsoft).<br/> <br/> Could you help me?Wed, 02 Sep 2009 13:53:46 Z2009-09-02T13:53:47Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/b569c0b8-1e91-46d1-a068-4b22c0d5ff47http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/b569c0b8-1e91-46d1-a068-4b22c0d5ff47chinmulgundhttp://social.msdn.microsoft.com/Profile/en-US/?user=chinmulgundSearch Query Report shows 'No Scope'Hi,<br/><br/>I am making use of the Search Server 2008 express.<br/>When I try to access the 'Queries Report' under &quot;Usage Reports&quot; from the Search Administration, it shows a pie diagram with the search scopes being used.<br/><br/>I am also getting one section in the pie diagram that says <strong>&quot;No Scope&quot;.<br/>Can someone please tell me what does this &quot;No Scope&quot; in the pie diagram mean?<br/>How can we get rid of this, if we don't want the pie diagram to show something like this?<br/></strong>Mon, 20 Apr 2009 07:14:56 Z2009-08-25T03:57:35Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/fbf6001f-746b-45f5-a3d5-ebb438d5a51fhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/fbf6001f-746b-45f5-a3d5-ebb438d5a51fqlongzglhttp://social.msdn.microsoft.com/Profile/en-US/?user=qlongzglcustomize the page of MSSE<p align=left><font face=Arial size=2></font> </p> <p align=left>I want to customize the page of MSSE inculding the search page and result page. Could you please tell me how to do in detail? Thanks! Actually, I design search page by sharepoint designer without Search Box web part, using form submit as the search box. For result page, I design it by designer with Core result and other web parts, also inclduing the search box in top and bottom of page just like Google's page. It can work but the keywords typed in search box of first page can't be transferred to the search box on result page. What is the professional way to customize the page? create customized search box web part by VS.NET? Can you show me the detail solutions? Thanks again.</p>Fri, 20 Jun 2008 08:49:34 Z2009-08-25T03:53:20Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/2c87beb6-d677-4c5c-ad60-ba5aded93a13http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/2c87beb6-d677-4c5c-ad60-ba5aded93a13Tarun Kumar Garghttp://social.msdn.microsoft.com/Profile/en-US/?user=Tarun%20Kumar%20GargPrinttoHow to print in c# with confirmation that printout is actually coming and also control the printer...Fri, 21 Aug 2009 06:04:52 Z2009-08-21T06:04:53Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/b29886a6-98dc-4f10-acdc-0edace05a799http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/b29886a6-98dc-4f10-acdc-0edace05a799MSDN Studenthttp://social.msdn.microsoft.com/Profile/en-US/?user=MSDN%20StudentNoob Questions on SearchBefore I ask my questions, you have to forgive me as I don't know much about this technology.<br/> <br/> Here is my requirement. My organization has an archive of old mails (we keep 7 years of emails in an archival system because of compliance reasons). my organization wants to make this email archive search-able. This archive of email is terribly large (several terabytes).<br/> <br/> We need a search technology which gives us the follow functionality.<br/> <br/> 1. When a user searches for emails, he/she sees his own emails (not somebody else). How can we implement security so that user is able to search only emails which he/she is allowed to see?<br/> <br/> Although we want to use Microsoft technology we don't know what should we really use<br/> <br/> 2. Is the search server 2008 alive-an-active project? (or has it been killed in favor of MOSS or FAST Search)<br/> <br/> 3. Does the search server 2008 have any support and roadmap?<br/> <br/> Can you give me any guidance on how can I meet the requirements of my organization?<br/> <br/>Sat, 15 Aug 2009 11:27:58 Z2009-08-15T11:27:58Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/1050542d-ebf4-4242-8c0b-af9d3db83c41http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/1050542d-ebf4-4242-8c0b-af9d3db83c41axe manhttp://social.msdn.microsoft.com/Profile/en-US/?user=axe%20manTrouble Connecting Federated ConnectorI am having difficulty connecting a simple federated connector that I wrote to query a database based on the sample adventureworks sample.  I am trying to add the federated location to Search Server 2008 express, but when I query I don't get any results.  <br/> <br/> I put the connector in a folder at '&lt;local drive&gt;\program files\common files\microsoft shared\web server extensions\12\template\layouts'.  When I go to 'http://localhost/_layouts/&lt;folder name&gt;/&lt;federated connector name&gt;.aspx?q=test' I get a XML RSS feed back with seemingly good data (See below).<br/> <br/> The connector is the same as the adventureworks example except I modified eventID for vendor, and changed the query.  Here is the XML/RSS feed method<br/> <br/>     private string GetResultsXML(string queryTerm)<br/>     {<br/>         using (SqlConnection connect = new SqlConnection(connectionString))<br/>         {<br/>             connect.Open();<br/>             // Define query for EventID from EventDetail Table<br/>             string strCommand = string.Format(&quot;select eventID,Description,Sponsor from EventDetail WHERE EventID like '%{0}%'&quot;, queryTerm);<br/>             SqlCommand command = new SqlCommand(strCommand, connect);<br/>             SqlDataReader sqlReader = command.ExecuteReader();<br/>             StringBuilder resultsXML = new StringBuilder();<br/>             resultsXML.Append(&quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;utf-8\&quot;?&gt;&quot;);<br/>             resultsXML.Append(&quot;&lt;rss version=\&quot;2.0\&quot;&gt;&quot;);<br/>             resultsXML.AppendFormat(&quot;&lt;channel&gt;&lt;title&gt;&lt;![CDATA[CEVARS Query For: {0}]]&gt;&lt;/title&gt;&lt;link/&gt;&lt;description/&gt;&lt;ttl&gt;60&lt;/ttl&gt;&quot;, queryTerm);<br/>             while (sqlReader.Read())<br/>             {<br/>                 resultsXML.AppendFormat(&quot;&lt;item&gt;&lt;title&gt;&lt;![CDATA[{0}]]&gt;&lt;/title&gt;&lt;link&gt;&lt;![CDATA[{3}?eventID={0}&amp;f=htm]]&gt;&lt;/link&gt;&lt;description&gt;&lt;![CDATA[{1} sponsored by:{2}]]&gt;&lt;/description&gt;&lt;/item&gt;&quot;, sqlReader[0], sqlReader[1], sqlReader[2], Request.Path, query);<br/> <br/>             }<br/> <br/>             resultsXML.Append(&quot;&lt;/channel&gt;&lt;/rss&gt;&quot;);<br/>             return resultsXML.ToString();<br/>         }<br/>     }<br/> <br/> The query results looks like this when running the file directly from the virtual directory:<br/> <br/> &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;<br/> &lt;rss version=&quot;2.0&quot;&gt;<br/>    &lt;channel&gt;<br/>       &lt;title&gt;<br/>          &lt;![CDATA[ query results for: test]]&gt;<br/>       &lt;/title&gt;<br/>       &lt;link /&gt;<br/>       &lt;description /&gt;<br/>       &lt;ttl&gt;60&lt;/ttl&gt;<br/>       &lt;item&gt;<br/>          &lt;title&gt;<br/>             &lt;![CDATA[ test  ]]&gt;<br/>          &lt;/title&gt;<br/>          &lt;link&gt;<br/>             &lt;![CDATA[ /_layouts/&lt;folder name&gt;/&lt;federated connector name&gt;.aspx?eventID=test   ]]&gt;<br/>          &lt;/link&gt;<br/>          &lt;description&gt;<br/>             &lt;![CDATA[ this is a test event  ]]&gt;<br/>          &lt;/description&gt;<br/>       &lt;/item&gt;<br/> <br/> (aditional items not shown, but same format as above)<br/> <br/>    &lt;/channel&gt;<br/> &lt;/rss&gt;<br/> <br/> <br/> In the SQL connection scheme I am have the DB owner user name and password:<br/> &quot;Data Source=&lt;database URL&gt;;Initial Catalog=&lt;database name&gt;;Persist Security Info=True;User ID=&lt;database owner username&gt;;Password=&lt;database owner password&gt;;&quot;<br/> <br/> I setup the federated location as follows:<br/> Trigger - Always (I also tried using the following pattern and changing the location to q={query} for &quot;test(?&lt;query&gt;.*)&quot;<br/> Location - http://localhost/_layouts/&lt;folder name&gt;/&lt;federated connector name&gt;.aspx?q={searchTerm}<br/> More Results - http://localhost/_layouts/&lt;folder name&gt;/&lt;federated connector name&gt;.aspx?q={searchTerm}&amp;f=htm<br/> Formatting - default<br/> Restricted Usage - No restrictions<br/> Credentials - NTLM (using server's local administrator username and password)<br/> <br/> Any help would be greatly appreciated.  Thanks in advance.Sat, 15 Aug 2009 04:05:23 Z2009-08-15T04:05:24Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/7b309d26-d60c-4ffe-b07c-a681e337dc87http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/7b309d26-d60c-4ffe-b07c-a681e337dc87Like a Lamb to the Slaughterhttp://social.msdn.microsoft.com/Profile/en-US/?user=Like%20a%20Lamb%20to%20the%20SlaughterPrinting a form produced by VB 2008?<p>Hi,<br/>As a ex VB5 user I need to rewrite my existing programe to produce a filled out Character Sheet for use in my Role play game.<br/><br/>2008 is  great for getting the variables but I am stuck as there seems to be no way to construct the form which was printed as a TXT file to be used by any printer.<br/><br/>Printer.Print does not work, any ideas of what I should read to understand printing in 2008 VB express?<br/><br/>Thanks,<br/><br/>--Bob</p>Thu, 13 Aug 2009 12:47:49 Z2009-08-13T12:47:51Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/6c1c7e27-3584-4ba6-8df6-036e9f38a2adhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/6c1c7e27-3584-4ba6-8df6-036e9f38a2adRANVPCAhttp://social.msdn.microsoft.com/Profile/en-US/?user=RANVPCAAccessing SearchServer WebServices with PHPHi, I'm trying to access search.asmx QueryEx webservice of SearchServer via PHP with nusoap and curl installed.<br/> I have done some coding but the response is always the same (equal to access search.asmx?wsdl via webbrowser)<br/> My PHP code is like this:<br/> <br/> <pre>$auth = &quot;domain\user:password&quot;; $wsdl = 'http://localhost/_vti_bin/search.asmx?WSDL'; $client = new nusoap_client($wsdl); $client-&gt;setCredentials(&quot;&quot;,&quot;&quot;,&quot;ntlm&quot;); $client-&gt;setCurlOption(CURLOPT_USERPWD, $auth); $param = array('queryXml' =&gt; ''); $result = $client-&gt;call('QueryEx', $param); print_r($result);</pre> <br/> My queryXml var has this value:<br/> <br/> <pre lang=x-xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &lt;QueryPacket xmlns=&quot;urn:Microsoft.Search.Query&quot; Revision=&quot;1000&quot;&gt; &lt;Query&gt; &lt;SupportedFormats&gt; &lt;Format&gt;urn:Microsoft.Search.Response.Document.Document&lt;/Format&gt; &lt;/SupportedFormats&gt; &lt;Context&gt; &lt;QueryText language=&quot;en-US&quot; type=&quot;MSSQLFT&quot;&gt; &lt;![CDATA[SELECT &quot;DAV:href&quot; , &quot;DAV:displayname&quot;, &quot;DAV:getlastmodified&quot; FROM Non_Portal_Content..Scope() WHERE FREETEXT(\'TEXT TO SEARCH\') ORDER BY &quot;urn:schemas.microsoft.com:fulltextqueryinfo:rank&quot; DESC]]&gt; &lt;/QueryText&gt; &lt;/Context&gt; &lt;Range&gt;&lt;StartAt&gt;1&lt;/StartAt&gt;&lt;Count&gt;500&lt;/Count&gt;&lt;/Range&gt; &lt;/Query&gt;&lt;/QueryPacket&gt;</pre> <br/> <br/> Can someone help me with this?<br/> Thanks in advance.Sun, 09 Aug 2009 15:04:04 Z2009-08-09T15:04:04Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/f67c1745-6597-4cf4-aa03-6fac8d138079http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/f67c1745-6597-4cf4-aa03-6fac8d138079elavonhttp://social.msdn.microsoft.com/Profile/en-US/?user=elavonASP Web ServiceI've just been handed this task to connect our intranet site to have search capabilities using the MS Search Server. We used Google-mini in the past but they just decided to go with Search server instead of buying a new google-mini for lack of support. Google mini used the xmldom object in which we easily called a the search server with all parameters and then loaded the xsl file to the dom object to get the results. How can I acquire the search results from the MS search server and load them onto my sites page? Thanks in advance.Thu, 06 Aug 2009 16:06:01 Z2009-08-06T16:06:01Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/e3398127-33c8-4da0-856c-a414c12a08edhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/e3398127-33c8-4da0-856c-a414c12a08edREGNOTWELL62 FROM HAWAIIhttp://social.msdn.microsoft.com/Profile/en-US/?user=REGNOTWELL62%20FROM%20HAWAIIBing<p>This for all the pep's that relly don't like Bing web service. It just sometimes just don't give wat you are looking for or looking up Ijust don't like Bing's service at all it S....... It was better before Bing came along it was faster then now it give me some thing's that I'm not looking for and it send's me to some other place that I'm not even looking for well if this is Bing WELL BING BETTER GET WITH THE PROGRAME OR GET OUT  OF THE PROGRAME. FROM:HAWAII,AND ALOHA.</p>Sat, 25 Jul 2009 10:53:35 Z2009-07-25T10:53:36Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/b8c7b112-26eb-4c4a-9c52-7cc783c3fb2ehttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/b8c7b112-26eb-4c4a-9c52-7cc783c3fb2eSQLPrabahttp://social.msdn.microsoft.com/Profile/en-US/?user=SQLPrabaI can not open the backup deviceI tried to take sql server 2008 database backup from the server which has the following feature<br/> <br/> server: windows server 2008 os<br/> <br/> to the client which has the following feature:<br/> <br/> client:windows xp service pack 3 os<br/> <br/> through lan network but i couldnt achieve it and i am getting the following error<br/> <br/> <strong>****Msg 3201, Level 16, State 1, Line 1 Cannot open backup device 'AstrovedFullDatabase(\prabha\Rajniprabha\AstroBak.bak)'. Operating system error 5(failed to retrieve text for this error. Reason: 15105). Msg 3013, Level 16, State 1, Line 1 BACKUP DATABASE is terminating abnormally.****</strong> <br/> <br/> can anyone help me?Wed, 22 Jul 2009 09:17:23 Z2009-07-22T09:17:24Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/9a79ecd9-aa54-4208-994b-cb95939847eahttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/9a79ecd9-aa54-4208-994b-cb95939847eaVenkat Chilkurihttp://social.msdn.microsoft.com/Profile/en-US/?user=Venkat%20ChilkuriHow to add child controls in grid in windows mobile applicationhi,<br/>i am new windows mobile application,<br/><br/><br/>How to child add controls in grid in windows mobile applicationMon, 20 Jul 2009 12:35:47 Z2009-07-20T12:35:48Zhttp://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/1d6e39a0-0e92-4b79-a41e-cd8428169ad7http://social.msdn.microsoft.com/Forums/en-US/searchserverdevelopersandcustomization/thread/1d6e39a0-0e92-4b79-a41e-cd8428169ad7Unknown Sailorhttp://social.msdn.microsoft.com/Profile/en-US/?user=Unknown%20SailorI can't backup my MDF fileHHi! I'm a newbie here and hope you guys can help me. Lately I've been having trouble with sql. I have an up and running application but the problem is I can't backup my MDF file that I use as database. Here's my code to interact to the database file:<br/> <br/> By the way I am using Visual Studio 2008 and MS SQL 2005 Express<br/> <br/> Imports System.Data<br/> Imports System.Data.Sql<br/> Imports System.Data.SqlClient<br/> <br/> Public Class DataBaseStuff<br/> Implements IDisposable<br/> <br/> 'Class level variables that are available to classes that instantiate me<br/> Public SQL As String<br/> <br/> Public Connection As SqlConnection<br/> Public Command As SqlCommand<br/> Public DataAdapter As SqlDataAdapter<br/> Public DataReader As SqlDataReader<br/> <br/> Private disposed As Boolean = False<br/> <br/> Public Sub New()<br/> Connection = New SqlConnection(&quot;Server=.\SQLExpress;&quot; &amp; _<br/> &quot;AttachDbFilename=C:\Lending System\ Data\LendingSystem.mdf;&quot; &amp; _<br/> &quot;Trusted_Connection=Yes;&quot; &amp; _<br/> &quot;User Instance=True;&quot; &amp; _<br/> &quot;Initial Catalog = LendingSystem.mdf&quot;)<br/> End Sub<br/> <br/> ' IDisposable<br/> Private Overloads Sub Dispose(ByVal disposing As Boolean)<br/> If Not Me.disposed Then<br/> If disposing Then<br/> ' TODO: put code to dispose managed resources<br/> If Not DataReader Is Nothing Then<br/> DataReader.Close()<br/> DataReader = Nothing<br/> End If<br/> If Not DataAdapter Is Nothing Then<br/> DataAdapter.Dispose()<br/> DataAdapter = Nothing<br/> End If<br/> If Not Command Is Nothing Then<br/> Command.Dispose()<br/> Command = Nothing<br/> End If<br/> If Not Connection Is Nothing Then<br/> Connection.Close()<br/> Connection.Dispose()<br/> Connection = Nothing<br/> End If<br/> End If<br/> <br/> ' TODO: put code to free unmanaged resources here<br/> End If<br/> Me.disposed = True<br/> End Sub<br/> <br/> #Region &quot; IDisposable Support &quot;<br/> ' This code added by Visual Basic to correctly implement the disposable pattern.<br/> Public Overloads Sub Dispose() Implements IDisposable.Dispose<br/> ' Do not change this code. Put cleanup code in Dispose(ByVal disposing As Boolean) above.<br/> Dispose(True)<br/> GC.SuppressFinalize(Me)<br/> End Sub<br/> <br/> Protected Overrides Sub Finalize()<br/> ' Do not change this code. Put cleanup code in Dispose(ByVal disposing As Boolean) above.<br/> Dispose(False)<br/> MyBase.Finalize()<br/> End Sub<br/> #End Region<br/> <br/> Public Sub OpenConnection()<br/> Try<br/> Connection.Open()<br/> Catch ex As Exception<br/> MessageBox.Show(ex.ToString)<br/> End Try<br/> End Sub<br/> <br/> Public Sub CloseConnection()<br/> Connection.Close()<br/> End Sub<br/> <br/> Public Sub InitializeCommand()<br/> If Command Is Nothing Then<br/> Try<br/> Command = New SqlCommand(SQL, Connection)<br/> 'See if this is a stored procedure<br/> If Not SQL.ToUpper.StartsWith(&quot;SELECT &quot;) _<br/> And Not SQL.ToUpper.StartsWith(&quot;INSERT &quot;) _<br/> And Not SQL.ToUpper.StartsWith(&quot;UPDATE &quot;) _<br/> And Not SQL.ToUpper.StartsWith(&quot;DELETE &quot;) Then<br/> Command.CommandType = CommandType.StoredProcedure<br/> End If<br/> Catch ex As Exception<br/> MessageBox.Show(ex.ToString)<br/> End Try<br/> End If<br/> End Sub<br/> <br/> Public Sub AddParameter(ByVal Name As String, ByVal Type As SqlDbType, ByVal Value As Object)<br/> <br/> Try<br/> Command.Parameters.Add(Name, Type).Value = Value<br/> Catch ex As Exception<br/> MessageBox.Show(ex.ToString)<br/> End Try<br/> End Sub<br/> <br/> End Class<br/> <br/> <br/> <br/> <br/> here's are my stored procs:<br/> <br/> ALTER PROCEDURE BackupDataBase<br/> <br/> AS<br/> BACKUP DATABASE LendingSystem<br/> TO DISK = 'C:\Lending System\Backup\LendingSystem.bak'<br/> WITH NAME = 'LendingSystem-Full Database Backup',<br/> SKIP,<br/> NOUNLOAD,<br/> STATS = 10<br/> <br/> <br/> <br/> <br/> ALTER PROCEDURE DetachDatabase<br/> <br/> AS<br/> Exec<br/> sp_detach_db 'LendingSystem'<br/> <br/> <br/> <br/> <br/> ALTER PROCEDURE RestoreDatabase<br/> <br/> AS<br/> RESTORE DATABASE [LendingSystem]<br/> FROM DISK = 'C:\Lending System\Backup\LendingSystem.bak'<br/> WITH FILE = 4,<br/> NORECOVERY, NOUNLOAD, REPLACE, STATS = 10<br/> <br/> <br/> <br/> as you can see my database file resides in C:\Lending System\Data and I &quot;simply&quot; (but not simple) copy the file into another directory, i.e: C:\Lending System\Backup for backup purposes. The thing is I can do the backup the stored procedure above but I can't restore it it says it is currently in use. I can't detach it neither.<br/> <br/> Thinking that I could do some tricks I tried using a second MDF file as my link to do the backup...somehow I want to detach and copy the MDF file...<br/> <br/> Say I' ll be having this:<br/> <br/> Imports System.Data<br/> Imports System.Data.Sql<br/> Imports System.Data.SqlClient<br/> <br/> Public Class DataBaseStuff<br/> Implements IDisposable<br/> <br/> 'Class level variables that are available to classes that instantiate me<br/> Public SQL As String<br/> <br/> Public Connection As SqlConnection<br/> Public Command As SqlCommand<br/> Public DataAdapter As SqlDataAdapter<br/> Public DataReader As SqlDataReader<br/> <br/> Private disposed As Boolean = False<br/> <br/> Public Sub New()<br/> Connection = New SqlConnection(&quot;Server=.\SQLExpress;&quot; &amp; _<br/> &quot;AttachDbFilename=C:\Lending System\ Data\DatabaseBridge.mdf;&quot; &amp; _<brMon, 20 Jul 2009 10:35:34 Z2009-07-20T10:35:34Z