Keyword not supported

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Keyword not supported

    Hi,

    I have an ASP app that queries MS Indexing Service.

    Below is my code.

    #############################
    Imports System
    Imports System.Data.SqlClient

    Dim strCatalog As String

    ' Catalog Name
    strCatalog = "Test"

    Dim connString As String
    = "Provider=MSIDXS.1;Integrated Security .='';Data
    Source='" & strCatalog & "'"

    Dim conn As New SqlConnection(connString)
    conn.Open()
    ################################

    When I try to open the connection I get the message
    "Exception Details: System.ArgumentException:
    Keyword not supported: 'provider'."

    Any help would be much appreciated.

    tnx
    carl
    Carl Guest

  2. Similar Questions and Discussions

    1. Help with Keyword search
      Hi all, I've got a tricky query I hope you guys can help me with. I have a database of a few millions records, representing subjects from...
    2. keyword searching
      hi can anybody tell me how to create a search form on my database where a user would only have to type the first few letters of a paticular product...
    3. Keyword File
      G4 running 10.3 and Photoshop CS In both the cutline box and the keyword box AFTER you enter the cutlines and the keywords, if you look in the box...
    4. Limit keyword not supported in MS-SQL
      I can connect to MS-SQL via php. However, the LIMIT keyword is not supported. Looking at the archieves, SELECT TOP X was recommended. Works ok,...
    5. Keyword Searches
      Hi everyone, Does anyone know how to add a keyword search to a site? Daniel Park Executive Director La Paz International
  3. #2

    Default Re: Keyword not supported

    I have not used ado.net to access MS Indexing Service but my guess would be
    that you should probably use the OLEDb namespace. When you use the
    SqlClient namespace it implies sql server so a provider is not necessary.
    Do something like:

    Imports System
    Imports System.Data.OleDb

    Dim strCatalog As String

    ' Catalog Name
    strCatalog = "Test"

    Dim connString As String = "Provider=MSIDXS.1;Integrated Security
    ..='';Data Source='" & strCatalog & "'"

    Dim conn As New OleDbConnection(connString)
    conn.Open()

    --
    Kevin Cunningham
    Software Architects, Inc.
    "Carl" <carl@nospam.com> wrote in message
    news:05d501c357d9$f1e1e960$a501280a@phx.gbl...
    > Hi,
    >
    > I have an ASP app that queries MS Indexing Service.
    >
    > Below is my code.
    >
    > #############################
    > Imports System
    > Imports System.Data.SqlClient
    >
    > Dim strCatalog As String
    >
    > ' Catalog Name
    > strCatalog = "Test"
    >
    > Dim connString As String
    > = "Provider=MSIDXS.1;Integrated Security .='';Data
    > Source='" & strCatalog & "'"
    >
    > Dim conn As New SqlConnection(connString)
    > conn.Open()
    > ################################
    >
    > When I try to open the connection I get the message
    > "Exception Details: System.ArgumentException:
    > Keyword not supported: 'provider'."
    >
    > Any help would be much appreciated.
    >
    > tnx
    > carl

    Kevin Cunningham Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139