Copied to clipboard

Flag this post as spam?

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


  • Thor Østergaard 37 posts 58 karma points
    Sep 21, 2011 @ 07:52
    Thor Østergaard
    0

    Database connection initialisation failed after 5%

    Hi,

    I'm trying to install 4.7 on a 2003 64bit server with a SQL 2005 server.

    I have given everyone full controll to the umbraco folder

    I have given the database user owner's rights on the blank database

    I have tested my connection from outside - both with SQL management and Visual Studio

    All seems to be as required.

    But the installation stops with "Database connection initialisation failed " after 5%

    Any suggestions?

  • Rich Green 2246 posts 4008 karma points
    Sep 21, 2011 @ 08:02
    Rich Green
    0

    Hey Thor,

    Welcome to the forum!

    Sorry to hear you're having problems.  Not sure why your install is not working, to me it sounds like the file permissions are not correct, so I would double check these, it's not just the Umbraco folder. For example the installer writes to the web.config file http://our.umbraco.org/wiki/reference/files-and-folders/permissions

    If you want to get past this stage, you can always just manually enter the connection string in the web.config file, the installer will pick it up.

    Rich

     

  • Thor Østergaard 37 posts 58 karma points
    Sep 21, 2011 @ 08:07
    Thor Østergaard
    0

    Thanks - by umbraco folder I ment the root folder of the umbraco website - so everyone have full access to all files in the web-site folder.

    I have the right connectionstring in the web.config and the installer picks it up - but still stalls after 5%

  • Rich Green 2246 posts 4008 karma points
    Sep 21, 2011 @ 08:11
    Rich Green
    0

    Hey Thor,

    Understood. Did you extract Umbraco from a zip file by any chance? If so did you remember to 'unblock' the zip file first?

    Rich

  • Thor Østergaard 37 posts 58 karma points
    Sep 21, 2011 @ 08:14
    Thor Østergaard
    0

    I did, but woud I be able to run the installer pages without the dll files?

    I have 32 dll files in my bin folder.

  • Rich Green 2246 posts 4008 karma points
    Sep 21, 2011 @ 08:17
    Rich Green
    0

    Hi,

    If you didn't 'Unblock' the zip file first you will still have all the physical files, however it causes problems with file permissions.

    Maybe delete all the files and unblock and copy the new files over again, remembering to reset permissions.

    Let us know how you get on.

    Rich

  • Thor Østergaard 37 posts 58 karma points
    Sep 21, 2011 @ 08:20
    Thor Østergaard
    0

    I'm using the build in "Compressed folder" tool in Windows 2003 - I don't see any block/unblock options.

     

  • Rich Green 2246 posts 4008 karma points
    Sep 21, 2011 @ 08:22
    Rich Green
    0

    Did you download the file directly onto Windows 2003 or did you download it somewhere else and transfer it over?

    Rich 

  • Thor Østergaard 37 posts 58 karma points
    Sep 21, 2011 @ 08:26
    Thor Østergaard
    0

    I downloaded the zip to my win7 computer and transferred it to the server by ftp and unzipped on the server

  • Rich Green 2246 posts 4008 karma points
    Sep 21, 2011 @ 08:30
    Rich Green
    0

    Ok, if you right click the file in Windows 7 then select 'Unblock' then you will have to reupload it to your server.

    Alternatively, just download it directly on the Windows 2003, I think the blocking of files only happens in Windows 7.

    Rich 

  • Thor Østergaard 37 posts 58 karma points
    Sep 21, 2011 @ 08:43
    Thor Østergaard
    0

    I did that, but that didn't change anything - still only 5% 

    And I get the connectionstring into the web.config

  • Rich Green 2246 posts 4008 karma points
    Sep 21, 2011 @ 08:50
    Rich Green
    0

    Hey,

    I don't know then to be honest.

    One other thing I can suggest is to install the site using Windows 7 and http://www.microsoft.com/web/downloads/platform.aspx once you have it all up and running locally then transfer it to your Windows 2003 server, Umbraco is essentially a standard .NET site with a SQL CE / SQL Server / MySQL database so it should be easy at this point.

    Rich 

  • Thor Østergaard 37 posts 58 karma points
    Sep 21, 2011 @ 09:32
    Thor Østergaard
    0

    Thanks - now umbraco is running on my server.

  • Rich Green 2246 posts 4008 karma points
    Sep 21, 2011 @ 09:38
    Rich Green
    0

    Great :)

    Glad you got it working

    Rich

Please Sign in or register to post replies

Write your reply to:

Draft