Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Duncanson 430 posts 1360 karma points c-trib
    Jan 02, 2010 @ 19:31
    Peter Duncanson
    0

    .net 3.5 on iis6?

    Trying to play with the repeatable content data type but it requires .net 3.5 trouble is I develop on XP Pro with IIS6 install. Is there anyway to get it all running on iis 6? I "think" it just needs a web.config change or three but don't know where to start. Alternatively it might be a Cassini solution needed, any one got a nice easy to follow install guide.

    Some points to note:

    • the site is already running fine and dandy on .net 2 on iis6 on my laptop.
    • I'll need to recreate anything we do on other developer machines in the office (including a designer who does not have Visual Studio et al installed) so it needs to be nice and easy to do

    Cheers

    Pete

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jan 03, 2010 @ 02:57
    Aaron Powell
    0

    I haven't used repeatable content so I'm not sure what aspect of .NET 3.5 is requires. Unless it's using the .NET 3.5 AJAX stuff you don't have to do anything. .NET 3.5 runs the same CLR version as .NET 2.0, it's more of an extension set than a new framework (where .NET 2.0 was a new CLR to .NET 1.1, and .NET 4.0 is a new one again).

    If it is using .NET AJAX stuff then you'll just have to set up some assembly binding redirects for System.Web.Extensions and System.Web.Extensions.Design.

    Here is the MSDN reference for the bindingRedirect config node - http://msdn.microsoft.com/en-us/library/eftw1fys.aspx (it's good to understand it first :))

    And here's the redirects:

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

     

  • Peter Duncanson 430 posts 1360 karma points c-trib
    Mar 01, 2010 @ 11:38
    Peter Duncanson
    0

    Hi Slace,

    I came back to have another go at this and this fix sorted out my problem straight away, thanks for the code.

    For others, copy this just above the </configuration> section of your web.config.

    I needed this to get repeatable content package to work.

    Cheers

    Pete

Please Sign in or register to post replies

Write your reply to:

Draft