Click here to Skip to main content
15,905,607 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: transaction problem Pin
Mark J. Miller24-Apr-08 10:26
Mark J. Miller24-Apr-08 10:26 
GeneralError msg: Failed to map the path '/' in file upload Pin
Member 387988123-Apr-08 23:07
Member 387988123-Apr-08 23:07 
GeneralRe: Error msg: Failed to map the path '/' in file upload Pin
samMaster23-Apr-08 23:19
samMaster23-Apr-08 23:19 
GeneralRe: Error msg: Failed to map the path '/' in file upload Pin
Member 387988123-Apr-08 23:26
Member 387988123-Apr-08 23:26 
Questionhow to find path of msi which is in Setup Pin
Piyush Vardhan Singh23-Apr-08 22:42
Piyush Vardhan Singh23-Apr-08 22:42 
AnswerRe: how to find path of msi which is in Setup Pin
eyeseetee23-Apr-08 22:53
eyeseetee23-Apr-08 22:53 
GeneralRe: how to find path of msi which is in Setup Pin
Piyush Vardhan Singh23-Apr-08 23:05
Piyush Vardhan Singh23-Apr-08 23:05 
GeneralIndexing search.... Pin
Moghan23-Apr-08 22:33
Moghan23-Apr-08 22:33 
We are implemenmting the MicroSoft Indexing search in our site.our client asked to give provision to search the main folders only, not for SubFolders. So we decided to use the SHALLOW TRAVERSAL OF. But still now we didnt get the correct syntax.

My code:

System.Data.OleDb.OleDbConnection odbSearch = new System.Data.OleDb.OleDbConnection("Provider=\"MSIDXS\";Data Source=\"Agaram\";");
System.Data.OleDb.OleDbCommand cmdSearch = new System.Data.OleDb.OleDbCommand();
cmdSearch.Connection = odbSearch;
odbSearch.Open();
cmdSearch.CommandText = "select Vpath, path, FileName, size, write, attrib, Characterization, DocTitle, rank from scope('' SHALLOW TRAVERSAL OF ("/Software")'') where FREETEXT(contents,'" + searchText + "') order by rank desc ";
System.Data.OleDb.OleDbDataAdapter SqlDa = new System.Data.OleDb.OleDbDataAdapter(cmdSearch);
DataSet Ds = new DataSet();
SqlDa.Fill(Ds);
odbSearch.Close();

/Software is the main folder in my project


The Error is at the Select Query.
Error Details:

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1002: ; expected

Source Error:

Line 34: cmdSearch.CommandText = "select Vpath, path, FileName, size, write, attrib, Characterization, DocTitle, rank from scope('' SHALLOW TRAVERSAL OF ("/Software")'') where FREETEXT(contents,'" + searchText + "') order by rank desc ";
GeneralRe: Indexing search.... Pin
eyeseetee23-Apr-08 22:52
eyeseetee23-Apr-08 22:52 
GeneralRe: Indexing search.... Pin
Moghan23-Apr-08 23:11
Moghan23-Apr-08 23:11 
GeneralRe: Indexing search.... Pin
Harini N K23-Apr-08 22:54
Harini N K23-Apr-08 22:54 
GeneralRe: Indexing search.... Pin
Moghan23-Apr-08 23:08
Moghan23-Apr-08 23:08 
GeneralRe: Indexing search.... Pin
Harini N K23-Apr-08 23:14
Harini N K23-Apr-08 23:14 
GeneralRe: Indexing search.... Pin
Harini N K23-Apr-08 23:19
Harini N K23-Apr-08 23:19 
GeneralRe: Indexing search.... Pin
Moghan23-Apr-08 23:39
Moghan23-Apr-08 23:39 
Generalsize of page Pin
ptvce23-Apr-08 22:03
ptvce23-Apr-08 22:03 
GeneralRe: size of page Pin
eyeseetee23-Apr-08 22:30
eyeseetee23-Apr-08 22:30 
GeneralRe: size of page Pin
ptvce23-Apr-08 23:48
ptvce23-Apr-08 23:48 
GeneralRe: size of page Pin
eyeseetee23-Apr-08 23:52
eyeseetee23-Apr-08 23:52 
GeneralRe: size of page Pin
ptvce23-Apr-08 23:59
ptvce23-Apr-08 23:59 
GeneralRe: size of page Pin
samMaster23-Apr-08 22:38
samMaster23-Apr-08 22:38 
Generallist box control Pin
rajkumar.323-Apr-08 21:43
rajkumar.323-Apr-08 21:43 
GeneralRe: list box control Pin
eyeseetee23-Apr-08 21:50
eyeseetee23-Apr-08 21:50 
GeneralRe: list box control Pin
rajkumar.323-Apr-08 22:05
rajkumar.323-Apr-08 22:05 
GeneralRe: list box control Pin
eyeseetee23-Apr-08 22:27
eyeseetee23-Apr-08 22:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.