Click here to Skip to main content
15,911,039 members
Home / Discussions / C#
   

C#

 
AnswerRe: Optimize this code [modified] Pin
DaveyM696-Feb-09 3:33
professionalDaveyM696-Feb-09 3:33 
QuestionCombobox Selection in Gridview for Windows Application Pin
pavanip5-Feb-09 19:57
pavanip5-Feb-09 19:57 
Questionhow to update two different tables of a datagrid using a single query Pin
jayamksriram5-Feb-09 19:22
jayamksriram5-Feb-09 19:22 
AnswerRe: how to update two different tables of a datagrid using a single query Pin
Vimalsoft(Pty) Ltd5-Feb-09 20:21
professionalVimalsoft(Pty) Ltd5-Feb-09 20:21 
AnswerRe: how to update two different tables of a datagrid using a single query Pin
tasumisra5-Feb-09 21:20
tasumisra5-Feb-09 21:20 
Questionsql error while running an exe of a c# windows application Pin
sandhya145-Feb-09 18:46
sandhya145-Feb-09 18:46 
AnswerRe: sql error while running an exe of a c# windows application Pin
Vimalsoft(Pty) Ltd5-Feb-09 20:29
professionalVimalsoft(Pty) Ltd5-Feb-09 20:29 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya145-Feb-09 22:25
sandhya145-Feb-09 22:25 
This is the error am getting while running the exe

--------------------------------------------------
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: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Webcam_Test.Form1.btnok_Click(Object sender, EventArgs e) in C:\Documents and Settings\Sreenivas\Desktop\cafeCup-04-02-09\C__Webcam_161075762003\Webcam_Test\Form1.cs:line 358
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.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Webcam_Test
Assembly Version: 1.0.3324.23182
Win32 Version: 1.0.3324.23182
CodeBase: file:///C:/Program%20Files/DotNet/Setup06-02/Webcam_Test.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WebCam_Capture
Assembly Version: 1.0.3322.24568
Win32 Version: 1.0.3322.24568
CodeBase: file:///C:/Program%20Files/DotNet/Setup06-02/WebCam_Capture.DLL
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.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.


------------------------------------------------
GeneralRe: sql error while running an exe of a c# windows application Pin
Vimalsoft(Pty) Ltd5-Feb-09 23:16
professionalVimalsoft(Pty) Ltd5-Feb-09 23:16 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya145-Feb-09 23:32
sandhya145-Feb-09 23:32 
GeneralRe: sql error while running an exe of a c# windows application Pin
Vimalsoft(Pty) Ltd5-Feb-09 23:37
professionalVimalsoft(Pty) Ltd5-Feb-09 23:37 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya145-Feb-09 23:46
sandhya145-Feb-09 23:46 
GeneralRe: sql error while running an exe of a c# windows application Pin
Vimalsoft(Pty) Ltd6-Feb-09 0:09
professionalVimalsoft(Pty) Ltd6-Feb-09 0:09 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya146-Feb-09 0:28
sandhya146-Feb-09 0:28 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya146-Feb-09 0:39
sandhya146-Feb-09 0:39 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya146-Feb-09 19:45
sandhya146-Feb-09 19:45 
Questionhow to create sub tables in sql server Pin
praveenvkumarv5-Feb-09 18:02
praveenvkumarv5-Feb-09 18:02 
AnswerRe: how to create sub tables in sql server Pin
Christian Graus5-Feb-09 20:41
protectorChristian Graus5-Feb-09 20:41 
QuestionServer drives Pin
mrithula85-Feb-09 16:42
mrithula85-Feb-09 16:42 
AnswerRe: Server drives Pin
Dave Kreskowiak5-Feb-09 17:47
mveDave Kreskowiak5-Feb-09 17:47 
Question[Message Deleted] Pin
Michael Halsig5-Feb-09 9:10
Michael Halsig5-Feb-09 9:10 
AnswerRe: ShowDialog keeps loading the form. Pin
N a v a n e e t h5-Feb-09 15:39
N a v a n e e t h5-Feb-09 15:39 
AnswerRe: ShowDialog keeps loading the form. Pin
_Maxxx_5-Feb-09 15:45
professional_Maxxx_5-Feb-09 15:45 
GeneralRe: ShowDialog keeps loading the form. Pin
Michael Halsig6-Feb-09 3:41
Michael Halsig6-Feb-09 3:41 
GeneralRe: ShowDialog keeps loading the form. Pin
Michael Halsig6-Feb-09 6:35
Michael Halsig6-Feb-09 6:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.