asp.net - What does error ORA-12571 (TNS:packet writer failure) mean in a Web Service? -


Background : I am calling a web service written in ASP.NET which is Oracle database. I know that the web service works only because I have used it before other applications, so I have a web application in Visual Studio, which is a web application for testing from 'one' web service. Switching the configured version back and forth is not a problem pointing to the 'DEV' configured web service, but by calling the production version, Ulate and get an exception:

  was unable to respond to user code was by bad soap Apokshns server request. --- & gt; Could not execute query [SELECT this_.FIELD1 as FIELD1_18_0_, it_FIELD2 as FIELD12_18_0_ as ABC. TABLE_A is__ where it_. FIELD1 such as: p0 ORDER BY_.FIELD1 asc] Position parameter: # 0> 00073% [SQL: SELECT this_. FIELD1 as FIELD1_18_0_, this_.FIELD2 as AIC.TABLE_A to FIELD12_18_0_this_where it_. FIELD1 like: p0 ORDER BY this_.FIELD1] --- & gt; ORA-12571: TNS: failure of packet author  

I run SQL queries against proper databases (directly cut and pasted from exception message) and queries returned with expected data. I have tried to update and re-add the web service context to both "service reference" (like .NET 3.0+) and "web reference" (old .NET route), and both give the error.

Question : So, "ORA-12571: TNS: Packet Writer Failure" What does the error mean in the context of web service? Seeing the Oracle error number gives some very vague probable reasons like "loose cable connection" or "IP address conflicts". I am certain that none of these is present, because a different application is currently using the web service successfully. Probably some kind of configuration error, or maybe something more subtle? Someone else has seen whether some troubled Oracle error number related to web service is being blamed?

Your call is going from WS client to WS server, from Oracle database.

Your error is an ORA error, which is generated by the database so your problem is probably between the server and the database.

When you run "SQL queries against the appropriate database", do you do it from a web server? If you can not do this, make sure that you are using the same connection configuration.

Edit

According to the comment below, the actual problem was a driver mismatch.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -