Unexpected character encountered while parsing value: <. Path '', line 0, position 0.


String or binary data would be truncated.

Server Error in '/' Application.

String or binary data would be truncated.

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.SqlClient.SqlException: String or binary data would be truncated.

Source Error:


Line 71: 			da.SelectCommand = cmd;
Line 72: 			DataSet ds = new DataSet();
Line 73: 			da.Fill(ds);
Line 74: 			return ds;
Line 75: 		}

Source File: C:\itwork\inetpub\wwwroot\cms.gdforce.com\App_Code\clsDBHelper.cs    Line: 73

Stack Trace:


[SqlException (0x80131904): String or binary data would be truncated.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +3316524
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +736
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4061
   System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +90
   System.Data.SqlClient.SqlDataReader.get_MetaData() +99
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) +604
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +3303
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +667
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +83
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +301
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +201
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +178
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +122
   dynapp.clsDBHelper.ExecuteDataSet(SqlCommand cmd) in C:\itwork\inetpub\wwwroot\cms.gdforce.com\App_Code\clsDBHelper.cs:73
   dynapp.Document.get_ds(Document obj) in C:\itwork\inetpub\wwwroot\cms.gdforce.com\App_Code\Document.cs:68
   dynapp.Document.get(Document obj) in C:\itwork\inetpub\wwwroot\cms.gdforce.com\App_Code\Document.cs:75

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +142
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +34
   API.MethodReflection(Type mytype, String fn, HttpContext context) in C:\itwork\inetpub\wwwroot\cms.gdforce.com\api\api.ashx:98
   API.ProcessRequest(HttpContext context) in C:\itwork\inetpub\wwwroot\cms.gdforce.com\api\api.ashx:32
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3535.0
Session state has created a session id, but cannot save it because the response was already flushed by the application.

Server Error in '/' Application.

Session state has created a session id, but cannot save it because the response was already flushed by the application.

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.Web.HttpException: Session state has created a session id, but cannot save it because the response was already flushed by the application.

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:


[HttpException (0x80004005): Session state has created a session id, but cannot save it because the response was already flushed by the application.]
   System.Web.SessionState.SessionIDManager.SaveSessionID(HttpContext context, String id, Boolean& redirected, Boolean& cookieAdded) +3246284
   System.Web.SessionState.SessionStateModule.CreateSessionId() +54
   System.Web.SessionState.SessionStateModule.DelayedGetSessionId() +80
   System.Web.SessionState.SessionStateModule.ReleaseStateGetSessionID() +19
   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +545
   System.Web.SessionState.SessionStateModule.OnEndRequest(Object source, EventArgs eventArgs) +9967182
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +71


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3535.0