Re: MSDE newbie question: connection strings

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

From: Andrea Montanari (andrea.sqlDMO_at_virgilio.it)
Date: 05/26/04


Date: Wed, 26 May 2004 16:37:26 +0200

hi Simon,
"Simon Elliott" <Simon at ctsn.co.uk> ha scritto nel messaggio
news:OuUGwZwQEHA.3580@TK2MSFTNGP11.phx.gbl...
> I installed MSDE on a Windows XP SP1 PC on our network. We don't have a
> domain controller.
>
> If I access this database via ADO, how do I construct the connection
> string? As I understand it, this is of the form:
>
> Provider=SQLOLEDB; Data Source=server_name; Initial
> Catalog=database_name; User ID=username; Password=password;
>
> Is the server name just the name or IP address of the PC running MSDE?
> Are there any other subtleties I should be aware of?

if the MSDE instance has been installed as the default intance, it's name
will just be the ComputerName and/or it's IP address... if it has been
installed as a named instance, it's name will be
ComputerName\InstanceName...

-- 
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm        http://italy.mvps.org
DbaMgr2k ver 0.7.0  -  DbaMgr ver 0.53.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: Mixing SQL Server and MSDE and authentication
    ... so I tried setting it to 0 (then stopped and restarted the MSDE instance) ... Server and uninstalling MSDE for the user with the problem. ... usually if they have SQL Server already, we want them to just use that. ... It may indeed have been the dynamic port issue - I did not check the client ...
    (microsoft.public.sqlserver.msde)
  • Re: MSDE and SQL 2000 on same box..which is being used?
    ... An MSDE instance should be visible as its own SQL Server registration under ... MSDE does not come with the graphical tools, such as Enterprise Manager etc. ...
    (microsoft.public.sqlserver.msde)
  • Re: MSDE newbie quetsion: importing data from SQL Server
    ... "Simon Elliott" ha scritto nel messaggio ... > The backup was taken from MS SQL Server 2000. ... I'm using the MSDE from ... Andrea Montanari (Microsoft MVP - SQL Server) ...
    (microsoft.public.sqlserver.msde)
  • Re: Converting from SQL Server to MSDE
    ... Is there a way to convert my Sql Server database ... >setup to MSDE? ... >and then EXPORT to MSDE. ... MSDE instance. ...
    (microsoft.public.sqlserver.msde)
  • Re: MSDE newbie quetsion: importing data from SQL Server
    ... On 27/05/2004, Andrea Montanari wrote: ... but I think MSDE from the Office 2000 suit is MSDE ... Simon Elliott http://www.ctsn.co.uk ...
    (microsoft.public.sqlserver.msde)