Bao gồm: Phân tích, thiết kế hệ thống thông tin (HDT). Source code (full) + File setup. Video hướng dẫn sử dụng. Tài liệu tham khảo. Demo: Down load: http://www.mediafire.com/?kph006apmp5ji9u Pass: Mã: 2mit.org Update: Video huong dan http://www.mediafire.com/download.php?2burt3uxcnx23n1http://www.mediafire.com/download.php?cn8d3ors728wh6dhttp://www.mediafire.com/download.php?luuzo7zy7sw28ruhttp://www.mediafire.com/download.php?i40moctoeng2969P/s: mọi người down về xem nhưng chỉ mang tính chất tham khảo thôi nhé! Nếu có gì không hiểu thì liên lạc qua: Yahoo: xiliton_keomut_1002 Skype: lyvinhroom
Các anh cho em hỏi một chút, em thấy ứng dụng rất hay nên lấy về chạy thử. khi chạy em thấy mọi thứ đều ổn, riêng chỉ khi em thực hiện thao tác update, insert dữ liệu thì nó báo lỗi như hình. ở tất cả các form mà có thao tác insert update dữ liệu đều bị lỗi này mỗi khi em thực hiện update hay insert còn delete thì không vấn đề gì. mong các anh xem giúp em, em cảm ơn các anh. Dưới đây là tất cả nội dun thông báo trong ô trên. HTML: See the end of this message for details on invoking[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]just-in-time (JIT) debugging instead of this dialog box.[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]************** Exception Text **************[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Data.SqlClient.SqlException (0x80131904): Conversion failed when converting datetime from character string.[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at QLTV_V2.DataAccess.ConnectData.ExecuteQuery(String sql) in E:\PHẦN MỀM VIẾT\TVSRI\QLTV_V2\QLTV_V2\DataAccess\ConnectData.cs:line 70[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at QLTV_V2.BussinessLogic.BanDocBUS.UpdateBandoc(BanDoc bandoc, String dk) in E:\PHẦN MỀM VIẾT\TVSRI\QLTV_V2\QLTV_V2\BussinessLogic\BanDocBUS.cs:line 109[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at QLTV_V2.FrmLaptheBandoc.btn_luu_Click(Object sender, EventArgs e) in E:\PHẦN MỀM VIẾT\TVSRI\QLTV_V2\QLTV_V2\frm\FrmLaptheBandoc.cs:line 136[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at DevComponents.DotNetBar.GenericItemContainer.InternalMouseUp(MouseEventArgs objArg)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at DevComponents.DotNetBar.Bar.OnMouseUp(MouseEventArgs e)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Windows.Forms.Control.WndProc(Message& m)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at DevComponents.DotNetBar.Bar.WndProc(Message& m)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]************** Loaded Assemblies **************[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]mscorlib[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]QLTV_V2[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 1.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 1.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///E:/PHẦN%20MỀM%20VIẾT/TVSRI/QLTV_V2/QLTV_V2/bin/Debug/QLTV_V2.exe[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Windows.Forms[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 built by: RTMRel[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Drawing[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 built by: RTMRel[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 built by: RTMRel[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]DevComponents.DotNetBar2[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 9.3.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 9.3.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/DevComponents.DotNetBar2/9.3.0.0__7eb7c3a35b91de04/DevComponents.DotNetBar2.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Data[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Core[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 built by: RTMRel[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Configuration[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Xml[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 built by: RTMRel[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Transactions[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.EnterpriseServices[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]Accessibility[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 built by: RTMRel[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]System.Numerics[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Assembly Version: 4.0.0.0[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] Win32 Version: 4.0.30319.1 built by: RTMRel[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]----------------------------------------[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]************** JIT Debugging **************[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]To enable just-in-time (JIT) debugging, the .config file for this[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]application or computer (machine.config) must have the[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]jitDebugging value set in the system.windows.forms section.[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]The application must also be compiled with debugging[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]enabled.[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]For example:[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]<configuration>[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] <system.windows.forms jitDebugging="true" />[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]</configuration>[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]When JIT debugging is enabled, any unhandled exception[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]will be sent to the JIT debugger registered on the computer[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414]rather than be handled by this dialog box.[/COLOR][/FONT][/SIZE] [SIZE=16px][FONT=Tahoma][COLOR=#141414][/HTML][/COLOR][/FONT][/SIZE] Mong các anh chỉ bảo và giúp đỡ.[/HTML][/COLOR][/FONT][/SIZE]
mấy bạn cho mình hỏi đã có ai cài soft tv này chưa. mình cài vào nhưng không hiểu rõ chỗ đăng nhập có 4 mục mình phải điền như thế nào. có bạn bào biết cách đăng nhập hệ thống thì hướng dẫn mình đăng nhập với
Hi mn, lâu rồi mới nghe thăm 4 rum, mình cũng có nhận được một số feedback từ các bạn. mình sẽ up luôn bộ video hướng dẫn cho các bạn, Tks mọi ng đã quan tâm.
Cấu hình máy chủ SQL SERVER Địa Chỉ máy chủ: Tên máy chủ SQL Server Tên Data: là tên data bạn đã Attach (QLTV_V2) Tên Đăng nhập: tên đăng nhập sql server Mật khẩu: Mật khẩu truy cập sql server
Mã: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: ExecuteScalar requires an open and available Connection. The connection's current state is closed. at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method) at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command) at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at QLTV_V2.DataAccess.ConnectData.ExecuteScalars(String sql) in C:\Users\CULY\Desktop\QLTV_V2\QLTV_V2\DataAccess\ConnectData.cs:line 81 at QLTV_V2.BussinessLogic.LoginBUS.ChekcUser(String username, String pass) in C:\Users\CULY\Desktop\QLTV_V2\QLTV_V2\BussinessLogic\LoginBUS.cs:line 20 at QLTV_V2.FrmLogin.btn_DangNhap_Click_1(Object sender, EventArgs e) in C:\Users\CULY\Desktop\QLTV_V2\QLTV_V2\frm\FrmLogin.cs:line 50 at System.Windows.Forms.Control.OnClick(EventArgs e) at DevComponents.DotNetBar.ButtonX.PerformClick() at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData) at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.PreProcessMessage(Message& msg) at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg) at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- QLTV_V2 Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/Default%20Company%20Name/QLTV/QLTV_V2.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- DevComponents.DotNetBar2 Assembly Version: 8.0.0.0 Win32 Version: 8.0.0.0 CodeBase: file:///C:/Program%20Files/Default%20Company%20Name/QLTV/DevComponents.DotNetBar2.DLL ---------------------------------------- System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Transactions Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Deployment Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (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 computer rather than be handled by this dialog box. mình đăng nhập thì nó bị lỗi này có bạn nào biết bị gì không
Mã: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: ExecuteScalar requires an open and available Connection. The connection's current state is closed. at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method) at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command) at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at QLTV_V2.DataAccess.ConnectData.ExecuteScalars(String sql) in C:\Users\CULY\Desktop\QLTV_V2\QLTV_V2\DataAccess\ConnectData.cs:line 81 at QLTV_V2.BussinessLogic.LoginBUS.ChekcUser(String username, String pass) in C:\Users\CULY\Desktop\QLTV_V2\QLTV_V2\BussinessLogic\LoginBUS.cs:line 20 at QLTV_V2.FrmLogin.btn_DangNhap_Click_1(Object sender, EventArgs e) in C:\Users\CULY\Desktop\QLTV_V2\QLTV_V2\frm\FrmLogin.cs:line 50 at System.Windows.Forms.Control.OnClick(EventArgs e) at DevComponents.DotNetBar.ButtonX.PerformClick() at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData) at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.PreProcessMessage(Message& msg) at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg) at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- QLTV_V2 Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/Default%20Company%20Name/QLTV/QLTV_V2.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- DevComponents.DotNetBar2 Assembly Version: 8.0.0.0 Win32 Version: 8.0.0.0 CodeBase: file:///C:/Program%20Files/Default%20Company%20Name/QLTV/DevComponents.DotNetBar2.DLL ---------------------------------------- System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Transactions Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Deployment Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (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 computer rather than be handled by this dialog box. mình đăng nhập thì nó bị lỗi này có bạn nào biết bị gì không