Four Stars

failing to connect to oracle db "Invalid number format for port number"

Hi Guys,

I was struck with a simple problem.

I was trying to connect to oracle database using tContextLoad component.

Im reading the db values from a csv file and Im able to load and display the values in the console but when i try to use the context variables in tOracleInput component im getting the above error 
"Invalid number format for port number"

Can anyone help me with this??

The strange thing here is im able to connect to db if i hard code the value in context variable without loading from file
but when i try to load the value from file im getting the above error

this is my csv file content

host:localhost
port:1521
sidSmiley Surprisedracle
databaseSmiley Surprisedracle
username:source_db
password:source_db
schema:source_db

2 REPLIES
Six Stars

Re: failing to connect to oracle db "Invalid number format for port number"

What is the Type on your Port Context Variable? it should be string that is the only thing I can think of

Four Stars

Re: failing to connect to oracle db "Invalid number format for port number"

Hi,

Yes the data type was string only for the port number