Page 1 of 1

Help Reqd: Unable to load data into the target table

Posted: Wed Aug 19, 2009 12:02 pm
by kiranredz
Hi,

I am able to connect to my remote database server using ODBC.
I am successfully able to create type trees with this connection definition.

When I run my maps to load a flat file into the database, the map loads data into the tables for the first couple of times.

From the next run, I get a message saying target not available

What would be the possible issue?
I am wondering how I can debug this issue. Please help me.

Thanks in advance

Posted: Wed Aug 19, 2009 5:55 pm
by ray.wurlod
Have you checked that the diagnosis is accurate - that is, the database server itself is actually unavailable, or has too many connections?

Posted: Thu Aug 20, 2009 12:36 am
by kiranredz
ray.wurlod wrote:Have you checked that the diagnosis is accurate - that is, the database server itself is actually unavailable, or has too many connections? ...
Yes sir. The database server is available.
As you said, may be there are too many connections to the remote machine.

I get the same error at times when I run my maps in my local machine too. Now, the database server is installed in my local machine; am trying to access the table in my local DB.

Thanks.
Kiran

Posted: Thu Sep 10, 2009 8:36 pm
by jvmerc
The standard map log will be insufficient when dealing with DB errors. You'll want to follow Rep's advice and turn on the db trace '-t'. run the map and look for a dile extention of 'dbl' unless you override the trace file name.