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: 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
Ig_p118
Posted: Monday, May 12, 2008 10:52:43 AM

Rank: Fanatic

Joined: 7/21/2006
Posts: 315
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: 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
Ig_p118
Posted: Tuesday, August 26, 2008 10:31:08 AM

Rank: Fanatic

Joined: 7/21/2006
Posts: 315
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: 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
norphf
Posted: Tuesday, August 26, 2008 9:33:18 PM
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
BillyKoch
Posted: Tuesday, August 26, 2008 10:15:23 PM

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

Joined: 10/2/2007
Posts: 167
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: 14
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
kvigor
Posted: Sunday, November 23, 2008 7:59:35 AM
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.
Petr Snobelt
Posted: Sunday, November 23, 2008 12:44:09 PM
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.
BillyKoch
Posted: Monday, November 24, 2008 3:57:21 AM

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
NKLSoft
Billy's Blogsite
Frekvi
Posted: Monday, November 24, 2008 11:08:31 AM

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
nico_
Posted: Friday, December 05, 2008 7:18:33 PM
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.
martinrousev
Posted: Wednesday, December 17, 2008 3:51:02 PM
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'.
Skiltz
Posted: Thursday, December 18, 2008 9:19:55 AM

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
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.