SQL database

Discussion in 'Databases' started by kavicarter, Aug 18, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello,

    I'm using the standard database that is created with a createuserwizard (aspnetdb.mdf) from Visual Web Developer 2008 Express Edition. Is this database supported by discountasp.net or do I have to purchase SQL Server?
    If it is supported, what's the best way to upload the database and what option do I choose from discountasp.net regarding the database type?
    Thank you.
     
  2. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    We do not support SQL Express. You can develop with SQL Express on your own computer, but you will need the SQL addon in the live hosted environment. To upload your SQL database, you can use the Attach MDF file tool in the control panel.



    Eric
    http://www.DiscountASP.NET - Microsoft Gold Certified Partner
    - asp.netPRO Magazine 2008 Readers' Choice Award for Best ASP.NET Hosting Service
    - asp.netPRO Magazine 2007 Readers' Choice Award for Best ASP.NET Hosting Service
    - Visual Studio Magazine 2007 Readers' Choice Award for Best .NET Hosting Service
     
  3. So you're saying I can develop the database to work when I'm previewing the site on my computer, but in order to upload the database (and therefore, the membership qualities) I need the SQL add-on?
    If I'm right with this assumption, how do I go about getting the SQL add-on?
    Also, since my database is already implemented, do I have to re-do it, or does the add-on just make it able to work on a live site?
     
  4. Hi,
    It would work like this:
    1. Create your site locally with the data driven parts using SQL Express.
    2. Login to your DASP Control Panel and add either SQL Server 2005 or SQL Server 2008.
    3. Once your DASP SQL Server addon has been provisioned look in the DB section of your Control Panel.
    4. There you will find the connection string for your new DASP SQL Server addon.
    5. Once you have that make the changes to your remote web.config
      If you have trouble we can help you here in the forums.
    6. Back in your Control Panel look in the DB section for the Attach feature.
      Upload your Express DB to a folder on your site then use the Attach feature to load everything.
      Your SQL Server addon is not on the same box as your site but your records/objects will get loaded.
      When you do this it only works once,
      Make a backup of your DASP DB first. That's another feature in the CP DB section.
      Once your Express DB is loaded you can make changes to your data as needed.
      If however you load another Express DB it will wipe out your additions/changes. Thus the backups.


    Salute,
    Mark
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page