Re: moving 'Windows Embedded Data' folder location



Yes you can relocate the location of the DB if you are have Windows admin priveleges on the machine and also are a SQL admin on that machine. I'm going to breeze through the steps here and assume you know how to use SQL, if not contact us at WECRT @ microsoft.com and reference this thread and we'll help you.

In the SQL Management Studio (or the old Enterprise Manager), locate the 'MantisSQL' DB and 'detach' it.

Now you can move the MDF and LDF files and their folder to a new location.

Back in the SQL Management tool, go to the 'Databases' node, right click and choose 'attach'. From that new window, click 'add' and it'll allow you to browse to the MDF you moved. Go select it and choose 'ok'. Now you're in the 'attach databases' window again, click OK to accept this MDF/LDF it found.

Now you should see 'MantisSQL' in the list of databases. Go launch one of the XPe tools and ensure it can successfully attach to the DB as well. If so, you're good to go.

andy


--
Subscribe to the EW Team's blog for tips/tricks, How tos and announcements: http://blogs.msdn.com/embedded/

This posting is provided "AS IS" with no warranties, and confers no rights.


"Vern" <vern@xxxxxxxxxxxx> wrote in message news:u4UEEYlUIHA.5164@xxxxxxxxxxxxxxxxxxxxxxx
I recently installed the Embedded Studio, and must not have been paying particular attention, so as a consequence the
Windows Embedded Data
folder ended up on the drive I use for downloads, and not C: drive, where I wanted it.

I have found out how to move the repositories, but the database remains in this folder. How do I move it too?

Thanks

Vern

.



Relevant Pages

  • Re: SQL server does not exist or access denied
    ... I know but nevertheless the SQL profiler shows a user SYSTEM with loging ... name NT AUTHORITY\SYSTEM, for the Windows Service. ... Both applications access and update the databases. ... >> The Windows service is supposed to access and update two of the three ...
    (microsoft.public.sqlserver.connect)
  • Re: SQL 7 on Windows 2003 Server
    ... SQL 7 is not supported under Windows 2003. ... There are 2 alternatives to upgrade. ... Detach the databases or backup the databases ...
    (microsoft.public.sqlserver.server)
  • Re: CBH file-format spec and the need for a new database program?
    ... Sure, most users will be under Windows, but it ... over MFC or generic Windows libraries myself - it's just newer. ... Chess databases don't use SQL - not any I've seen - and they aren't really ...
    (rec.games.chess.computer)
  • Trigger problem due to OS...
    ... standard codes on all the databases on all the servers. ... have 20 databases on 5 MS SQL Server 2000 and the OS for ... Stored proc updates on all 20 databases across all 5 SQL ... SQL server 2000 running on Windows 2003. ...
    (microsoft.public.sqlserver.programming)
  • WebAdmin tool keeps loosing connection
    ... We installed SQL Webadmin ... databases using Enterprise manager and everything was working fine. ... setup two security logins for each database: Windows Authenticated ... for login via web broswer and another SQL Authenticated. ...
    (microsoft.public.sqlserver.connect)