But if I do the same on V6 during installation in step 3, it just hangs at 5% (Connection to database) I have no problems connecting to the database from SQL Management Studio with the information above.
I copied over the website directory again, and ran my usual bat-script for setting up rights on the folders:
REM Following line in original script incorrectly sets all child folder permissions REM icacls . /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls app_code /grant "IIS APPPOOL\yourapppool":(OI)(CI)RX icacls app_browsers /grant "IIS APPPOOL\yourapppool":(OI)(CI)RX icacls app_data /grant "IIS APPPOOL\yourapppool":(OI)(CI)M REM icacls bin /grant "IIS APPPOOL\yourapppool":(OI)(CI)R icacls bin /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls config /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls css /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls data /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls masterpages /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls macroscripts /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls media /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls python /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls scripts /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls umbraco /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls Views/Partials "IIS APPPOOL\yourapppool":(OI)(CI)M icacls usercontrols /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls xslt /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls web.config /grant "IIS APPPOOL\yourapppool":(OI)(CI)M icacls web.config /grant "IIS APPPOOL\yourapppool":M REM If you have installed the Robots.txt editor package you need the following line too REM icacls robots.txt /grant "IIS APPPOOL\yourapppool":M
Then I set Network service to have full rights on the root folder as well. I don't think thats very cosher in relation to security, but it seemed it worked.
I also granted the DB user full rights over the DB just in case.
Niels, it was permissions as you suggested. I wish there was a comprehensive check for these things in the install process, I feel like I run into this whenever I'm installing on an unfamiliar environment.
Umbraco v6 clean install stuck at 5%
Hi Folks
I have an Umbraco V6 (6.0.2) which is stuck at 5%.
Web and DB (mssql) are running on the same machine.
In 4.11.5 my connection string looks like this:
I've also tried this
But if I do the same on V6 during installation in step 3, it just hangs at 5% (Connection to database)
I have no problems connecting to the database from SQL Management Studio with the information above.
What did I miss ?
I had similar problems when my user didn't have sufficient rights on the DB. Maybe try giving them db owner while the install is happening..
Are you using IE 10 during installation?
Try with Different Browser, like Firefox.
I had same problem "5%" but using Firefox solve the problem. When I use IE10 I got some JSON Error.
Hi,
the connectionstring has changed in web.config and is in a new section.
This is the new string in V 6:
<add name="umbracoDbDSN" connectionString="server=localhost;database=xxx;user id=xxx;password=xxx" providerName="System.Data.SqlClient" />
You can find this in the app settings section of web.config.
Unfortunately none of the above works.
I'm using chrome on a mac.
But here is a little more info:
I get a 500 Internal Server Error on this location: /install/utills/p.aspx/installOrUpgrade
If I open /install/utills/p.aspx/installOrUpgrade in a browser I get this, looks like a twitter feed:
We have had similar problems on the windows platform. Make sure the web server have sufficient right on the folder where you have your fresh install
Network Services have full control.
Is anything else needed ?
The server is running around 10 Umbraco solutions, but this is the first V6.
Any light on this one? I'm having the exact same issue.. Very wierd, I just installed on another server today, worked perfectly..
Oh, I fiddled around with rights on the installation and got it to work..
Niels, what were the rights that are different than normal? I'm having the same issue.
I wish I could tell you exactly..
I copied over the website directory again, and ran my usual bat-script for setting up rights on the folders:
REM Following line in original script incorrectly sets all child folder permissions
REM icacls . /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls app_code /grant "IIS APPPOOL\yourapppool":(OI)(CI)RX
icacls app_browsers /grant "IIS APPPOOL\yourapppool":(OI)(CI)RX
icacls app_data /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
REM icacls bin /grant "IIS APPPOOL\yourapppool":(OI)(CI)R
icacls bin /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls config /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls css /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls data /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls masterpages /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls macroscripts /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls media /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls python /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls scripts /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls umbraco /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls Views/Partials "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls usercontrols /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls xslt /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls web.config /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
icacls web.config /grant "IIS APPPOOL\yourapppool":M
REM If you have installed the Robots.txt editor package you need the following line too
REM icacls robots.txt /grant "IIS APPPOOL\yourapppool":M
Then I set Network service to have full rights on the root folder as well. I don't think thats very cosher in relation to security, but it seemed it worked.
I also granted the DB user full rights over the DB just in case.
Hope you solve it..
Niels, it was permissions as you suggested. I wish there was a comprehensive check for these things in the install process, I feel like I run into this whenever I'm installing on an unfamiliar environment.
Fantastic! Glad I could be of some help then :)
is working on a reply...