asp.net - I can't connect Netezza with microsoft ODBC (VS 2013) -
i install netezza odbc drivers , configure data sources(odbc) in adminitstrative tools add user dsn nzsql.
next connect visual studio 2013 using dsn in server explorer, in datasource select microsoft odbc data source , data provider select .net framework data provider odbc. connection test successful , copy connectionstring connection string in server explorer , paste in web.config:
<add name="cn" connectionstring="dsn=nzsql;driver={netezzasql};uid=kbanke2e"/> when compile error is:
additional information: network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: named pipes provider, error: 40 - not open connection sql server
i managed create netezza datasource in vs2013 specifying full connection string manually:
driver={netezzasql};server=a.b.c.d;port=5480;database=system;uid=myname;password=mypwd; the problem had due vs looking 32-bit driver (nsqlodbc.dll) in c:\windows\syswow64. had 64-bit driver installed.
Comments
Post a Comment