Click here to Skip to main content
15,900,616 members
Home / Discussions / Database
   

Database

 
GeneralRe: Stopping SQL Pin
Megan Forbes10-Nov-03 3:47
Megan Forbes10-Nov-03 3:47 
GeneralRe: Stopping SQL Pin
Jeff Varszegi10-Nov-03 7:21
professionalJeff Varszegi10-Nov-03 7:21 
GeneralRe: Stopping SQL Pin
Bruce Duncan10-Nov-03 7:05
Bruce Duncan10-Nov-03 7:05 
QuestionHow to set null values in dataset ? Pin
susree9-Nov-03 19:46
susree9-Nov-03 19:46 
AnswerRe: How to set null values in dataset ? Pin
Mike Dimmick11-Nov-03 10:22
Mike Dimmick11-Nov-03 10:22 
GeneralRe: How to set null values in dataset ? Pin
susree11-Nov-03 17:53
susree11-Nov-03 17:53 
GeneralMS Access Database Connection with VB.NET Pin
EdZa8-Nov-03 12:21
EdZa8-Nov-03 12:21 
GeneralRe: MS Access Database Connection with VB.NET Pin
Pauwll8-Nov-03 16:27
Pauwll8-Nov-03 16:27 
GeneralRe: MS Access Database Connection with VB.NET Pin
Mike Dimmick11-Nov-03 10:24
Mike Dimmick11-Nov-03 10:24 
GeneralRe: MS Access Database Connection with VB.NET Pin
Member 59242011-Nov-03 19:20
Member 59242011-Nov-03 19:20 
GeneralConverting from SQL server to MS Access Pin
pankajdaga8-Nov-03 12:05
pankajdaga8-Nov-03 12:05 
QuestionExecuteScalar with COUNT causes Exception? Pin
Pauwll8-Nov-03 1:21
Pauwll8-Nov-03 1:21 
AnswerRe: ExecuteScalar with COUNT causes Exception? Pin
jeff_martin11-Nov-03 11:54
jeff_martin11-Nov-03 11:54 
GeneralRe: ExecuteScalar with COUNT causes Exception? Pin
Pauwll12-Nov-03 6:00
Pauwll12-Nov-03 6:00 
GeneralRe: ExecuteScalar with COUNT causes Exception? Pin
jeff_martin12-Nov-03 7:25
jeff_martin12-Nov-03 7:25 
GeneralRe: ExecuteScalar with COUNT causes Exception? Pin
Pauwll12-Nov-03 16:27
Pauwll12-Nov-03 16:27 
GeneralRe: ExecuteScalar with COUNT causes Exception? Pin
jeff_martin13-Nov-03 3:41
jeff_martin13-Nov-03 3:41 
GeneralRe: ExecuteScalar with COUNT causes Exception? Pin
Pauwll13-Nov-03 5:07
Pauwll13-Nov-03 5:07 
GeneralPutting fixed array into DB field Pin
EddieSD647-Nov-03 11:31
sussEddieSD647-Nov-03 11:31 
GeneralStored Procs, parameters and IN Clause Pin
stephen woolhead7-Nov-03 5:00
stephen woolhead7-Nov-03 5:00 
GeneralRe: Stored Procs, parameters and IN Clause Pin
jeff_martin11-Nov-03 12:04
jeff_martin11-Nov-03 12:04 
GeneralSQL Server does not exist or access denied Pin
yyf7-Nov-03 2:50
yyf7-Nov-03 2:50 
I have a problem here. I tried to connect sqlserver as many time as I can in one function, because I want to know about the limitation of connection of sqlserver, btw, the sqlserver is not in my computer, the code is like :

		private void ExecuteCommand_ConnTest_process()<br />
		{<br />
			ArrayList conn = new ArrayList(3000);<br />
			int num = 0;<br />
<br />
			string conn_s = "...";<br />
			conn_s += "Connect Timeout=600;Max Pool Size=1000000;";<br />
<br />
			try<br />
			{<br />
				while ( true ) <br />
				{<br />
					conn.Add(new SqlConnection(conn_s));<br />
					((IDbConnection)conn[num]).Open();<br />
					num ++; <br />
					Thread.Sleep(10);<br />
				}<br />
			}<br />
			catch( InvalidOperationException ioexp )<br />
			{<br />
				StringBuilder buildError = new StringBuilder();<br />
				buildError.Append( "InvalidOperationException thrown when trying to connect "  );<br />
				buildError.Append( ", error given = " + ioexp.Message);<br />
                             MessageBox.Show(builderError.ToString());<br />
			}<br />
			catch ( Exception e ) <br />
			{<br />
				StringBuilder buildError = new StringBuilder();<br />
				buildError.Append( "Exception thrown when trying to connect "  );<br />
				buildError.Append( ", error given = " + e.Message );<br />
<br />
                             MessageBox.Show(builderError.ToString());<br />
			}<br />
			finally<br />
			{<br />
                             MessageBox.Show(builderError.ToString());<br />
			}<br />
		}


After certain number connections, such 6000, it throws an exception:
"SQL Server does not exist or access denied". Then I found I can not access Internet. I have to restart my computer. Why this happened? What's wrong with my code? Could anyone please tell me? Thanks in advance!
GeneralProblem with _Connection::Open ! Pin
nigs_krec7-Nov-03 1:53
nigs_krec7-Nov-03 1:53 
GeneralManaged .NET Embedded Database Pin
Andrew Shapira6-Nov-03 10:11
Andrew Shapira6-Nov-03 10:11 
GeneralRe: Managed .NET Embedded Database Pin
Mike Dimmick7-Nov-03 2:54
Mike Dimmick7-Nov-03 2:54 

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.