Error ORA-12571 encountedred in Windows Service

Asked

Viewed 118 times

1

I have a C# system running as a windows service, with Windows Server 2012R2.

Eventually when the service tries to communicate with the database (to perform a query or make an Insert, for example) the communication between the windows server and the host where the database is running "crashed" and then the oracle error ORA-12571 is generated.

We already know that this is not a problem in the database, but in the communication between the host.

To solve, simply run the service again and everything happens smoothly.

The worst is that the windows event log does not capture anything that can help us or gives a clue about the problem.

If you need more details, just ask!

Thanks in advance.

  • Perhaps it is the case to implement an Exception Handling at the point where the error occurs and try a reconnection?

1 answer

1


In his sqlnet.ora

Look for --> SQLNET.AUTHENTICATION_SERVICES= (NTS)

Change to --> SQLNET.AUTHENTICATION_SERVICES= (NONE)

  • Dear, thank you so much for the feedback, I will test at this time and return the result as soon as I know.

  • Thank you Otto! So far we have had no more occurrences of this error :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.