Re: Change default to named instance??
From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 05/13/04
- Next message: Ashish Ruparel [MSFT]: "RE: Change default to named instance??"
- Previous message: steve: "Re: Importing DBase tables into MSDE using ADO"
- In reply to: Robbs: "Change default to named instance??"
- Next in thread: Ashish Ruparel [MSFT]: "RE: Change default to named instance??"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 May 2004 08:39:27 +0530
Hi,
No you cant do directly.
1. Take a backup of all databases (Including system databases)
2. Stop SQL Server and copy the MDF and LDF to a safe place
3. Un Install the MSDE
4. Install MSDE and same service pack as old with same folder structure
5. Stop sql server
6. COpy the MDF and LDF (taken in step 2) to the same folder as old
7. Restart SQL server service
8. Execute the below comamnds in OSQL to change the server name
sp_dropserver <oldserver>
go
sp_addserver <new named server>,local
Note:
If these steps fail (Step 6 and 7) then use the database backup taken in
step-1 to restore all the databases.
Thanks
Hari
MCDBA
"Robbs" <rms14can@hotmail.com> wrote in message
news:e1kT4FGOEHA.3312@tk2msftngp13.phx.gbl...
> I have an app that connects to the default instance of msde. After some
> conflicts with other app's msdes, I now want to use a named instance. This
> is no problem from within the app, but can I change the default msde
> instance to a named instance without losing the any data, and without
> reinstalling msde?
>
>
- Next message: Ashish Ruparel [MSFT]: "RE: Change default to named instance??"
- Previous message: steve: "Re: Importing DBase tables into MSDE using ADO"
- In reply to: Robbs: "Change default to named instance??"
- Next in thread: Ashish Ruparel [MSFT]: "RE: Change default to named instance??"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|