Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving database from SQL ExpressMoving database from SQL Express
Previous
 
Next
New Post
5/18/2007 8:48 AM
 

I am looking at what I need to do to move my new DNN 4.4 site to a hosting provider. I believe the provider has SQL Server
2005. My site was developed with SQL Server 2005 Express.

Q. What if one is using SQL Server Express rather than SQL 2005?
A. The only difference would be if you are using a SQL Server Express user instance. From the top of my head, you could convert such a db to a real sql server database, after which the procedure is the same as i described. If you want to know how to convert a user instance, have a look at this article: http://msdn2.microsoft.com/en-us/library/bb264564.aspx

"User instances only work in the Express Edition of SQL Server 2005"

Converting a User Instance Database

You might want to change your user instance database into a normal SQL Server database. The primary reasons to do this are if you want multiple users to connect to the database or if you need to upgrade to another version of SQL Server—perhaps because you are running into performance or database size limitations. While there are several ways to do this, the easiest way is to attach the database files to a normal SQL Server instance by using the CREATE DATABASE ... FOR ATTACH command. Then remove the AttachDbFilename and User Instance options from the connection string. Remember that while you are connected to your own instance of SQL Server, you have full administrator permissions on the databases that are attached to that instance. When you change to a normal SQL Server instance, each user must have a login and database user. The database user must be granted the permissions required to run the application.

Having discovered this information I confess to not following how to implement the change?????

 
New Post
5/18/2007 2:04 PM
 

It is actually quite easy to attach the DB to your system.

Using SQL Server Management Studio Express

You should be able to add the db, by selecting "Attach Database" from the context menu for your server and then simply browsing to your .mdf file.  (Be sure to make a backup first!)

You can then create a backup of this DB and send it to your hosting provider to have it loaded.

I am sorry that I don't have the exact steps for you on how to attach it, but I only have SQL 2000 here at work!


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/18/2007 10:57 PM
 

I have created a backup now. I'd just been backing the whole "C:\Inetpub" folder up on my laptop so far.

Anyway, what I am confused about is, is an 2005 Express database .mdb file the same as SQL 2005
professional database .mdb file?

ie. Can I simply send the backed up database from SQL 2005 Express to the web provider to attach
to their SQL 2005 professional version?

 

 
New Post
5/19/2007 1:51 AM
 

if you have a mdb file yes, if you havce mdf AFAIK no.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/19/2007 4:13 AM
 

OK now I'm getting somewhere. I have "TurningPoint.mdf" and missquoted it as a .mdb, sorry.
I was getting confused trying to sort this all out.

This means somehow I do have to convert this to a TurningPoint.mdb file.
How is my next question?

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving database from SQL ExpressMoving database from SQL Express


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out