Grazie per la risposta e ti allego il messaggio di errore che mi riporta.Originariamente inviato da FiOrEbAt
magari se ci dici che errore è capiamo qualche cosa :P
Il caso ripeto,
GRIDVIEW che popolata tramite sqldatasource, con impostata la condizione che una colonna della tabella sia uguale ad un control del form. Se la condizione è posta su una collonna della tab. di tipo number ok, se la colonna è una stringa varchar questo è ll'errore che mi ritorna.
Il db è oracle 9.
Errore server nell'applicazione '/WebSite9'.
--------------------------------------------------------------------------------
ORA-12571: TNS: errore dello scrittore del pacchetto
Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere l'analisi dello stack.
Dettagli eccezione: System.Data.OracleClient.OracleException: ORA-12571: TNS: errore dello scrittore del pacchetto
Errore nel codice sorgente:
Durante l'esecuzione della richiesta Web corrente è stata generata un'eccezione non gestita. Per informazioni sull'origine e la posizione dell'eccezione, vedere l'analisi dello stack dell'eccezione riportata di seguito.
Analisi dello stack:
[OracleException (0x80131938): ORA-12571: TNS: errore dello scrittore del pacchetto
]
System.Data.OracleClient.OracleConnection.CheckErr or(OciErrorHandle errorHandle, Int32 rc) +167
System.Data.OracleClient.OracleCommand.Execute(Oci StatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals) +1719
System.Data.OracleClient.OracleCommand.Execute(Oci StatementHandle statementHandle, CommandBehavior behavior, ArrayList& resultParameterOrdinals) +50
System.Data.OracleClient.OracleCommand.ExecuteRead er(CommandBehavior behavior) +174
System.Data.OracleClient.OracleCommand.ExecuteDbDa taReader(CommandBehavior behavior) +29
System.Data.Common.DbCommand.System.Data.IDbComman d.ExecuteReader(CommandBehavior behavior) +32
System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +183
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +307
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +152
System.Web.UI.WebControls.SqlDataSourceView.Execut eSelect(DataSourceSelectArguments arguments) +2868
System.Web.UI.DataSourceView.Select(DataSourceSele ctArguments arguments, DataSourceViewSelectCallback callback) +84
System.Web.UI.WebControls.DataBoundControl.Perform Select() +154
System.Web.UI.WebControls.BaseDataBoundControl.Dat aBind() +99
System.Web.UI.WebControls.GridView.DataBind() +24
System.Web.UI.WebControls.BaseDataBoundControl.Ens ureDataBound() +91
System.Web.UI.WebControls.BaseDataBoundControl.OnP reRender(EventArgs e) +33
System.Web.UI.WebControls.GridView.OnPreRender(Eve ntArgs e) +75
System.Web.UI.Control.PreRenderRecursiveInternal() +148
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4436
--------------------------------------------------------------------------------
Informazioni di versione: Versione di Microsoft .NET Framework:2.0.50727.832; Versione di ASP.NET:2.0.50727.832