|
|
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: 149 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: Aficionado
Joined: 7/21/2006 Posts: 195 Location: Salerno - Italy
|
Good tip...
Red Consulting s.a.s - Umbraco from v1.0
|
|
 Rank: Fanatic
Joined: 11/24/2006 Posts: 322 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: Aficionado
Joined: 7/21/2006 Posts: 195 Location: Salerno - Italy
|
Does it work?
Red Consulting s.a.s - Umbraco from v1.0
|
|
Rank: Aficionado
Joined: 10/2/2007 Posts: 149 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: 11
|
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: Enthusiast
Joined: 8/9/2008 Posts: 40 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: 149 Location: Czech Republic
|
|
|
Rank: Newbie
Joined: 7/21/2007 Posts: 11
|
Thanks, installed framewrk 3.5 SP1 now it works. /nOrphf
|
|
|
Guest |