Click here to Skip to main content
15,902,447 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dropping multiple tables? Pin
Luc Pattyn12-Nov-09 15:09
sitebuilderLuc Pattyn12-Nov-09 15:09 
GeneralRe: Dropping multiple tables? Pin
Vikram A Punathambekar12-Nov-09 20:48
Vikram A Punathambekar12-Nov-09 20:48 
AnswerRe: Dropping multiple tables? Pin
PIEBALDconsult12-Nov-09 15:15
mvePIEBALDconsult12-Nov-09 15:15 
AnswerRe: Dropping multiple tables? Pin
Shameel12-Nov-09 23:31
professionalShameel12-Nov-09 23:31 
QuestionConsole application screen divided in 2 parts Pin
manustone12-Nov-09 11:59
manustone12-Nov-09 11:59 
AnswerRe: Console application screen divided in 2 parts Pin
Christian Graus12-Nov-09 12:19
protectorChristian Graus12-Nov-09 12:19 
AnswerRe: Console application screen divided in 2 parts Pin
Shameel12-Nov-09 22:31
professionalShameel12-Nov-09 22:31 
QuestionRemoting Events fail if network not connected until after app starts Pin
John Whitmire12-Nov-09 11:11
professionalJohn Whitmire12-Nov-09 11:11 
The scenario: Peer-to-peer network through a switch; no DNS, all fixed addresses. Main app establishes a remoting connection (Activator.GetObject) to a marshalled singleton object in a service on another machine. The app reads properties and invokes methods on the remote object. It also subscribes, through a wrapper, to events raised by the remote object. Remoting is configured in the config file on both ends.

What works: All actions initiated by the app. Also, by monitoring the periodic events from the remote object, the app detects loss of connection (whether from physical disconnect or termination of the remote object) and will automatically recover when the object again becomes available. This has been extensively exercised.

What fails: If the app's host machine is not physically connected to the switch until after the app starts, the event subscriptions fail to work. The app gets no notice of this. The remote object gets a "connection actively refused" exception when it invokes the event delegate. WTF | :WTF:

Already tried: Delaying instantiation of the event wrapper until after the first time the remote host could be successfully pinged. No change.

Please note: EVERYTHING works great as long as the network cable was connected at the time the app was started. All events are properly delivered and all subsequent disconnects are appropriately handled with successful recovery upon reconnect. The only known difference between the working and non-working scenarios is WHEN the network cable was connected to the switch: before or after the app starts.

I'm at a loss for where to look next. Confused | :confused: What am I missing? (Also, should I cross-post this to the .NET Framework forum?)
Questionusercontrol Pin
farokhian12-Nov-09 9:48
farokhian12-Nov-09 9:48 
AnswerRe: usercontrol Pin
Christian Graus12-Nov-09 10:20
protectorChristian Graus12-Nov-09 10:20 
GeneralRe: usercontrol Pin
farokhian12-Nov-09 10:28
farokhian12-Nov-09 10:28 
GeneralRe: usercontrol Pin
Christian Graus12-Nov-09 10:42
protectorChristian Graus12-Nov-09 10:42 
GeneralRe: usercontrol Pin
farokhian12-Nov-09 10:56
farokhian12-Nov-09 10:56 
GeneralRe: usercontrol Pin
Christian Graus12-Nov-09 10:59
protectorChristian Graus12-Nov-09 10:59 
GeneralRe: usercontrol Pin
farokhian12-Nov-09 11:06
farokhian12-Nov-09 11:06 
GeneralRe: usercontrol Pin
Christian Graus12-Nov-09 11:15
protectorChristian Graus12-Nov-09 11:15 
QuestionHow can I check if a table exists? Pin
Emmet_Brown12-Nov-09 9:24
Emmet_Brown12-Nov-09 9:24 
AnswerRe: How can I check if a table exists? Pin
Christian Graus12-Nov-09 9:32
protectorChristian Graus12-Nov-09 9:32 
GeneralRe: How can I check if a table exists? Pin
Emmet_Brown12-Nov-09 9:36
Emmet_Brown12-Nov-09 9:36 
GeneralRe: How can I check if a table exists? Pin
Christian Graus12-Nov-09 9:42
protectorChristian Graus12-Nov-09 9:42 
GeneralRe: How can I check if a table exists? Pin
Emmet_Brown12-Nov-09 9:50
Emmet_Brown12-Nov-09 9:50 
GeneralRe: How can I check if a table exists? Pin
Christian Graus12-Nov-09 10:43
protectorChristian Graus12-Nov-09 10:43 
AnswerRe: How can I check if a table exists? Pin
The Man from U.N.C.L.E.12-Nov-09 9:36
The Man from U.N.C.L.E.12-Nov-09 9:36 
GeneralRe: How can I check if a table exists? Pin
Emmet_Brown12-Nov-09 9:39
Emmet_Brown12-Nov-09 9:39 
GeneralRe: How can I check if a table exists? Pin
Emmet_Brown12-Nov-09 9:47
Emmet_Brown12-Nov-09 9:47 

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.