|
|
Rank: Newbie
Joined: 10/13/2008 Posts: 18 Location: UK
|
Hi
I am running the installer (Assembly 1.0.3214.105) but it errors when running the installer wizard, when trying to connect to the database with:
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\xxxx\httpdocs\aflx175g.tmp' is denied. (C:\Inetpub\vhosts\xxxx\httpdocs\web.config)
I cannot change permissions on my web root only the folders within it. I have set write permissions on the web.config but it does not seems to make any difference. I have also tried editing the connection string manually but this does not seem to make any difference. I had version 3 working fine on the same website prior to trying to install this one. Am I doing something wrong?
Thank you.
Dave
|
|
Rank: Newbie
Joined: 10/13/2008 Posts: 18 Location: UK
|
Hi
Just thought I would follow this up as I have resolved it but it may be an issue for some people. The installer is attempting to write to my webroot but I use Plesk hosting. With this system I cannot update permissions on my webroot only files and folders within it. I therefore think the installer should not need to write the tmp file (it uses for the web.config change) to the webroot should it not write this say into the installer directory instead?
Dave
|
|
Rank: Newbie
Joined: 12/3/2007 Posts: 10
|
Hi Dave,
Just wondering - how did you resolve this? I'm running a Plesk host as well and am trying to get version 4 beta 2 to run on it, and can't get past the Database check. I wonder if maybe I've got the same permissions issue.
I'm not actually getting an error message, the page just reloads once I hit Next, after entering my SQL Server login info, and just refills in the default field values (eg DATABASE NAME etc)
Anyone got any ideas?
Cheers, Chris
|
|
 Rank: Enthusiast
Joined: 11/9/2007 Posts: 45 Location: Washington State, USA
|
I use Plesk and have had success with v4 Beta. Here's what's worked for me: First, swap out the Detect.ascx in the install/steps folder with the one available here: http://forum.umbraco.org/yaf_postst6278_Ubraco-v4-beta-installation-fix.aspxThis version of the Detect step allows you to continue to the next step if there is valid connection info. Second, You'll need to make edits by hand to web.config during installation. You must provide accurate information for the connection string, and once installation is done you'll set umbracoConfigurationStatus to 4.0.0. So, after replacing Detect.ascx, I usually edit my config, setting the db connection info, ftp it to web directory httpdocs, load umbraco in browser and continue through installation steps, being careful to Upgrade my database rather then install fresh. Once installation is done, I edit config again, adding 4.0.0, and ftp again. Site is ready! Umbraco does not appear to need write access to httpdocs root after that, although the Mass Upload Package floating around here does require another simple edit.
Xander Lih LiH is flammable in air and reacts explosively with water.
|
|
Rank: Newbie
Joined: 10/13/2008 Posts: 18 Location: UK
|
I created a sub domain within my website via the Plesk control panel, copied the Umbraco files into here and adjusted the root permissions on this sub domain to allow write - as you can alter root permissions on subdomains in plesk. I installed Umbraco via this subdomain website then copied all the files back to my normal site. However xanders solution seems a little cleaner.
dave
|
|
Rank: Newbie
Joined: 12/3/2007 Posts: 10
|
Thanks very much guys, and thanks Xander - that worked perfectly.
Cheers!
|
|
 Rank: Enthusiast
Joined: 9/26/2008 Posts: 26 Location: Freiburg im Breisgau, Germany
|
Wouldn't it be a good idea to put this file in the normal 4.0 package, since even current Beta 2 Take 2 has problems with this issue?
|
|
The forum has moved
This forum is no longer in use, so you can't reply to this message - please go to Our Umbraco
|
|
Guest |