• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 626
  • Last Modified:

Connecting to Informix IDS using ASP.NET in Dreamweaver MX 2004

I cannot get an OLE DB connection to our Informix IDS (version 7.31) database from our web server (IIS 5) using the IBM Informix OLE DB Provider included in Informix Connect 2.81 with Dreamweaver MX 2004 working in ASP.NET (VB).

Using the following connection string, I get a successful connection test, but I cannot see any tables, if I create a DataSet and click test it displays a "Loading Schema" message for several minutes and then times out; and when I try to run a page I get a DreamweaverCtrls.dll error:

"Provider=IBM Informix OLE DB Provider;
User ID=user;
Password=password;
Data Source=database"

I have downloaded a trial version of DataDirect's Connect ADO 2.7 and with the following connection string, the provider seems to work fine:

"Provider=DataDirect Informix ADO Provider;
User ID=user;
Password=password;
Data Source=database"

Unfortunately the DataDirect provider is very expensive for the size project I am doing so I would much prefer to get the free IBM provider working!

Does anybody have any experience with this scenario? This is an urgent problem.
0
soulsurvivor
Asked:
soulsurvivor
1 Solution
 
mmarinovCommented:
Hi soulsurvivor,

check this connection strings
 Informix
 ODBC


 Informix 3.30:

"Dsn='';Driver={INFORMIX 3.30 32 BIT};Host=hostname;Server=myserver;Service=service-name;Protocol=olsoctcp;Database=mydb;UID=username;PWD=myPwd



 Informix-CLI 2.5:

"Driver={Informix-CLI 2.5 (32 Bit)};Server=myserver;Database=mydb;Uid=username;Pwd=myPwd"



 OLE DB


 IBM Informix OLE DB Provider:

"Provider=Ifxoledbc.2;password=myPw;User ID=myUser;Data Source=dbName@serverName;Persist Security Info=true"
taken frm
http://www.connectionstrings.com/

Regards!
B..M
mmarinov
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now