Error encountered during connecting to Oracle Database : JsonSerializationException

database
activities
studio

#1

Hi,

Can anyone help me out with the below error, encountered during connecting to Oracle Database

Activity : Connect

Connection String : “Driver={Microsoft ODBC for Oracle};Server=Arpan;Uid=arpan_owner;Pwd=Arpan#08;”

Provider : “System.Data.Odbc”

Exception Type: JsonSerializationException
Newtonsoft.Json.JsonSerializationException: Cannot create and populate list type System.Data.Odbc.OdbcErrorCollection. Path ‘$values’, line 1, position 175.


Error connecting to database
#2

Hi, have you checked this thread?


#3

I had a similar exception. Catching (try/ catch) the call and writing out the exception message gave me more information about the fault (wrong query in my case).


#4

Any update on this thread. i got same error. i tried try catch method and the link provided. No luck.


#5

@badita any suggestions from your end?