473,395 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to GetOleDbSchemaTable with MSIDXS OLE DB provider ?

Hello,

I am using Microsoft Indexing Server, and it seems that ADO.NET OLEDB
Connection object doesn't support the GetOleDbSchemaTable method with MSIDXS
OLE DB provider.

I get the following errors:

IDBSchemaRowset interface is not supported by the 'MSIDXS' provider. is
unavailable with the current provider.

Could somebody help me to resolve this problem ?

The C# source code is following:

<%@ page language="c#" Debug="true" %>
<%@ Import Namespace = "System.Data.OleDb" %>
<%@ Import Namespace = "System.Data" %>
<%

OleDbConnection odbSearch = new OleDbConnection();

OleDbCommand cmdSearch = new OleDbCommand();

odbSearch.ConnectionString = "Provider=\"MSIDXS\";Data
Source=\"localhost\";";

cmdSearch.Connection = odbSearch;

odbSearch.Open();

DataTable schemaTable =
odbSearch.GetOleDbSchemaTable(OleDbSchemaGuid.Tabl es, new object[] {null,
null, null, "TABLE"} );

odbSearch.Close();

%>
Nov 17 '05 #1
0 1310

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Parking Meters | last post by:
Today I managed to get the OleDB provider to let me put datasets from an as400 using sql. Great, the provider string I used is: Provider=IBMDA400.DataSource.1;User ID=XXXXX;Password=XXXX;Data...
1
by: Marsha | last post by:
Does anyone know how to add a new data provider to Visual Studio - to the Provider list in Server Explorer. I am using Sybase's ADO.NET Data Provider. It has been added to my GAC and appears in...
6
by: Duncan Winn | last post by:
I have written an Ole Db provider. It seems to be registered in the Operating system to a degree, but not fully, i.e. I can access it from a client that I have written. But it does not appear in...
1
by: pete | last post by:
Hi All, I am trying to get the field desriptions from SQL Server 2000 using GetOleDbSchemaTable (see code below) Now this returns a description field to the DataTable, but the field is empty....
4
by: spamfurnace | last post by:
Hi there. Ive just been reading about the Whidbey Provider Pattern on MSDN, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp02182004.asp and i wanted to...
7
by: Marcus | last post by:
I need to write a VB.Net application that will take an mdb file (Access 2000) and create corresponding copy of it in SQL Express, creating all the tables and relationships, and transferring over...
0
by: bjgroot | last post by:
GetOleDbSchemaTable ________________________________________ With the code down here, I can find all the Table Names of a database in Access, but ........ I like to know also the query-names of...
0
by: Rex Winn | last post by:
I've googled on this 100's of times and cannot find an answer. Every time I try to conduct a search from my web page I get that error. I've created the index group I've tested and verified it's...
0
by: Radu | last post by:
Hi. I'm trying to read the structure of some Excel 2000 file that the user is expected to upload. The file must be an excel file (solved) and it must contain a column named "PIN". That's all. Now...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.