I use Odbc to run a query against a progress database. Here is the connection string:
Provider=SQLOLEDB;DRIVER=P
rogress OpenEdge 10.1A driver; HOST=hostName;PORT=XXXX;DB
=dbName;UI
D=XXX;PWD=
XXX;
This works fine on my PC. But when I deploy to the server, I get the following error:
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
[OdbcException (0x80131937): ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified]
System.Data.Odbc.OdbcConne
ction.Hand
leError(Od
bcHandle hrHandle, RetCode retcode) +35
System.Data.Odbc.OdbcConne
ctionHandl
e..ctor(Od
bcConnecti
on connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle) +131
System.Data.Odbc.OdbcConne
ctionFacto
ry.CreateC
onnection(
DbConnecti
onOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +98
System.Data.ProviderBase.D
bConnectio
nFactory.C
reateNonPo
oledConnec
tion(DbCon
nection owningConnection, DbConnectionPoolGroup poolGroup) +27
System.Data.ProviderBase.D
bConnectio
nFactory.G
etConnecti
on(DbConne
ction owningConnection) +47
System.Data.ProviderBase.D
bConnectio
nClosed.Op
enConnecti
on(DbConne
ction outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.Odbc.OdbcConne
ction.Open
() +37
webform1.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\atabrizi\My Documents\Visual Studio 2005\Projects\Dacor.Servic
eInvoice\W
eb\Service
Invoice\webform1.aspx.cs:2
1
System.Web.Util.CalliHelpe
r.EventArg
FunctionCa
ller(IntPt
r fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEvent
HandlerDel
egateProxy
.Callback(
Object sender, EventArgs e) +33
System.Web.UI.Control.OnLo
ad(EventAr
gs e) +99
System.Web.UI.Control.Load
Recursive(
) +47
System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) +1436
I am not sure how to approach a solution.
Thanks.