Unhandled Exception

R

Rajesh Abraham

I got an unhandled Exception, details of which is gas
given below. Any Idea what this means and how to
trobleshoot this kind of errors.

Thanks,

Rajesh Abraham Chacko

--- ------------Error Detaild Below --------------

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.SqlClient.SqlException: String or binary data
would be truncated.
at System.Data.Common.DbDataAdapter.Update(DataRow[]
dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataRow[]
dataRows)
at Itep.DbData.DbUtils.UpdateNewStudents(DataRow[]
rwsStudents)
at Itep.TrackingSyncBis.BisUtils.ImportUsers(DataRow[]
rwStudentsToImport)
at Itep.TrackingSync.frmTrackingSync.btnImportToAd_Click
(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs
mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m,
MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage
(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc
(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib
..dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c5619
34e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b0
3f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.DirectoryServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.directoryservices/1.0.
5000.0__b03f5f7f11d50a3a/system.directoryservices.dll
----------------------------------------
System.Messaging
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.messaging/1.0.5000.0__
b03f5f7f11d50a3a/system.messaging.dll
----------------------------------------
System.ServiceProcess
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.serviceprocess/1.0.500
0.0__b03f5f7f11d50a3a/system.serviceprocess.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.data/1.0.5000.0__b77a5
c561934e089/system.data.dll
----------------------------------------
TrackingSync0304
Assembly Version: 1.0.1341.41977
Win32 Version: 1.0.1341.41977
CodeBase: file:///C:/Program%
20Files/ITServices/TrackingSync0304/TrackingSync0304.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000
..0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
TrackingSyncBis
Assembly Version: 1.0.1341.41977
Win32 Version: 1.0.1341.41977
CodeBase: file:///C:/Program%
20Files/ITServices/TrackingSync0304/TrackingSyncBis.DLL
----------------------------------------
DbData
Assembly Version: 1.0.1341.41975
Win32 Version: 1.0.1341.41975
CodeBase: file:///C:/Program%
20Files/ITServices/TrackingSync0304/DbData.DLL
----------------------------------------
AdData
Assembly Version: 1.0.1341.41976
Win32 Version: 1.0.1341.41976
CodeBase: file:///C:/Program%
20Files/ITServices/TrackingSync0304/AdData.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c
561934e089/system.xml.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.enterpriseservices/1.0
..5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------
Interop.ItepInterop
Assembly Version: 6.0.0.0
Win32 Version: 6.0.0.0
CodeBase: file:///C:/Program%
20Files/ITServices/TrackingSync0304/Interop.ItepInterop.DLL
----------------------------------------
CustomMarshalers
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/custommarshalers/1.0.5000.0__
b03f5f7f11d50a3a/custommarshalers.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file
for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
 
J

Jon Skeet

Rajesh Abraham said:
Thanks for the response. I think you are right. Could you
tell me how could you make out the error from the details.
I mean, which line tells gives that indication.

The message at the start of the stack trace:

"System.Data.SqlClient.SqlException: String or binary data
would be truncated."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top