Non capisco per quale motivo una web applications .NET che in locale funziona correttamente, sul server durante un'operazione di scrittura sul DB da un errore (che allego di seguito). Questo errore sembra verificarsi sono in una specifica situazione (intendo che le altre operazioni sul DB avvengono con successo), ma con gli stessi dati in locale funziona correttamente.
Sui due sistemi locale e server è presente la stessa versione del Framework: 1.14322, il DB è identico in quanto ho preso il DB presente sul server.
Cosa può essere?
Server Error in '/App05' Application.
--------------------------------------------------------------------------------
Overflow
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Overflow
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[OleDbException (0x80040e57): Overflow]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr) +41
System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult) +174
System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult) +92
System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult) +65
System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method) +112
System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +66
App.Admin.DettaglioDe.buttonAdd_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\App\Admin\DettaglioDe.aspx.cs:2 438
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032