Quantcast
Channel: Teradata Downloads - Connectivity
Viewing all 445 articles
Browse latest View live

Unable to connect to database.


How do you connect to a DB View with OData in Visual Studio?

$
0
0

Does anyone know how to connect to a DB View with OData service in Visual Studio? I can connect to DB tables, as in the tutorial: Creating an OData service using .NET Data Provider for Teradata (http://developer.teradata.com/connectivity/articles/creating-an-odata-service-using-net-data-provider-for-teradata). But I cannot select a particular View.
I found article "Specifying Views In the Entity Data Model (EDM) Wizard"http://developer.teradata.com/blog/dsakai/2011/04/specifying-views-in-the-entity-data-model-edm-wizard, but it's from 2011 and is very cumbersome and frankly out of my expertise. I would think there is an easier way by now. Does anyone know or have been able to connect to a view relatively easily?
I am using both VS2010, Win7, .NET Data Provider for Teradata 14.11 release. I also have VS2012, but that does not even list Teradata as an installed product (topic of another post).
 

Forums: 

What is the TDPID and how to do remote connections

$
0
0

Hi All,
I'm a newbie so please forgive my silly questions. I really appreciate any assistance.
1. What is the TDPID and can it be changed for different interfaces such as one for the 1GB interface and another for the 10GB interface on a Teradata server?
2. What is the best practice or recommended method to have remote user connections to access Teradata database such that the connections are load balanced across all nodes with failover to the HSN when it comes online due to a node failure? We are trying to setup COPs aliases for CLI and ODBC connections and need some guidance. We are setting up the below (contrived example):
IP -> ANAME -> CNAME (<TDPID>cop<n>
10.30.250.1 -> tdprd01 -> prd1cop1
10.30.250.2 -> tdprd02 -> prd1cop2
10.30.250.3 -> tdprd03 -> prd1cop3
Thanks for your kind assistance.

Forums: 

Unable to connect to teradata

$
0
0

Hi All,
I am new to Teradata. I have knowledge on Oracle. Recently I installed Teradata 13 version on my lap through VM. I completely installed Teradata tools and utilities. Now I am not able to connect to Teradata through SQL Assistant. While I tried to connect it's showing Error. Below the error log:
 

5/4/2014 2:51:46 PM

SQLA Version: 13.0.0.8

System.AccessViolationException

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

   at Teradata.SQLA.OdbcConnectInfo.SQLDriverConnectW(IntPtr hdbc, IntPtr hwnd, IntPtr szConnStrIn, Int16 cbConnStrIn, IntPtr szConnStrOut, Int16 cbConnStrOutMax, Int16& pcbConnStrOut, Int16 fDriverCompletion)

   at Teradata.SQLA.OdbcConnectInfo.GetConnectString() in F:\ttu130_efix_snap\tdcli\qman\sqla\OdbcConnectInfo.vb:line 89

   at Teradata.SQLA.OdbcConnectInfo.Connect() in F:\ttu130_efix_snap\tdcli\qman\sqla\OdbcConnectInfo.vb:line 175

   at Teradata.SQLA.MainFrm.ConnectMenu_Click(ConnectInfo cn) in F:\ttu130_efix_snap\tdcli\qman\sqla\MainFrm.vb:line 936

   at Teradata.SQLA.MainFrm.ToolbarMgr_ToolClick(Object sender, ToolClickEventArgs e) in F:\ttu130_efix_snap\tdcli\qman\sqla\MainFrm.vb:line 551

*******************************************************

 

Can someone help me out please..

 

 

Regards,

Venkat

Forums: 

Teradata] [100038] is there a timeout parameter?

$
0
0

Extract Beginning for BigComp Extract
Begin date is: 2014/03/01 End date is: 2014/03/31
Exception on Teradata Open for: bigdw.bigcompany.com myuid LDAP Message
is: Teradata.Client.Provider.TdException (0x80004005): [.NET Data Provider for
Teradata] [100038] Command did not complete within the time specified (timeout).
 
[Teradata Database] [3110] The transaction was aborted by the user.
[Socket Transport] [115003] The receive operation timed out. ---> System.Net.Soc
kets.SocketException (0x80004005): A connection attempt failed because the conne
cted party did not properly respond after a period of time, or established conne
ction failed because connected host has failed to respond

Hi,
     I wanted to add some information about this and ask a question.   Our group decided to do a large number (~20) of extracts using dot.net to create an ascii file and then read it in with ms sql bulk copy (as opposed to use ssis or datastage).  Most of these extracts worked fine but with one of them I got the error message I show above.  Which brings me to one piece of information I am offering.  The query you are using can cause a 1000038 error message even though the infrastructure you are connecting with is correct.   In my mind the query that caused the failure,  fails for subtle reasons.  This query is large (returns 40 million rows) but I have other 40 million row queries that work fine, so it's not just the size of the return set.   I think dot.net wants a few rows back within some timeout limit or it thinks nothing is coming back and this query doesn't give anything back within the timeout limit.  So cb.ConnectionTimeout increases the amount of time dot.net has to connect to teradata with uid/pw.  Is there a parameter that can increase the time dot.net waits before rows come back from a query?  Environment is Teradata Client 14.x, c#, Visual Studio 2010.                               ... Flash

Forums: 

Querying Teradata from JavaScript/jQuery?

$
0
0

Is it possible to access Teradata from JavaScript/jQuery?
If it is possible, is there some example about how to connect to Teradata, send a Query, get a dataset back?
Peter Schwennesen

Forums: 

Where is the download link for Teradata ODBC Driver 14.10?

Connecting Teradata with Hive using Cloudera connector powered by Teradata

$
0
0

Hi,
 
I'm new to Hadoop. I'm trying to load tables from Teradata to Hive using Cloudera connector powered by Teradata.
I've installed Teradata 14 VMware version and Cloudera Hadoop quickstart VM in my Windows 7 64 bit laptop. Please let me know whether we can load the data from TD to Hive. Please let me know the process. Tell me how to install TD JDBC driver?
Thanks
Hemachandran

Forums: 

setSavePoint exception

$
0
0

Hi Team,
 
I am getting following exception while calling setSavePoint of Connection interface. 
 
SavePoint currentSavepoint = connection.setSavepoint("BatchSavePoint");
 
com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata JDBC Driver] [TeraJDBC 14.00.00.40] [Error 165] [SQLState HY000] setSavepoint: function not supported in this version" 

