A version compatible with Windows Server 2008 / ASP.NET 3.5? Options
NETTECTURE
Posted: Tuesday, February 26, 2008 9:37:56 AM
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".
Petr Snobelt
Posted: Tuesday, February 26, 2008 4:01:19 PM
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
Ig_p118
Posted: Monday, May 12, 2008 10:52:43 AM
Rank: Aficionado

Joined: 7/21/2006
Posts: 195
Location: Salerno - Italy
Good tip...

Red Consulting s.a.s - Umbraco from v1.0
tkahn
Posted: Thursday, May 29, 2008 4:15:01 PM

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
Ig_p118
Posted: Tuesday, August 26, 2008 10:31:08 AM
Rank: Aficionado

Joined: 7/21/2006
Posts: 195
Location: Salerno - Italy
Does it work?

Red Consulting s.a.s - Umbraco from v1.0
Petr Snobelt
Posted: Tuesday, August 26, 2008 4:57:09 PM
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
norphf
Posted: Tuesday, August 26, 2008 9:33:18 PM
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
BillyKoch
Posted: Tuesday, August 26, 2008 10:15:23 PM

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
NKLSoft
Billy's Blogsite
Petr Snobelt
Posted: Wednesday, August 27, 2008 8:23:04 AM
Rank: Aficionado

Joined: 10/2/2007
Posts: 149
Location: Czech Republic
This config section is for .NET 3.5 (it also works with .NET 3.5 SP1)

Try download and install
http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

Petr
norphf
Posted: Friday, August 29, 2008 3:54:34 PM
Rank: Newbie

Joined: 7/21/2007
Posts: 11
Petr Snobelt wrote:
This config section is for .NET 3.5 (it also works with .NET 3.5 SP1)

Try download and install
http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

Petr


Thanks, installed framewrk 3.5 SP1 now it works.

/nOrphf
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.