Solved

Setting data/log file locations in SQL Server 2005 not working when upsizing from Access.

Posted on 2008-09-29
6
444 Views
Last Modified: 2012-08-13
I am trying to upsize a large Access database to SQL Server 2005.  I have limited space in the normal location where SQL Server creates its data and log files (namely, folder C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data).  In Management Studio, I opened the properties for the server, selected Database Settings, and changed the "Database default locations" for Data and Log to a larger volume.  (Happens to be Z:\SQL-Data.)

When I use Integration Services to import data into a new database, it uses the location I have specified (the Z: drive).  However, when I run the Access Upsizing Wizard, the data and log files are still being created on the C: drive.  I'm guessing there is a registry key that could be changed, but I would prefer to know where this file path can be designated within the Managment Studio or some other utility.  Thanks!
0
Comment
Question by:AutomateMyOffice
  • 2
  • 2
6 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22600278
I am not sure the upsizing wizard takes any setting in that regards...

and in case there is really no such thing, you will have to move the database after the upsize, with either:
* BACKUP + RESTORE (during restore, you can specify new file locations)
* detach + move + attach (check out the sp_detach_db and sp_attach_db functions)
0
 

Author Comment

by:AutomateMyOffice
ID: 22600598
I would not expect to designate this within the upsizing wizard.  I would, however, expect that there is some setting within SQL Server for this purpose.  I thought I had found it within the Database Setting pages, but apparently not.  

I am aware that backup and restore can be used to move the db files after creation; the problem is that I do not have enough space on the C: volume to create the first instance.
0
 
LVL 18

Accepted Solution

by:
jmoss111 earned 500 total points
ID: 22601549
HI AutomateMyOffice,

You can Detach and Attach to move them also which is probably quicker. If you're using upsizing wizard then you probably should look at SQL Server Migration Assistan for Access freely downloadable from M$.


Jim
0
 

Author Comment

by:AutomateMyOffice
ID: 22783040
Sorry for the neglect.  The question was whether there was a way to change the location used by the Access Upsizing Wizard, since I lacked the space on the drive that was being used.  Backup and detach were not helpful since there was not enough space to create the files in first place.  I award the points to Jim since the SQL Server Migration Assistant does allow the location to be designated and is FAR superior to the Access Upsizing Wizard in accomplishing the desired task.
0
 
LVL 18

Expert Comment

by:jmoss111
ID: 22783063
Thanks AutomateMyOffice. I don't know why they don't do away with the upsizing wizard.

Jim
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
insert query with value having 's 2 51
Incremental load example 2 53
MS SQLK Server multi-part identifier cannot be bound 5 35
Need help debbuging stored procedure 21 41
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question