The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Polling

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Paschal

Posts: 1621
Nickname: bigapple
Registered: Nov, 2003

Paschal is a .Net developer
Polling Posted: Mar 25, 2004 11:36 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Paschal.
Original Post: Polling
Feed Title: help.net
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/pleloup/Rss.aspx
Feed Description: .Net for mankind !
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Paschal
Latest Posts From help.net

Advertisement

OK Andrew Seven has been kind to put me on the right track for the DAL and General Network Error issues.

He recommend to use more Dataset than Datareader and yes he's right because you don't have to think closing your connections with Dataset.

Andrew mentioned in one of his post a great article The .NET Connection Pool Lifeguard written by William Vaughn.

I found there a lot of great ideas. Read it !

I was able to fix one of the method causing errors. Something anyway I don't understand is that the connection was closed properly in  my code.

But now it works well by just doing one change, closing the connection in the ExecuteReader property. Weird !

And I still keep the connection close at the end without causing any error.

So now instead of dtr = cmdSelect.ExecuteReader() I have

dtr = cmdSelect.ExecuteReader(CommandBehavior.CloseConnection).

And still dtr.close() and Myconnection.close() at the end.

 

Read: Polling

Topic: Getting a Job with Microsoft Previous Topic   Next Topic Topic: How do Microsoft Email Addresses Work?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use