Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
QuestionSend MMS in C# Pin
nageshwaran16-Oct-08 16:37
nageshwaran16-Oct-08 16:37 
AnswerRe: Send MMS in C# Pin
Simon P Stevens16-Oct-08 22:09
Simon P Stevens16-Oct-08 22:09 
QuestionCrystal Report - treeview Pin
nelsonpaixao16-Oct-08 14:22
nelsonpaixao16-Oct-08 14:22 
QuestionHow to Clear WebBrowser control 'Cache'? Pin
Trapper-Hell16-Oct-08 12:57
Trapper-Hell16-Oct-08 12:57 
AnswerRe: How to Clear WebBrowser control 'Cache'? Pin
aj.esler17-Oct-08 3:11
aj.esler17-Oct-08 3:11 
QuestionRe: How to Clear WebBrowser control 'Cache'? Pin
dialaya13-Oct-09 4:06
dialaya13-Oct-09 4:06 
QuestionXmlReaderSettings does not resolve an xs:import with http://... location Pin
giangilpredo16-Oct-08 11:33
giangilpredo16-Oct-08 11:33 
QuestionUrgent help req.How to close an Oracle connection when network gets disconnected Pin
ravindradonkada16-Oct-08 11:10
ravindradonkada16-Oct-08 11:10 
Hi all,

In one of our project(Windows Servcice) we are facing an issue like



After opening an Oracle Connection ,networks get disconnected before executing the finally block



So not able to close the Oracle Session and the connection is in inactive state for long time



untill we are killing it manually.



Like this we have an inactive sessions of around 165.



This makes the remaining applications getting down.



So please any one kindly guide me to resolve this issue



Thanks in advance



try

{

OracleConnection con = new OracleConnection();

con.ConnectionString = "User Id=scb;Password=scb;Data Source=137;"

con.Open();



}



catch(Exception e)

{

}

finally

{



con.Close();

OracleConnection.ClearPool(con);

con.Dispose();

}
AnswerRe: Urgent help req.How to close an Oracle connection when network gets disconnected Pin
Richard Wray18-Feb-10 14:46
Richard Wray18-Feb-10 14:46 
Question.NET Windows Service Installer Pin
TigerNinja_16-Oct-08 10:46
TigerNinja_16-Oct-08 10:46 
AnswerRe: .NET Windows Service Installer Pin
Dave Kreskowiak16-Oct-08 10:56
mveDave Kreskowiak16-Oct-08 10:56 
GeneralRe: .NET Windows Service Installer Pin
TigerNinja_17-Oct-08 3:09
TigerNinja_17-Oct-08 3:09 
JokeRe: .NET Windows Service Installer Pin
PIEBALDconsult16-Oct-08 16:57
mvePIEBALDconsult16-Oct-08 16:57 
GeneralRe: .NET Windows Service Installer Pin
TigerNinja_17-Oct-08 3:11
TigerNinja_17-Oct-08 3:11 
Questioncapture output from windows program Pin
Axell16-Oct-08 10:40
Axell16-Oct-08 10:40 
AnswerRe: capture output from windows program Pin
Dave Kreskowiak16-Oct-08 10:52
mveDave Kreskowiak16-Oct-08 10:52 
AnswerRe: capture output from windows program Pin
PIEBALDconsult16-Oct-08 16:58
mvePIEBALDconsult16-Oct-08 16:58 
GeneralRe: capture output from windows program Pin
Simon P Stevens16-Oct-08 22:06
Simon P Stevens16-Oct-08 22:06 
QuestionHow can I change these VB.net to C# codes? Pin
ATC16-Oct-08 10:05
ATC16-Oct-08 10:05 
AnswerRe: How can I change these VB.net to C# codes? Pin
Pete O'Hanlon16-Oct-08 10:09
mvePete O'Hanlon16-Oct-08 10:09 
GeneralRe: How can I change these VB.net to C# codes? Pin
ATC16-Oct-08 10:21
ATC16-Oct-08 10:21 
GeneralRe: How can I change these VB.net to C# codes? Pin
DaveyM6916-Oct-08 10:26
professionalDaveyM6916-Oct-08 10:26 
GeneralRe: How can I change these VB.net to C# codes? Pin
ATC16-Oct-08 10:38
ATC16-Oct-08 10:38 
GeneralRe: How can I change these VB.net to C# codes? Pin
Pete O'Hanlon16-Oct-08 21:57
mvePete O'Hanlon16-Oct-08 21:57 
AnswerRe: How can I change these VB.net to C# codes? Pin
Paul Conrad16-Oct-08 10:59
professionalPaul Conrad16-Oct-08 10:59 

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.