Problem installing v4 Options
fed
Posted: Saturday, September 13, 2008 1:53:50 AM

Rank: Aficionado

Joined: 3/30/2008
Posts: 124
Location: Sweden
I am trying to install Umbraco V4 (Assembly 1.0.3177.103 / 09/12/2008) on Plesk hosting (dailyrazor).

I have given "Plesk IIS User" and "Plesk IIS WP User" full permissions on the following folders/files:
Code:

/bin
/config
/media
/umbraco
/umbraco_client
/usercontrols
/xslt
/css
/masterpages
/python
/scripts
web.config


The error happens on (Step 2/5: Database configuration) when trying to save my connectionstring.

The errormessage I am receiving is the following:
Code:
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\xxx.com\httpdocs\dxqvqck4.tmp' is denied. (C:\Inetpub\vhosts\xxx.com\httpdocs\web.config)


I have also modified the web.config manually and still gets the same errormessage on this step.

I know I can get it working by manually moving a local site to the server, however I am curious as to why I am receiving this error.

Any ideas?

kalpa
Posted: Saturday, September 13, 2008 10:02:47 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
I got this error as well last night with the same nightly build. All rights where set correctly and I triple checked that the files wasn't read-only.

I adjusted the file and added the conn sting and the version number manually.

Then the step install Boost failed with a .Net error. But I managed to login to the backend OK, but couldn't still install Boost due to a 'key already in dictionary' error. I deleted Boost and the templates from two different DB tables but still errors...

Since everything I did threw an error when I tried to create anything I finally gave up and flagged the 12th September build way to unstable for tests...

Anyone with a better experience of a clean install with this version?

// ;) Kalle


" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
miha
Posted: Saturday, September 13, 2008 10:57:07 AM
Rank: Newbie

Joined: 8/23/2008
Posts: 7
Location: Serbia
I am having those issues also in previous builds. Specially if mysql data provider is used.
Not so much about error saving web.config, but more with installing boost...
fed
Posted: Saturday, September 13, 2008 12:18:47 PM

Rank: Aficionado

Joined: 3/30/2008
Posts: 124
Location: Sweden
I have had the exact same errors on previous nightly builds too (the one from 11/8). However it is only the installer that is failing and only on my webhost.

If I run it locally it works fine.

and what is the message about Access denied (dxqvqck4.tmp)?
jaygreasley
Posted: Sunday, September 14, 2008 12:09:14 AM

Rank: Devotee

Joined: 6/6/2008
Posts: 83
Location: Barling Magna
that error is *usually* when the iis account doesn't have full rights to access the web.config. which is why you don't get it on a local installation but you do on the web host.
not sure how you resolve unless you have rights to assign file permissions in plesk etc but hope this points you in the right direction

/j
fed
Posted: Sunday, September 14, 2008 1:11:08 AM

Rank: Aficionado

Joined: 3/30/2008
Posts: 124
Location: Sweden
I have now tried assigning "Full control" to all users (Plesk IIS User", "Plesk IIS WP User" and "Domain Users"), and I am still getting the same error.
balexandre
Posted: Sunday, September 14, 2008 8:28:44 AM

Rank: Newbie

Joined: 6/11/2008
Posts: 12
Location: Strøby, Danmark
I dont use Plesk but you need to give permission on USR_ASPNET and USR_IW ... something :)

sorry, i'm on a Mac now and I dont wanna open Fusion :)

hope it helps

Bruno Alexandre
"a Portuguese in Denmark"
Dirk
Posted: Sunday, September 14, 2008 10:12:42 AM

Rank: Umbracoholic

Joined: 9/27/2007
Posts: 1,136
Location: Belgium
fed wrote:
I have now tried assigning "Full control" to all users (Plesk IIS User", "Plesk IIS WP User" and "Domain Users"), and I am still getting the same error.


Hi fed,

Should be ok, as long as one ot those three is also the application pool identity. Normally, Plesk does all the plumbing for you.

I've already installed a v4 in such a way, so it should work.
Only had a single problem when I've been uploading imgs/templates stuff using a ftp account. Although that account had all rights, the app stopped working ('Application unavailable error'). I temporarily gave that account full control, and all worked again.

Again, apart from this detail, it should work using the standard Plesk config.

Greetz,
/Dirk


level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
rabidrobot
Posted: Monday, September 15, 2008 6:37:30 AM

Rank: Enthusiast

Joined: 11/9/2007
Posts: 31
Location: Washington State, USA
With DailyRazor I don't know of a way to let files in the root folder have relaxed permissions. You can change the web.config manually, and it works after that.

Not only check your database connection string, but delete from the info the DataLayer info. I think that's the name of the attribute, just take that out of the connection string, you're good to go.

Xander Lih
LiH is flammable in air and reacts explosively with water.
Dirk
Posted: Monday, September 15, 2008 7:37:24 AM

Rank: Umbracoholic

Joined: 9/27/2007
Posts: 1,136
Location: Belgium
rabidrobot wrote:
Not only check your database connection string, but delete from the info the DataLayer info. I think that's the name of the attribute, just take that out of the connection string, you're good to go.


Only delete the datalayer info if working with Sql server. You'll need the info if using other providers. Sql server is default, therefore it works without as well.

Btw, after installing (with sql server), the datalayer info is persisted as well.
Btw2, don't know that is a good thing...!

Greetz,
/Dirk


level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
fed
Posted: Monday, September 15, 2008 9:57:02 PM

Rank: Aficionado

Joined: 3/30/2008
Posts: 124
Location: Sweden
Thanks for pointing me in the right direction, got it working now. Unfortunately I had already removed the datalayerinfo from the connectionstring. When I added it again I got it working. I am using Sql Server.
elviselvis
Posted: Tuesday, September 16, 2008 6:36:39 PM
Rank: Newbie

Joined: 9/15/2008
Posts: 3
Location: Praha
here is how i fixed this problem

Ubraco v4 beta installation fix

Apply this fix if you in installation cant go over step 2/5 (installer says than can`t write to web.config). This enable install button, so you can install database and go to step 3/5.

dowload link

Usage:
1) copy detect.ascx over file detect.ascx in /install/steps/ directory
2) install site as usually (you have to change connection string in web.config manually)
3) in step 2/5 insert your database details
4) click confirm button (error appear, ignore it)
5) click install and continue to end of installation
6) at the end of installation change value of umbracoConfigurationStatus in web.config to "4.0.0"

Angel Applause Drool Angel
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.