Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
QuestionSending A Message to the Network User's Pin
Chetan Ranpariya17-Jul-06 23:59
Chetan Ranpariya17-Jul-06 23:59 
AnswerRe: Sending A Message to the Network User's Pin
RizwanSharp19-Jul-06 11:57
RizwanSharp19-Jul-06 11:57 
QuestionWhats the best practice for getting XML out of an SQL query? Pin
Red_Wizard_Shot_The_Food17-Jul-06 23:53
Red_Wizard_Shot_The_Food17-Jul-06 23:53 
AnswerRe: Whats the best practice for getting XML out of an SQL query? Pin
J4amieC18-Jul-06 0:41
J4amieC18-Jul-06 0:41 
AnswerRe: Whats the best practice for getting XML out of an SQL query? Pin
Not Active18-Jul-06 2:41
mentorNot Active18-Jul-06 2:41 
QuestionProblem to print HTML File ... Pin
SD317-Jul-06 23:40
SD317-Jul-06 23:40 
QuestionC# BHO question [modified] Pin
elefas17-Jul-06 23:27
elefas17-Jul-06 23:27 
QuestionStarting a service depending on SQLEXPRESS? Pin
mav.northwind17-Jul-06 23:06
mav.northwind17-Jul-06 23:06 
Hi!
I've got a windows service that can be configured to use an access DB (for smaller installations) or a SQLServer DB (for larger installations).

The problem I'm facing at the moment is that usually after a (re)boot the SQL Server service isn't up and running completely at the moment my service is started.
Since my service is checking some values from the database on statup, it's choking regularly because SQL Server hasn't started my database yet.

Is there a way to influence the order in which services are started?
I've already tried to set my service's dependencies to make it depend on SQLEXPRESS, but to no avail. Looks as if SQLEXPRESS is already started, but my database hasn't been started yet.
Setting the options to restart the service after a failure doesn't work either - it only restarts the service when I shut it down via taskmanager for example, but not if the initial start of the service failed because the database wasn't available yet. Frown | :(

The problem occurrs with SQL Server 2005, I couldn't experience this behaviour with SQL Server 2000. Seems as if SQLServer 2000 started faster so the problem couldn't arise.

Any other idea what I could try?

Regards,
mav

--
Black holes are the places where god divided by 0...
AnswerRe: Starting a service depending on SQLEXPRESS? Pin
Paul Brower18-Jul-06 1:29
Paul Brower18-Jul-06 1:29 
GeneralRe: Starting a service depending on SQLEXPRESS? Pin
mav.northwind18-Jul-06 3:16
mav.northwind18-Jul-06 3:16 
Questionusing hashtable in settings (app.config) Pin
Badscher17-Jul-06 22:40
Badscher17-Jul-06 22:40 
AnswerRe: using hashtable in settings (app.config) Pin
engsrini17-Jul-06 23:55
engsrini17-Jul-06 23:55 
GeneralRe: using hashtable in settings (app.config) Pin
Badscher18-Jul-06 0:06
Badscher18-Jul-06 0:06 
QuestionA specified logon session does not exist Pin
dabuskol17-Jul-06 22:13
dabuskol17-Jul-06 22:13 
QuestionHow to disable right click mouse, select and copy text in WebBrowser Pin
COBECTb17-Jul-06 22:02
COBECTb17-Jul-06 22:02 
AnswerRe: How to disable right click mouse, select and copy text in WebBrowser Pin
Vivek.Sivasamy17-Jul-06 22:32
Vivek.Sivasamy17-Jul-06 22:32 
Questionhowto determine ip? help please ... Pin
cmpeng3417-Jul-06 21:57
cmpeng3417-Jul-06 21:57 
AnswerRe: howto determine ip? help please ... Pin
Gavin Roberts18-Jul-06 0:53
Gavin Roberts18-Jul-06 0:53 
AnswerRe: howto determine ip? help please ... Pin
Mr. VB.NET18-Jul-06 0:58
Mr. VB.NET18-Jul-06 0:58 
Questionpsl, Help me, Pin
tranglt17-Jul-06 21:39
tranglt17-Jul-06 21:39 
AnswerRe: psl, Help me, Pin
J4amieC17-Jul-06 21:56
J4amieC17-Jul-06 21:56 
GeneralRe: psl, Help me, Pin
tranglt17-Jul-06 22:14
tranglt17-Jul-06 22:14 
GeneralRe: psl, Help me, Pin
leppie17-Jul-06 22:19
leppie17-Jul-06 22:19 
GeneralRe: psl, Help me, Pin
tranglt18-Jul-06 23:54
tranglt18-Jul-06 23:54 
QuestionSerialPort Control in VC# Express 2005 Pin
Audio_Developer17-Jul-06 21:31
Audio_Developer17-Jul-06 21:31 

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.