My FTS works in MSSQL fine , but when I try it from my website in ASP.NET it gives me this error: Full-Text Search is not installed, or a full-text Component cannot be loaded
.
My connection to SQL is good, and I can load another things from it.
My code:
string B = TextBox1.text;
string commandText = "SELECT Table_id FROM TableName WHERE CONTAINS ( Table_txt , @0)";
SqlCommand Cmd = new SqlCommand(commandText_, Con);
Cmd.Parameters.AddWithValue("@0", B);
Datatable dt = new Datatable();
Con.Open();
dt.Load(Cmd.ExecuteReader());
Con.Close();