Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Failure to connect from ASP.NET page using iWay client
Go
New
Search
Notify
Tools
Reply
  
Failure to connect from ASP.NET page using iWay client
 Login/Join
 
Silver Member
posted
I recently upgraded the iWay client software on my PC from version 5.2 to version 7.6 in order to bring it in line with the version on our web server. The reason for this upgrade was that an ASP.NET page written to access data on our Data Warehouse managed to connect OK when run in localhost using iWay Client 5.2, but failed to do so when copied to the web server. I had hoped that an upgrade would allow me to replicate and hopefully resolve the server-side connection issue, but this turned out to be a vain hope.

I use the following DSN in both versions :

quote:
private OdbcConnection edaConn = new OdbcConnection("dsn=EDAPNHUB;uid=xxxxxxxx;pwd=xxxxxxxx;");


which from an ASP.NET page works in 5.2, but not in 7.6, the error message being :

quote:
ERROR [08001] [IBI][EDA]Unable to connect to database server (Eda error -7: EDA INIT EDANET ERROR) 'EDACONNECT' (25.6)


The same connection string when used in a .NET application run from my PC does work, which seems to imply that the DSN, username and password are valid - but not from a locally run ASP.NET page.

Does anyone have any clever ideas as to why a connection can be established in 7.6 from an application but not from a web page ?




WebFocus 7.6.5 - Windows XP - admin of http://thescienceforum.org/ and Philosophorum
 
Posts: 30 | Location: Port Talbot | Registered: November 09, 2006Reply With QuoteReport This Post
Silver Member
posted Hide Post
Problem solved - a change of the connection string to read :

quote:
private OdbcConnection edaConn =
new OdbcConnection("SERVER=EDAPNHUB;DRIVER=iWay 7.6 ODBC Driver;UID=xxxxxxxx;PWD=xxxxxxxx");


appears to have done the trick.
I must admit that I have no clear idea why this worked, though.




WebFocus 7.6.5 - Windows XP - admin of http://thescienceforum.org/ and Philosophorum
 
Posts: 30 | Location: Port Talbot | Registered: November 09, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Failure to connect from ASP.NET page using iWay client

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.