|
|
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: Aficionado
Joined: 10/2/2007 Posts: 167 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: 315 Location: Salerno - Italy
|
Good tip... Red Consulting s.a.s - Umbraco from v1.0
|
|
 Rank: Fanatic
Joined: 11/24/2006 Posts: 323 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
|
|
 Rank: Fanatic
Joined: 7/21/2006 Posts: 315 Location: Salerno - Italy
|
Does it work? Red Consulting s.a.s - Umbraco from v1.0
|
|
Rank: Aficionado
Joined: 10/2/2007 Posts: 167 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: Newbie
Joined: 7/21/2007 Posts: 14
|
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: 53 Location: 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 NKLSoftBilly's Blogsite
|
|
Rank: Aficionado
Joined: 10/2/2007 Posts: 167 Location: Czech Republic
|
|
|
Rank: Newbie
Joined: 7/21/2007 Posts: 14
|
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: Aficionado
Joined: 10/2/2007 Posts: 167 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: 53 Location: 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 NKLSoftBilly's Blogsite
|
|
 Rank: Enthusiast
Joined: 7/8/2008 Posts: 40 Location: Norway,
|
I am running it on a virtual server 2008 and works perfect :)
There's no place like 127.0.0.1
|
|
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: Enthusiast
Joined: 10/27/2008 Posts: 33 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: 62
|
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
|
|
|
Guest |