Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
sid0683p000009MA5A.pngracle
database0683p000009MA5A.pngracle
username:source_db
password:source_db
schema:source_db

Labels (4)
2 Replies
Shettydatta
Contributor III
Contributor III

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

Anonymous
Not applicable
Author

Hi,

Yes the data type was string only for the port number