Re: MSDE newbie
- From: "João Costa" <JooCosta@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 05:28:04 -0700
thanks, now I have unather problem, I transcribed the line below:
osql -E -Q "EXEC sp_attach_db N'Northwind', N'c:\SQL Server 2000 Sample
Databases\northwind.mdf'" -S.\MOC
the answer was:
Msg 5105, Level 16, State 4, Server RAINBOWARRIOR\MOC, Line 1
Device activation error. The physical file name 'c:\SQL Server 2000 Sample
Databases\northwind.mdf' may be incorrect.
"Jens Süßmeyer" wrote:
> You did not specify th instance you want to connect to, this can be done
> with the switch -S
>
> osql -E -Q "EXEC sp_attach_db N'Northwind', N'c:\SQL Server 2000 Sample
> Databases\northwind.mdf' -SServername\Instancename
>
> Would be on the the local server ".\MOC"
>
> HTH, Jens Suessmeyer.
>
> ---
> http://www.sqlserver2005.de
> ---
>
>
> "João Costa" <JooCosta@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
> news:520F0379-78B1-449C-9864-896E04C5C910@xxxxxxxxxxxxxxxx
> >I Just installed MDSE2000A (ithink it already comes with SP3a), by doing
> > Setup.exe /qb+ INSTANCENAME=MOC DISABLENETWORKPROTOCOLS=1 SAPWD=moc
> > I downloaded the northwind database and tried to install it by doing
> > osql -E -Q "EXEC sp_attach_db N'Northwind', N'c:\SQL Server 2000 Sample
> > Databases\northwind.mdf'"
> >
> > the response was
> > [Shared Memory]Invalid connection.
> > [Shared Memory]ConnectionOpen (Invalid Instance()).
> >
> > what have I done wrong?
>
>
>
.
- Follow-Ups:
- Re: MSDE newbie
- From: Jens Süßmeyer
- Re: MSDE newbie
- References:
- MSDE newbie
- From: João Costa
- Re: MSDE newbie
- From: Jens Süßmeyer
- MSDE newbie
- Prev by Date: Re: MSDE newbie
- Next by Date: Re: MSDE newbie
- Previous by thread: Re: MSDE newbie
- Next by thread: Re: MSDE newbie
- Index(es):
Relevant Pages
|