Also, I couldn't see the mention of this method at this link:
http://developer.teradata.com/doc/connectivity/jdbc/reference/current/jdbcug_chapter_3.html#CIHGACBC
 
Can anyone suggest whether savepoints are supported by Teradata JDBC driver or not?
 
Regards
Tapan
 

Forums: 

Windows .Net (non-ODBC) connection to Teradata using LDAP authentication

$
0
0

I am trying to use the Teradata .Net connector (v. 14.11.0.1) to establish a connection between my c# Windows application and a Teradata DBMS. I am not using the ODBC connector so there is no DSN associated with the connection.
We are testing this on a client system as we do not have a Teradata system in-house that uses LDAP for authentication. We cannot establish a connection using LDAP. However, the client is using a different application that connects through a Teradata ODBC-based connection with LDAP as the authentication mechanism.
I see some posts to this form that say this should just require a properly crafted connection string, e.g., http://forums.teradata.com/forum/connectivity/net-connection-string-with-ldap. I've tried this and whatever variation seemed feasible without success. (String is similar to: Authentication Mechanism=LDAP;User Id=dbc;Data Source=192.168.3.56;Password=dbc)
Other docs indicate that a custom assembly has to be created to provide AD attributes for the connector, e.g., http://www.info.teradata.com/HTMLPubs/DB_TTU_14_00/index.html#page/Database_Management/B035_1100_111A/Configure_LDAP_Mech_Properties.105.28.html. Under the debugger, I can see that a test assembly so created was indeed being loaded at runtime by the connector. This direction leads to two problems: 1) having the user provide the AD attributes, and 2) dynamically creating the assembly on our client's installations because we're not going to separately create this assemblies for each of our customers.
My question is, from your experience, what is a reliable way to use LDAP in this systems? Am I missing something in trying to craft a simple connection string? The second method seems to provide AD info that would be necessary to connect via LDAP. However, it will take a bit of code to allow the user to enter their AD attributes and then generate an assembly on-the-fly. I'm almost at the point where I'm going to back out to the ODBC-based driver in the hopes that the ODBC driver setup will handle the LDAP issues.
 

Forums: 

JDBC FastLoadCSV Connection; multi character field separator??

$
0
0

Is this possible? I see in the FastLoadCSV docs that you can specify other field separators besides comma.
I'm using the old CLI version of fastload all the time now, and a lot of my data has unfiltered user input, so one of my favorite features is to be able to use something like |~| or ^^^  as a field separator. If I can't do this via JDBC, I'll have to change a lot of my load processes, and watch out for users that put ascii pictures in their description fields.

Forums: 

.net Provider did not install into GAC

$
0
0

Hi,
I downloaded the .net Data Provider for Teradata 14.11 from this link: 
http://downloads.teradata.com/download/connectivity/net-data-provider-for-teradata
and installed it on my machine using the installation program.
However I am not able to find the assembly in GAC after installation. The dll is present in installation folder but not in GAC.
I have a Windows 7 32 bit OS with .net framework 4.0. I have administrative privileges.
 

Forums: 

[TeraJDBC 15.00.00.15] [Error 1178] [SQLState HY000]

$
0
0

Hi,
I new with Teradata and I will try to connect TD DB with JDBC. When I try a specific request I get an SQLException with the message :

[Teradata JDBC Driver] [TeraJDBC 15.00.00.15] [Error 1178] [SQLState HY000] The Teradata Database did not provide the expected response - unable to read 8224 byte(s) from the database. Only 209814 byte(s) were received from the database and 202217 byte(s) have already been read.

