Error 1827

error 1827: create/alter database failed because the resulting cumulative database size would exceed your licensed limit of 2048 MB per database.

I'm trying to copy a database to my local machine and I get this error.  How do I resolve it?
I saw this link, but didn't help: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q216812


Thanks!
sticarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SashPCommented:
Have you shrunk your database recently?

You are using MSDE I assume?

There is no workaround for the size limit, it is a built in limit.  You may need to upgrade to SQL Server.
0
SashPCommented:
DBCC SHRINKDATABASE
Shrinks the size of the data files in the specified database.

Syntax
DBCC SHRINKDATABASE
    ( database_name [ , target_percent ]
        [ , { NOTRUNCATE | TRUNCATEONLY } ]
    )

Arguments
database_name

Is the name of the database to be shrunk. Database names must conform to the rules for identifiers. For more information, see Using Identifiers.  

target_percent

Is the desired percentage of free space left in the database file after the database has been shrunk.

NOTRUNCATE

Causes the freed file space to be retained in the database files. If not specified, the freed file space is released to the operating system.

TRUNCATEONLY

Causes any unused space in the data files to be released to the operating system and shrinks the file to the last allocated extent, reducing the file size without moving any data. No attempt is made to relocate rows to unallocated pages. target_percent is ignored when TRUNCATEONLY is used.

0
SashPCommented:
sticar,

I doubt that shrinking the database will acheive much. Perhaps you could look at archiving some data.

If you are creating a new database select a size less than 2048MB.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

sticarAuthor Commented:
I don't have any databases in my local db yet.  I'm copying one from another database and it says mine is too small.  Aparently I must have MSDE.  I should be able to get ahold of SQL Server.  I loaded my local db a long time ago so not sure.  Do I have to uninstall MSDE somehow and re-install SQL Server ?
0
SashPCommented:
You are restoring a database for another server that is larger than 2GB to a MSDE installation?

If so ...  not possible.  Solution:  Install SQL Server or restore database to a machine with SQL Server (not MSDE)

Sash
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sticarAuthor Commented:
Ok, will do!  Thanks all!
0
sticarAuthor Commented:
I definitely have SQL Server installed, and I just installed it again.  I'm still getting the same error. ?
0
sticarAuthor Commented:
Nevermind.  I reloaded it and it worked. :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.