Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Geoff Baldwin 80 posts 100 karma points
    Oct 18, 2010 @ 10:10
    Geoff Baldwin

    Deploying from dev to live server - some basic questions


    I have successfully deployed a couple of simple stes I am developing as training to a 'live server' but I have a few questions

    1. Many posts here talk about changing the connection string when deploying to a live server.
      In my sites the connection string is actually commented out? It seems to be replaced with the
       <add key="umbracoDbDSN" value="server=.\sqlexpress;database=jrbp1;user id=umbracouser;password=umbraco" /> statement in the <appsetings> section.
      Do I just make any required changes here?
    2. I have used a User control to create a Contact form. Changes to .the dev site as I create / modify the set up  of this include - New RunwayContact Page template using two columns; Changes to the runway.css to define the styles for the two columns, adding the user control, the dll in the bin and the contact form text file, Changes to the Runway TextPage document type to allow the contact page template to be used.

      Uploading the changes that are obviously in a directory is no problem (template, bin, controls...) but I am struggling to figure out what I need to upload to effect the changes to the document types and indeed any new / changed content.

    Obvious I am sure, but I'm missing the trick! Will some kind soul help me out please!

  • Geoff Baldwin 80 posts 100 karma points
    Oct 18, 2010 @ 12:43
    Geoff Baldwin

    (edit) Also, I have added some sub style sheets to the Runway.css to support the Rich Text Editor. If I copy the runway.css to another site the sub styles don't go with it. They don't show up in the folder as .css files so do I have t recreate them on each site?


    Tried adding this as an edit to my original post but got a parser error!?

  • David F. Hill 122 posts 242 karma points
    Oct 18, 2010 @ 20:39
    David F. Hill

    Hi Geoff,

    As for your first question:

    the answer is Yes. Update the value in the "umbracoDbDSN" entry with your connection string info.

    As for making the changes to your docTypes you can do it a couple of ways.

    If the changes are not extensive, you may find it convenient to modify the docType through the Umbraco user interface. Login to umbraco as admin, go to the "Settings" section. Click the arrow next to "Document Types" to expand and click the document type you wish to modify. Make your modifications. Remember to save your changes by clicking the little blue "diskette" icon.

    Another way to change your docType is to export it from your development instance and import into the live instance. Right click the document type you wish to export and select "Export Document Type". This will allow you to save the docType definition locally as a "udt" file. Next, go to your "live" instance, right click "Document Types" (in the "Settings" section) and select "Import Document Type". This will let you browse your local file system for the udt file you just exported. Be careful, this will overwrite the existing document type.

    Once you make the changes to the docType, be sure and republish any nodes of this document type to update them, otherwise you could experience some problems.

    Hope this helps. Be sure to mark my reply as helpful if this was of use to you.


    David Hill


  • Geoff Baldwin 80 posts 100 karma points
    Oct 18, 2010 @ 22:33
    Geoff Baldwin

    Thanks David.

    Hit the High Five! assumr this marks your post as helpful?

    Also ticked the solved tick against your answer :)

Please Sign in or register to post replies

Write your reply to: