MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IM002

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ODBC Dotnet
Author Message
Pachu



Joined: 08 Aug 2007
Posts: 1

PostPosted: Mon Apr 30, 2007 3:49 pm    Post subject: IM002 Reply with quote

Hi, im building a connection string for Odbc data provider, without
DSN because i dont want to create a dsn in each client machine (there
are a lot) the string is complete, but i get this exception below the
text of mail.

I think is a problem with DRIVER=IBM INFORMIX ODBC DRIVER but i dont
understan putting the string via server explorer it connects ok, but
building it comes the error..


Message="ERROR [IM002] [Microsoft][Administrador de controladores
ODBC] No se encuentra el nombre del origen de datos y no se especificó
ningún controlador predeterminado"
Source=""
ErrorCode=-2146232009
StackTrace:
en System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle
hrHandle, RetCode retcode)
en System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection
connection, OdbcConnectionString constr, OdbcEnvironmentHandle
environmentHandle)
en
System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions
options, Object poolGroupProviderInfo, DbConnectionPool pool,
DbConnection owningObject)
en
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection
owningConnection, DbConnectionPoolGroup poolGroup)
en
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection)
en
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
en System.Data.Odbc.OdbcConnection.Open()

in settings:


providerName="System.Data.Odbc"
connectionString="DRIVER={IBM INFORMIX ODBC
DRIVER};SRVR=desa1db;HOST=proteo;SERV=26000;DB=basurero" />


i try removing brackes with no result, if i use a DSN works fine

Some idea ??

Archived from group: microsoft>public>dotnet>framework>odbcnet
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
ERROR [IM002] dear sir i'm developing a web application using c#.net connecting to sybase12.0 DB i received the following error ERROR [IM002] Driver Manager] Data source name not found and no default driver specified even though i connection to vb6.0 s

System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][OD Hi, All I have a Problem when I'm working with Informix Dynamic Server DataBase, and VB.NET as tools Developmen, the problem is when a Run my WebAplication have this message. ERROR [IM002] Driver Manager]

Visual Studio .NET + MSI: Checkbox has no value if not check Hi NG, I can read the checkbox values with [CHECKBOX1]. Checked value = 1 Unchecked value null it seems i would like to start a console application with command line switches like but this fails, 'cause if un

Citrix & .NET Framework 1.1 We have Citrix MetaFrameXP loaded on a dual xeon windows 2003 server. The server runs fine, but .NET applications take 30 seconds to come up with the first form. We wrote a very simple Hello World program, and it took 25 seconds before it displayed the fo

Mobile Development Hello all: I am new to Mobile development so please bear with my questions. I am trying to develop an app for my PPC based on XML data. So on the GUI I have 2 drop-downs, and when the user chooses element A from drop-down 1, I want the app to read the XML
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ODBC Dotnet All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group