Copied to clipboard

Flag this post as spam?

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


  • Dan 1288 posts 3921 karma points c-trib
    Sep 16, 2009 @ 15:57
    Dan
    0

    Umbraco installation: won't go past Step 2/5

    Hi,

    I'm setting up Umbraco for the first time on a development server.  I'm on step 2/5 where the database connection string info is input.  However, I've input the correct details (the same ones I can use to connect to the database via Management Studio) but when I click 'confirm' it just resets the same form.  I don't get any error message, it just seems to refresh the page instead of going to page 3/5.

    Any ideas anyone?

    Thanks...

  • Dan 1288 posts 3921 karma points c-trib
    Sep 16, 2009 @ 16:04
    Dan
    0

    Ah, perhaps it's because I'm running the installation from a tmeporary URL:

    http://our.umbraco.org/forum/getting-started/installing-umbraco/4050-Umbraco-install-stopping-at-step-25

    I can't point the domain name to this server just yet to run it on the proper URL, so does anyone know how to get around this problem?

    Thanks

  • Dan 1288 posts 3921 karma points c-trib
    Sep 16, 2009 @ 17:23
    Dan
    0

    Hmm, this isn't going well :(

    I'm double checking that this isn't a permissions problem.  I have set permissions as per the article here: http://umbraco.org/documentation/books/install-umbraco-4-on-windows-vista/configure-iis-website.

    However, googling my problem (above) lead me to some posts on the old Umbraco forum where Dirk suggested some permissions settings to check in Plesk (see 'HOW TO: Set umbraco Directory Permissions Using Plesk' here: http://www.squidoo.com/umbraco). ; To compound my problems, Plesk simply will not save the settings when I check the 'Replace permission entries on all child objects...' checkbox.  I've tried logging into the server desktop and checking this option in the security settings on the 'bin' folder there, but the same happens - I save the changes, but that box isn't checked when I revisit.  I'm logged in as 'administrator' and have maximum permissions, so I just don't understand why this options isn't being saved!?

    This is turning into a bit of an epic.  I just want to set up Umbraco somewhere, with MSSQL, but every option just seems to have problems which I can't overcome.

    I suppose I could try using the built-in database, but I've heard that it performs poorly, and there's no doubt I'd have problems transferring it to MSSQL in future, so it's a compromise too far and I really don't want to go there if it's storing up issues for the future.

    Any help would be massively appreciated, thanks all...

  • Dan 1288 posts 3921 karma points c-trib
    Sep 16, 2009 @ 18:25
    Dan
    0

    Sorry, I'm completely talking to myself here I know :) but it might be useful to someone in future.  I've tried installing Umbraco on a live, unused domain in the hope that I can transfer it to the temporary domain once the database is set up.  However, I'm now getting a permissions error now, which is one step closer than no error at all.

    I've checked on the server and have given all users full permissions (!) on the following files/folders:

    /Web.config
    /Bin
    /Config
    /Css
    /Data
    /Masterpages
    /Scripts
    /Umbraco
    /Umbraco_client
    /UserControls
    /Xslt

     

    However, it still errors as follows when I submit page 2/5:

    Could not save the web.config file. Please modify the connection string manually. An error occurred loading a configuration file: Access to the path 'C:\Inetpub\vhosts\iomihost.net\httpdocs\h8h03lp4.tmp' is denied. (C:\Inetpub\vhosts\iomihost.net\httpdocs\web.config)

  • Dan 1288 posts 3921 karma points c-trib
    Sep 16, 2009 @ 18:28
    Dan
    0

    ...and a further update...  I've given all users full permissions on the root folder, which works.  This can't be right though surely, can it?

  • Dan 1288 posts 3921 karma points c-trib
    Sep 16, 2009 @ 18:49
    Dan
    0

    Again, apologies for the multitude of posts, I'm hoping it will be helpful for others in future who attempt a similar installation path as myself.  I think that I can conclusively say it's not possible to run Umbraco on a temporary URL with Plesk.  If anyone has found a way to do this I'd be most grateful for the info, but from my trials today it just doesn't work.

    It does leave me to ponder the best way to get the website live now once it's finished, if it's not possible to preview in-situ prior to updating DNS, but at least I have a working version now installed on a web server.

    I'll leave this topic alone now ;)

  • James Telfer 65 posts 165 karma points
    Sep 17, 2009 @ 08:59
    James Telfer
    0

    Dan, I had the same problem not too long ago. When updating the web.config the process uses a temporary file located in the same directory. I have a feeling this is the core .NET behaviour, not Umbraco code. The only way around this is to change the setup procedure and avoid writing out the configuration file (I believe there's a patch for this lurking in the instructions or on a forum post). So you're not going crazy.

    As you found, it's much smoother and easier to have full control from the base folder for setup purposes and tighten up the permissions before you bring the site live.

    Cheers,
    JT

  • Shannon 6 posts 26 karma points
    May 24, 2010 @ 05:08
    Shannon
    0

    I have same problem when upgrade to 4.0.4.1 from 4.0.3

    What I do is replace "detect" with "validatePermissions" in url to skip step 2.

  • Ian Smedley 97 posts 192 karma points
    May 24, 2010 @ 15:18
    Ian Smedley
    0

    Dan, I work by updating the HOSTS file, to run websites locally with a proper web address.

    http://en.wikipedia.org/wiki/Hosts_file

     

Please Sign in or register to post replies

Write your reply to:

Draft