Re: informix dot net data provider
Posted in 2005
Topics: Connectivity: ODBC / JDBC / .NET, Security, Permissions & Auditing, Networking & sqlhosts Configuration, Platform-Specific Issues
Hi Michael,
I have never used C# but before an authoritative response is given try the following:
I 'think' the error ' server .. is not listed ...' talks about the local o client sqlhosts.
Do you have the server configured in setnet32? do you mark the 'use my ssttings' in setnet32? If you don't, try
http://www.lacorona.com.mx/fortiz/informix/tcp.htm#windows
HTH
Michael Wimmer escribi':
> Hi,
>
> did anyone here successfully use C# to connect to an informix?
>
> I tried to connect to an Informix 9.31 on Linux but I always get this
> message.
>
> error:
> IBM.Data.Informix.IfxException: ERROR [HY000] [Informix .NET
> provider][Informix] Server informixsrv is not listed as a dbserver name
> in sqlhosts.
>
> connection string:
> Host=PC_LINUX;Service=1526;Server=informixsrv;User
> ID=xxx;password=informix;Database=mydb
>
> The following line is found in sqlhosts on the informix server machine:
> informixsrv onsoctcp PC_LINUX sqlexec>
> I can connect using 'informixsrv' through jdbc.
>
> Any help appreciated,
>
> regards
>
> Michael
>
sending to informix-list
Fernando Ortiz wrote:
> Hi Michael,
>
> I have never used C# but before an authoritative response is given try the following:
>
> I 'think' the error ' server .. is not listed ...' talks about the local o client sqlhosts.
>
> Do you have the server configured in setnet32? do you mark the 'use my ssttings' in setnet32? I
Hi,
I think this is the solution. Although it started to work after some
changes in the connectionstring by itself, I opened setnet32 and saw
that the server got entered there by itself in between.
Best regards,
Michael
f you don't, try
> http://www.lacorona.com.mx/fortiz/informix/tcp.htm#windows
>
> HTH
>
> Michael Wimmer escribi':
>
>>Hi,
>>
>>did anyone here successfully use C# to connect to an informix?
>>
>>I tried to connect to an Informix 9.31 on Linux but I always get this
>>message.
>>
>>error:
>>IBM.Data.Informix.IfxException: ERROR [HY000] [Informix .NET
>>provider][Informix] Server informixsrv is not listed as a dbserver name
>>in sqlhosts.
>>
>>connection string:
>>Host=PC_LINUX;Service=1526;Server=informixsrv;User
>>ID=xxx;password=informix;Database=mydb
>>
>>The following line is found in sqlhosts on the informix server machine:
>>informixsrv onsoctcp PC_LINUX sqlexec>>
>>I can connect using 'informixsrv' through jdbc.
>>
>>Any help appreciated,
>>
>>regards
>>
>>Michael
>>
>
>
>
> sending to informix-list