When I try to execute the same request in bteq I have a result.
I don't know how to proceed for find more information about the problem ?
Thanks
 

Tags: 
Forums: 

TDOLE DB Driver 14.1 - A dynamic link library (DLL) initialization routine failed

$
0
0

Hi,
I am getting an error message “A dynamic link library (DLL) initialization routine failed.” when I try to access Teradata database from within my ETL tool, SQL Server Integration Services (SSIS) 2008 package.
A bit more detail on the error description:
A dynamic link library (DLL) initialization routine failed.". ..Error: 2014-05-19 06:00:02.77     Code: 0xC020801C     Source: OLE DB Source [1]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Source_Teradata" failed with error code 0xC0202009
This error started occurring ever since I uninstalled the v12.0 of Teradata drivers and installed v14.0 of Teradata Drivers & Utilities. Prior to this uninstallation, the SSIS packages were working fine connecting to Teradata database.
Some of the environment details are as below:
OS: Windows Server 2008 R2 Enterprise
Teradata Drivers: v14.10 32-bit
Teradata Utilities: v14.10 32-bit(FastExport/FastLoad/BTEQ/Multiload)
Note: Exactly the same installation in Staging environment, however, is working fine.
Any thoughts on this issue please.

Forums: 

teradata driver upgraded from 12 to 14; excel vba connection string wont work now

$
0
0

Recently changed from 12 to 14, a macro we had to auto connect to Teradata that worked fine with 12 now gives the error [Teradata][ODBC Teradata Driver] Not enough information to log on.
 
Is there something that needs to be modified?  VBA code is below, with comment on where error is occuring...
 
Sub qryTeradata(userid As String, password As String, XLSQL As String, exceltab As String)
Dim cn As ADODB.Connection
Set cn = New ADODB.Connection
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
Dim cmdSQLData As ADODB.Command
Set cmdSQLData = New ADODB.Command
         
'Open connection with Teradata THIS IS WHAT IS CAUSING THE ERROR
   cn.Open "Data Source=ntl_prd_allvm;"& _
           "Database=ntl_prd_allvm;"& _
           "Persist Security Info=True;Session Mode=ANSI;"& _
           "Uid="& userid & ";"& _
           "Pwd="& password & ""

Forums: 

teradata and password expired!

$
0
0

...
UserName = "user1"
userpwd = "passw1"

Set CONN = New ADODB.Connection
CONN.CommandTimeout = 0
CONN.ConnectionString = "Data Source=Teradata Produzione;Database=DBH;UID="& UserName & ";PWD="& userpwd
CONN.Open
...

I use this code to connect a Tredata database.

Prob! when the password expire in the vb project appear a windows popup to tell me to change the expired password...!

Is possible via code when the pasword expire automaticlly use a new password and store for next use?

I have gogling and in a post i see to set int string connection a new PWD similar:

CONN.ConnectionString = "Data Source=Teradata Produzione;Database=DBH;UID="& UserName & ";PWD="& userpwd;PWD1="& userpwd1
And when the old pasword expire the code use the new userpwd1

is this correct?

Forums: 

XA supported JDBC driver

$
0
0

Do teradata provide XA supported driver. I have using multiple DB in my Java Application and I want to govern all the Queries under one transaction. For that I need global transaction like JTA etc.. But all these global transaction needs XA supported Teradata driver. 
Kindly provide details if we support such driver.

Forums: 

What does the "Generic Download License" mean?

$
0
0

 

Hi,

 

I'm not sure what the "Generic Download License" really means. Is it possible to use the downloaded software for production if we have valid license for Teradata RDBMS?

e.g. use downloaded ODBC driver 14.x while we only have license for TTU 13.x.

 

 

(a)  Subject to your compliance with all of the terms and conditions of this Agreement and only during the term of this Agreement, Teradata grants you a nonexclusive, nontransferable, paid up license to install and use the Software on your computer workstation (the configuration of which meets the requirements for installing the Software) solely for purposes of 

 

i)  facilitating your Teradata-authorized license to use the Teradata Relational Database.

 

Forums: 

Connection between SSIS and Teradata Destination

$
0
0

Hi all,
I have to insert more than 70 milions register from a .csv to a Teradata Destination via SSIS. After insert 2 milions of data, an error appear:
[Teradata Destination [133]] Erro: TPT Import failed to insert row. No record of the last request was found after DBC restart
I use Fast Load feature...
Can someone help me?
Thanks

Forums: 

Will exisiting .Net connectivity be affected by upgrade from 13 to 14.10?

$
0
0

Hi, I currently have a connection from SQLServer 2008R2 integration services to Teradata v13. The version of Teradata is due to be upgraded to v14.10 soon, and I am trying to confirm if my connection from SQL Server will be affected or not.
The .Net drivers are from the Teradata Tools and Utilities - Base 14.10.03, so I am assuming that this will continue to work, but I am hoping to be able to confirm this.
 
Any advice or pointers greatly appreciated!

Forums: 
Viewing all 445 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>