|
|
Rank: Newbie
Joined: 2/26/2008 Posts: 1
|
Just try to install umbraco on our web server, having heard a lot of good things about it.
TOTAL failure. After setting it up on our longhorn (Windows 2008) based web server, things just dont work. Seems Umbraco is unable to run on a current version of ASP.NET (i.e. 3.5) without lots of work, which - as potential user - I simply do not want to do (i.e. I think recompiling JUST to get it in is a no no).
Why this? Are there really hosts out there too lazy to support asp.net 3.5 by now?
What are the exact steps to get it working in a way that is compatible with Longhorn / Windows Server 2008 / ASP.NET 3.5? Please do not say "install an outdated version of some library".
|
|
Rank: Fanatic
Joined: 10/2/2007 Posts: 315 Location: Czech Republic
|
Hi I work with umbraco under Vista. To use it under IIS 7 you must add some lines into web.config and set application to use older application model webconfig lines Code: <!-- added by petr snobelt - fix for .net 3.5 --> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> </dependentAssembly> </assemblyBinding> </runtime>
Hope this help
|
|
 Rank: Fanatic
Joined: 7/21/2006 Posts: 346 Location: Salerno - Italy
|
Good tip... Red Consulting s.a.s - Umbraco from v1.0 Italian Language File Traslator
|
|
 Rank: Fanatic
Joined: 11/24/2006 Posts: 346 Location: Stockholm, Sweden
|
Are you sure the second assembly binding is needed? In the examples that I've seen on the net only the first (System.Web.Extensions) is redirected, here for example?
Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden A jQuery plugin for smooth scrolling Smooth Div Scroll. Free of course!
|
|
 Rank: Fanatic
Joined: 7/21/2006 Posts: 346 Location: Salerno - Italy
|
Does it work? Red Consulting s.a.s - Umbraco from v1.0 Italian Language File Traslator
|
|
Rank: Fanatic
Joined: 10/2/2007 Posts: 315 Location: Czech Republic
|
Of course it works :-) If it don't work for you, try look at application pool settings, it must be set to Classic .NET AppPool.
Petr
|
|
Rank: Enthusiast
Joined: 7/21/2007 Posts: 26 Location: Ringe, Denmark
|
How did you guys install/enable AJAX on Server 2008/IIS7?
I have changed the website application pool to Classic .NET AppPool, I have pasted the <runtime> into my web.config, should it be a specific place?, I have installed the msi, but I stille get the error: Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 93: <assemblies> Line 94: <!-- ASPNETAJAX --> Line 95: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Which I see as something wrong with the AJAX. But the <runtime> code as done somting, cause before I put that in the web.config i just got a 500 Internal error.
/nOrphf
|
|
 Rank: Devotee
Joined: 8/9/2008 Posts: 66 Location: Houston, Texas
|
Make sure that the System. Ajax file (should be 2 of them I think) is in the bin directory. I haven't had the chance to run it on 3.5 - Im running Longhorn with IIS7 right now but I defaulted it to 2.0. And had no issues. But later on this weekend Im going to try the 4.0 with the 3.5 and will let you know my results.
Billy Koch http://www.twitter.com/billy_koch
|
|
Rank: Fanatic
Joined: 10/2/2007 Posts: 315 Location: Czech Republic
|
|
|
Rank: Enthusiast
Joined: 7/21/2007 Posts: 26 Location: Ringe, Denmark
|
Thanks, installed framewrk 3.5 SP1 now it works. /nOrphf
|
|
Rank: Newbie
Joined: 11/23/2008 Posts: 1 Location: Rockford, IL
|
So If I'm hearing this correctly, you can install umbraco under Windows Server 2008 and IIS7? Please confirm as I have a Windows 2008 Server that I want to install umbraco on. This will be my first install of umbraco, and I don't want to lose steam at the install process.
|
|
Rank: Fanatic
Joined: 10/2/2007 Posts: 315 Location: Czech Republic
|
You can install umbraco under Windows Server 2008, but you should installed .NET 3.5 and must set app pool to clasic mode.
|
|
 Rank: Devotee
Joined: 8/9/2008 Posts: 66 Location: Houston, Texas
|
kvigor wrote:So If I'm hearing this correctly, you can install umbraco under Windows Server 2008 and IIS7? Please confirm as I have a Windows 2008 Server that I want to install umbraco on. This will be my first install of umbraco, and I don't want to lose steam at the install process. Yes it is confirmed you can run it on Server 2008 with .NET 3.5 - Im currently running my sites off it right now. SO it works quite well.
Billy Koch http://www.twitter.com/billy_koch
|
|
 Rank: Devotee
Joined: 7/8/2008 Posts: 73 Location: Norway,
|
I am running it on a virtual server 2008 and works perfect :)
|
|
Rank: Newbie
Joined: 9/4/2008 Posts: 1 Location: Buenos Aires, Argentina
|
So it is confirmed you can run it on Windows Server 2008 with .NET 3.5, excellent. Does anyone know if this includes the 64-bit version as well? I'm talking about production, not dev environment.
thanks.
|
|
Rank: Devotee
Joined: 10/27/2008 Posts: 56 Location: Bulgaria
|
.NET should not tell the difference between 64 and 32 bit. So the answer to your question is 'yes'.
|
|
 Rank: Devotee
Joined: 12/6/2007 Posts: 64
|
Just to confirm, I have Umbraco 4 running on Windows 2008. I upgraded to framework 3.5, my hosting company uses dotnetpanel, in website properties > extensions > just need to change Asp.net version from "2.0 Integrated Pipeline" to 2.0.
Thanks, Matthew
New Zealand Umbracoee
|
|
 Rank: Aficionado
Joined: 10/19/2007 Posts: 161 Location: Glasgow, Scotland
|
Adding Petr's code to the web.config works perfectly! I had developed a user control using an asp:Update panel in a .NET project configured for .NET3.5. There was a conflict between the System.Web.Extensions which Petr's code sorted perfectly. Petr - I owe you a pint! Certified Umbraco developer
|
|
Rank: Aficionado
Joined: 7/19/2006 Posts: 174 Location: aalleren, Denmark
|
Umbraco can easily run on windows 2008 servers, and with .net 3.5 it all depends on the web.config used, it doesn't even have to have asp.net ajax installed if .net 3.5 is installed. There is a web.config for asp.net 3.5 using intergrated pipeline in the repository: http://www.codeplex.com/umbraco/SourceControl/changeset/view/46599#687601 It is not included by default as most standard servers can fallback to .net 2.0 and all previous documentation has been on .net 2.0. Umbracian
|
|
 Rank: Enthusiast
Joined: 3/18/2009 Posts: 37 Location: Curitiba, Brazil
|
pph wrote:Umbraco can easily run on windows 2008 servers, and with .net 3.5 it all depends on the web.config used, it doesn't even have to have asp.net ajax installed if .net 3.5 is installed. There is a web.config for asp.net 3.5 using intergrated pipeline in the repository: http://www.codeplex.com/umbraco/SourceControl/changeset/view/46599#687601 It is not included by default as most standard servers can fallback to .net 2.0 and all previous documentation has been on .net 2.0. I can't download that file... the site sometimes don't open, and when it open, I can't make download of this file. Somebody can to send this file for me? eduardo@lumendesign.com.bror maybe to make a upload? Tx
|
|
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 |