Hmm, there doesn't seem to be any error message...is that all you are getting, line #s from your web.config?
Make sure you are using the stock web.config that comes in the install, no need to change anything, the install wizard will configure your connection string.
Doh! To run Umbraco 4.7.1 you're going to need .NET 4.0. I think Umbraco 4.5.2 has a version that supports .NET 3.5 though....but I would recommend finding a way to use 4.7.1/.NET 4 :)
If you want to install it in a subdirectory, it needs to be made into a virtual directory with it's own application. It can't just be a folder.
But...I would reccomend installing it at the root if you have the option. A lot of the virutal directory bugs have been fixed but there may still be a few lingering out there...can't speak from experience though.
It really depends on your host. In IIS you can right-click the folder and Convert to Application. If you don't have IIS you might need to ask them how to setup a virtual directory as an application.
Or if you have the option of setting up a second website on a subdomain that would work too.
Hmm, I haven't used WebMatrix before, but it sounds like you're on the right track. I feel like there's an error message missing somewhere, all you're getting is a screen showing 5 lines from your web.config?
I feel like I have seent hat before but unfortunately can't recall anything, other than verifying your server side settings (website is running .NET 4.0, etc).
You shouldn't need to do anything the web.config initially, it has the connection string for the DB but the installer should configure that.
If you already have it installed locally, you don't need to install it on the server. To deploy it you would copy your files across, copy your database, and adjust the connection string in the web.config file.
Uploaded... now what!?
Hi
I have upload my site using WebMatrix and understand that I have to configure the webcofig file to point to the database.
What do I change, and what to?
Is it:
<add key="umbracoDbDSN" value="server=.\sqlexpress;database=umbraco;user id=umbracouser;password=******" />
Cheers!
If you just run the website you will see an installer in which you can configure everything.
Jeroen
Wish it was that easy!
I get:
Line 72: <customErrors mode="Off" /> Line 73: <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="false" /> Line 74: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" /> Line 75: <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" /> Line 76: <xhtmlConformance mode="Strict" />Doesn't look like your copy/paste came through fully - are you getting some sort of error?
Sorry..
Line 72: <customErrors mode="Off" />
Line 73: <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="false" />
Line 74: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
Line 75: <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />
Line 76: <xhtmlConformance mode="Strict" />
Hmm, there doesn't seem to be any error message...is that all you are getting, line #s from your web.config?
Make sure you are using the stock web.config that comes in the install, no need to change anything, the install wizard will configure your connection string.
Are you running in .NET 4.0 integrated mode?
-Tom
I believe my hosting company uses .NET 3.5
Doh! To run Umbraco 4.7.1 you're going to need .NET 4.0. I think Umbraco 4.5.2 has a version that supports .NET 3.5 though....but I would recommend finding a way to use 4.7.1/.NET 4 :)
-Tom
Oh nuts
So you think that may be the problem?
I just contacted the hosting company and apparently they do support .net4
So no further forward there!
One question... I have the site installed in a subdirectory: www.domain.co.uk/folder
Doest that make a difference, does it need to run from the root?
Cheers
Hi Lee,
Great news!
If you want to install it in a subdirectory, it needs to be made into a virtual directory with it's own application. It can't just be a folder.
But...I would reccomend installing it at the root if you have the option. A lot of the virutal directory bugs have been fixed but there may still be a few lingering out there...can't speak from experience though.
-Tom
Tom... Thanks for all your advice... at least I think I'm getting somewhere!!
I can't really install at my root as I am only testing and it will conflict with my own website. How would I create a virtual server/application?
My hosting is with namesco
ta
It really depends on your host. In IIS you can right-click the folder and Convert to Application. If you don't have IIS you might need to ask them how to setup a virtual directory as an application.
Or if you have the option of setting up a second website on a subdomain that would work too.
Na... made sure I have all the server requirements .NET4 etc
Uploaded to a new server at root level.... still the same problem. This MUST be easy to do!!
So here is my process:
HHHHhhheeeeeeellllllppppppppp!!! I'm sinking!
Hmm, I haven't used WebMatrix before, but it sounds like you're on the right track. I feel like there's an error message missing somewhere, all you're getting is a screen showing 5 lines from your web.config?
I feel like I have seent hat before but unfortunately can't recall anything, other than verifying your server side settings (website is running .NET 4.0, etc).
You shouldn't need to do anything the web.config initially, it has the connection string for the DB but the installer should configure that.
Hmm...
Do I need to install Umbraco on the server? or just copy my files across?
If you already have it installed locally, you don't need to install it on the server. To deploy it you would copy your files across, copy your database, and adjust the connection string in the web.config file.
adjust the connection string in the web.config file ..... which bit is that?
It's the first setting under <appSettings>:
<add key="umbracoDbDSN" value="server=your-server;database=db-name;user id=db-user-name;password=your-password" />
-Tom
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.