Unix Technical Forum

Error getting metadata information from Informix...

This is a discussion on Error getting metadata information from Informix... within the Informix forums, part of the Database Server Software category; --> Hi, I am writing an OLEDB client application in .NET to extract metadata information from Informix. I am able ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 08:39 AM
sunny076@yahoo.com
 
Posts: n/a
Default Error getting metadata information from Informix...


Hi,

I am writing an OLEDB client application in .NET to extract metadata
information from Informix. I am able to connect to the Informix server.
However, when I try to retrieve the metadata information, I can get the
following error:

EIX000: (-111) ISAM error: no record found.
E42000: (-206) The specified table sysmaster:informix.oledbversion) is
not in the database.

Here is the code snippet that causes the error.

object [] restricts = new object[] {null, null, null, "Table"};
DataTable dt =
oleDbConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tabl es, restricts);

I would appreciate it if someone can tell me what could be the problem.

Thank you in advance for your help.

Sunny

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 08:39 AM
M.Kovacic
 
Posts: n/a
Default Re: Error getting metadata information from Informix...

You must set/create oledb support in your Informix server (sysmaster
database),
sql script is located (actually 2; coledbp.sql, cdotnet.sql) in
<INFORMIXDIR>/ETC directory (client-sdk installation)
This will fix your problem,

regards, Matej


<sunny076@yahoo.com> wrote in message
news:1108174859.190706.200300@g14g2000cwa.googlegr oups.com...
>
> Hi,
>
> I am writing an OLEDB client application in .NET to extract metadata
> information from Informix. I am able to connect to the Informix server.
> However, when I try to retrieve the metadata information, I can get the
> following error:
>
> EIX000: (-111) ISAM error: no record found.
> E42000: (-206) The specified table sysmaster:informix.oledbversion) is
> not in the database.
>
> Here is the code snippet that causes the error.
>
> object [] restricts = new object[] {null, null, null, "Table"};
> DataTable dt =
> oleDbConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tabl es, restricts);
>
> I would appreciate it if someone can tell me what could be the problem.
>
> Thank you in advance for your help.
>
> Sunny
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 08:40 AM
sunny076@yahoo.com
 
Posts: n/a
Default Re: Error getting metadata information from Informix...

Hi M.Kovacic,

I tried that but from dbaccess said that the table to be created in
coledbp.sql was already created. I am setting up the Informix for
Window, so there is no cdotnet.sql , I guess.

What should I do to fix this problem then?

Thank you in advance,
Sunny

M.Kovacic wrote:
> You must set/create oledb support in your Informix server (sysmaster
> database),
> sql script is located (actually 2; coledbp.sql, cdotnet.sql) in
> <INFORMIXDIR>/ETC directory (client-sdk installation)
> This will fix your problem,
>
> regards, Matej
>
>
> <sunny076@yahoo.com> wrote in message
> news:1108174859.190706.200300@g14g2000cwa.googlegr oups.com...
> >
> > Hi,
> >
> > I am writing an OLEDB client application in .NET to extract

metadata
> > information from Informix. I am able to connect to the Informix

server.
> > However, when I try to retrieve the metadata information, I can get

the
> > following error:
> >
> > EIX000: (-111) ISAM error: no record found.
> > E42000: (-206) The specified table sysmaster:informix.oledbversion)

is
> > not in the database.
> >
> > Here is the code snippet that causes the error.
> >
> > object [] restricts = new object[] {null, null, null, "Table"};
> > DataTable dt =
> > oleDbConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tabl es, restricts);
> >
> > I would appreciate it if someone can tell me what could be the

problem.
> >
> > Thank you in advance for your help.
> >
> > Sunny
> >


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com