Ask a Question related to ASP.NET General, Design and Development.
-
Carl #1
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
-
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... -
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... -
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... -
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,... -
Keyword Searches
Hi everyone, Does anyone know how to add a keyword search to a site? Daniel Park Executive Director La Paz International -
Kevin Cunningham #2
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



Reply With Quote

