Re: reporting..

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Andrea Montanari (andrea.sqlDMO_at_virgilio.it)
Date: 07/21/04


Date: Wed, 21 Jul 2004 16:13:32 +0200

hi dev
"dev_kh" <devkh@discussions.microsoft.com> ha scritto nel messaggio
news:CAF7632E-4D3E-4EF9-9B75-ADE8414C3632@microsoft.com...
> you mentioned:
>
>> "usually the MSDE instance running on the remote server shoul'd be up and
>> running...
>> if you do have SQL-DMO [again =;-D ] you can try starting it, but the
best
>> solution is making sure the MSDE instance starts at server startup"
>
> Do you mean making sure that the MSDE is set to startup automatically..
>but I want to use the Start Service if needed. So when my app starts I
want
> to see if the service is running, if not I want to start it.
>
> So, on my machine I was using the following line:
> svc = New ServiceController("MSSQL$MyInstanceName)
>
> but now when the service is on the central machine then will anything
change
>in the above line of code? I mean will I have to add the server's
name/path
>somewhere in the above line.. after all the service is on the server...
>
> Hope my question is clear now..

if you are using WMI, you will actually invoke SQL-DMO behind the scenes, so
just directly rely on DMO...
so you have to try a connection, possiblyy with low timeout in order not to
wait to much, and eventaully start the server if needed...

but, again, you shoul'd rely on autostart service method whenever
possible...
make it simple =;-D

-- 
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm        http://italy.mvps.org
DbaMgr2k ver 0.8.0  -  DbaMgr ver 0.54.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply


Relevant Pages

  • Re: MSDE questions for SharePoint and Project Server
    ... "xfile" ha scritto nel messaggio ... I do think SharePoint installs it' own instance of a modified MSDE ... your own strong password for the special SQL Server account known as "sa", ... if you want to set a strong password for your "sa" login, ...
    (microsoft.public.sqlserver.msde)
  • Re: How can I secure a MSDE database for users who have SQL Server?
    ... "dev" ha scritto nel messaggio ... I am using my own instance of msde. ... >administrator login etc..Andrea pointed out that that can cause problems in ... a SQL Server sysadmin is god in SQL Server... ...
    (microsoft.public.sqlserver.msde)
  • Re: OSQL is Unable to see SQL Server and MSDE 2000 on the same machine
    ... "Surya Yadav" ha scritto nel messaggio ... > I have installed SQL Server and MSDE 2000 on my laptop under Windows XP. ... Andrea Montanari (Microsoft MVP - SQL Server) ...
    (microsoft.public.sqlserver.msde)
  • Re: Problem with MSDE 2000 Rel A.
    ... "Raymond" ha scritto nel messaggio ... > to register the new SQL Server and got the same error message 'SQL Server ... please verify that MSDE instance has network protocols enabled... ... by default, up to sp3a, MSDE installs disabling network protocols in order ...
    (microsoft.public.sqlserver.msde)
  • Re: MSDE licensing rules
    ... "Willem van den Broek" ha scritto nel messaggio ... > full version of SQL Server 2000. ... > MSDE 2000A have exactly the same version number. ... Use that server or install MSDE with an ...
    (microsoft.public.sqlserver.msde)