Our Forum has Moved

This site is our old forum and is only here for achive until we get proper 301 redirects setup to make Google happy.

Please use our new community site - Our Umbraco - which contains an improved forum, documentation wiki, package repository and a member locator.

Go to Our Umbraco now

Learn everything about Umbraco
Installation web.config error Options
bigdavelamb
Posted: Sunday, October 19, 2008 1:44:28 PM
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
bigdavelamb
Posted: Monday, October 20, 2008 6:19:18 PM
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
chrisevans
Posted: Thursday, November 06, 2008 9:59:00 AM
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
rabidrobot
Posted: Thursday, November 06, 2008 9:27:25 PM

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.aspx
This 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.
bigdavelamb
Posted: Thursday, November 06, 2008 10:56:39 PM
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
chrisevans
Posted: Saturday, November 08, 2008 11:25:39 AM
Rank: Newbie

Joined: 12/3/2007
Posts: 10
Thanks very much guys, and thanks Xander - that worked perfectly.

Cheers!
Golo Roden
Posted: Wednesday, November 12, 2008 2:07:41 PM

Rank: Enthusiast

Joined: 9/26/2008
Posts: 26
Location: Freiburg im Breisgau, Germany
rabidrobot wrote:
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.aspx
This version of the Detect step allows you to continue to the next step if there is valid connection info.


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

Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.