SQLClient related question
-
I enter an error(deliberate) in a connection string like a missing password for non-windows logon to SQL 2005 in my VB.NET program. No matter I set the FireInfoMessageEventOnUserErrors to true or false and add a handler to handle the SQLClnt's InfoMessage. But this procedure never gets fired, only the SQLClient's SQLException error is picked up in the try--catch block and the ExceptionAssistnat shows up. When does the FireInfoMessageEventOnUserError really gets to be evaluated?
-
I enter an error(deliberate) in a connection string like a missing password for non-windows logon to SQL 2005 in my VB.NET program. No matter I set the FireInfoMessageEventOnUserErrors to true or false and add a handler to handle the SQLClnt's InfoMessage. But this procedure never gets fired, only the SQLClient's SQLException error is picked up in the try--catch block and the ExceptionAssistnat shows up. When does the FireInfoMessageEventOnUserError really gets to be evaluated?
It is only fired for informational or warning messages, not errors. We need to graduate from the ridiculous notion that greed is some kind of elixir for capitalism - it's the downfall of capitalism. Self-interest, maybe, but self-interest run amok does not serve anyone. The core value of conscious capitalism is enlightened self-interest. Patricia Aburdene
-
It is only fired for informational or warning messages, not errors. We need to graduate from the ridiculous notion that greed is some kind of elixir for capitalism - it's the downfall of capitalism. Self-interest, maybe, but self-interest run amok does not serve anyone. The core value of conscious capitalism is enlightened self-interest. Patricia Aburdene
-
Is it not true that it is related to the severity of errors, exception reporting taking over in exceptionally severe cases?
No, it is used only for informational or warning messages. All errors will raise an exception. We need to graduate from the ridiculous notion that greed is some kind of elixir for capitalism - it's the downfall of capitalism. Self-interest, maybe, but self-interest run amok does not serve anyone. The core value of conscious capitalism is enlightened self-interest. Patricia Aburdene