Copied to clipboard

Flag this post as spam?

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


  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 10:53
    Lee
    0

    Uploaded... now what!?

    Hi

     

    I have upload my site using WebMatrix and understand that I have to configure the webcofig file to point to the database.

    What do I change, and what to?

    Is it:

    <add key="umbracoDbDSN" value="server=.\sqlexpress;database=umbraco;user id=umbracouser;password=******" />

     

    Cheers!

  • Jeroen Breuer 4909 posts 12266 karma points MVP 6x admin c-trib
    Nov 03, 2011 @ 11:45
    Jeroen Breuer
    0

    If you just run the website you will see an installer in which you can configure everything.

    Jeroen

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 12:56
    Lee
    0

    Wish it was that easy!

    I get:

    Line 72:     <customErrors mode="Off" />
    Line 73:     <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="false" />
    Line 74: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" /> Line 75:     <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />
    Line 76:     <xhtmlConformance mode="Strict" />

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 03, 2011 @ 13:07
    Tom Fulton
    0

    Doesn't look like your copy/paste came through fully - are you getting some sort of error?

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 13:09
    Lee
    0

    Sorry..

    Line 72:     <customErrors mode="Off" />
    Line 73:     <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="false" />
    Line 74:     <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
    Line 75:     <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />
    Line 76:     <xhtmlConformance mode="Strict" />

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 03, 2011 @ 13:19
    Tom Fulton
    0

    Hmm, there doesn't seem to be any error message...is that all you are getting, line #s from your web.config?

    Make sure you are using the stock web.config that comes in the install, no need to change anything, the install wizard will configure your connection string.

    Are you running in .NET 4.0 integrated mode?

    -Tom

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 13:29
    Lee
    0

    I believe my hosting company uses .NET 3.5

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 03, 2011 @ 13:37
    Tom Fulton
    0

    Doh!  To run Umbraco 4.7.1 you're going to need .NET 4.0.  I think Umbraco 4.5.2 has a version that supports .NET 3.5 though....but I would recommend finding a way to use 4.7.1/.NET 4 :)

    -Tom

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 14:02
    Lee
    0

    Oh nuts

    So you think that may be the problem?

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 14:10
    Lee
    0

    I just contacted the hosting company and apparently they do support .net4

    So no further forward there!

    One question... I have the site installed in a subdirectory: www.domain.co.uk/folder

     

    Doest that make a difference, does it need to run from the root?

     

    Cheers

     

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 03, 2011 @ 14:30
    Tom Fulton
    0

    Hi Lee,

    Great news!

    If you want to install it in a subdirectory, it needs to be made into a virtual directory with it's own application.  It can't just be a folder.

    But...I would reccomend installing it at the root if you have the option.  A lot of the virutal directory bugs have been fixed but there may still be a few lingering out there...can't speak from experience though.

    -Tom

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 14:57
    Lee
    0

    Tom... Thanks for all your advice... at least I think I'm getting somewhere!!

    I can't really install at my root as I am only testing and it will conflict with my own website. How would I create a virtual server/application?

    My hosting is with namesco

    ta

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 03, 2011 @ 15:00
    Tom Fulton
    0

    It really depends on your host.  In IIS you can right-click the folder and Convert to Application.  If you don't have IIS you might need to ask them how to setup a virtual directory as an application.

    Or if you have the option of setting up a second website on a subdomain that would work too.

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 17:57
    Lee
    0

    Na... made sure I have all the server requirements .NET4 etc

    Uploaded to a new server at root level.... still the same problem. This MUST be easy to do!!

    So here is my process:

    • Set up umbraco on Localhost
    • Created the database during installation of Umbraco
    • Using Webmatrix/Umbraco created site and content
    • Using Webmatrix to publish the site on my remote server.
    • Result: Still knackered!
    1. Do I need to do anything in the webconfig file?
    2. Do I need to do anything with the umbraco database (move it/install it/anything else)
    3. Have I missed anything?

     

    HHHHhhheeeeeeellllllppppppppp!!! I'm sinking!

     

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 03, 2011 @ 18:00
    Tom Fulton
    0

    Hmm, I haven't used WebMatrix before, but it sounds like you're on the right track.  I feel like there's an error message missing somewhere, all you're getting is a screen showing 5 lines from your web.config?

    I feel like I have seent hat before but unfortunately can't recall anything, other than verifying your server side settings (website is running .NET 4.0, etc).

    You shouldn't need to do anything the web.config initially, it has the connection string for the DB but the installer should configure that.

    Hmm...

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 18:15
    Lee
    0

    Do I need to install Umbraco on the server? or just copy my files across?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 03, 2011 @ 18:16
    Tom Fulton
    0

    If you already have it installed locally, you don't need to install it on the server.  To deploy it you would copy your files across, copy your database, and adjust the connection string in the web.config file.

  • Lee 95 posts 115 karma points
    Nov 03, 2011 @ 18:18
    Lee
    0

    adjust the connection string in the web.config file ..... which bit is that?

     

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 03, 2011 @ 18:28
    Tom Fulton
    0

    It's the first setting under <appSettings>:

        <add key="umbracoDbDSN" value="server=your-server;database=db-name;user id=db-user-name;password=your-password" />

    -Tom

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies