« Previous Next »

Answered Thread: How to install .net framework 3.5 onto the iis

Last post 11-07-2009 2:50 AM by steve schofield. 12 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (13 items)

Sort Posts:

  • 07-15-2007, 2:09 AM

    • erdsah88
    • Not Ranked
    • Joined on 12-12-2004, 11:18 AM
    • ISTANBUL
    • Posts 9

    How to install .net framework 3.5 onto the iis

    I have a iis 6.0 but I wanna use 3.5 in one of my applications....how is it posssible?
  • 07-16-2007, 9:15 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,244
    • IIS MVPs

    Re: How to install .net framework 3.5 onto the iis

  • 07-16-2007, 11:00 AM In reply to

    • erdsah88
    • Not Ranked
    • Joined on 12-12-2004, 11:18 AM
    • ISTANBUL
    • Posts 9

    Re: How to install .net framework 3.5 onto the iis

    do they rewrite all the classes when they switch a framework or do they reuse it? 

    do they depend on each other?

  • 07-16-2007, 11:04 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,244
    • IIS MVPs

    Answered Re: How to install .net framework 3.5 onto the iis

    The correct version of the class is used based on the framework chosen for the application. You will see multiple version folders created under C:\WINDOWS\Microsoft.NET\Framework for all of the binary files.

    3.5 is essentially an extension of 2.0.

  • 09-11-2007, 7:23 PM In reply to

    Re: How to install .net framework 3.5 onto the iis

    I had trouble getting my ASP.NET 3.5 web site to work after installing .NET 3.5 on my server. You can't choose between .NET 2.0 and 3.5 in the asp.net tab in IIS; both run under 2.0. I had to add this section to my web config:

    <system.codedom>
    <
    compilers>
    <
    compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/warnaserror-" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <
    providerOption name="CompilerVersion" value="v3.5"/></compiler>
    <
    compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" compilerOptions="/optioninfer+" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><providerOption name="CompilerVersion" value="v3.5"/>
    </
    compiler></compilers>
    </
    system.codedom>

    Finally it would compile my code with the new .NET 3.5 language features. New web.config files created in Visual Studio 2008 have this section, but it must be added to existing web sites before they will compile.

  • 12-09-2007, 11:48 PM In reply to

    • vuit
    • Not Ranked
    • Joined on 04-16-2007, 4:07 AM
    • Posts 1

    Re: How to install .net framework 3.5 onto the iis

    Hi All,

    As for ASP.NET 3.5, it is still based on the ASP.NET 2.0 core fundamental.
    Therefore, there is no new application type(for ASP.NET 3.5) in IIS, still
    use the 2.0 one. And when you developing ASP.NET 3.5 application(which use
    those 3.5 specific features such as AJAX or LINQ), VS 2008 will help you
    add the proper assemblies reference in project and those assemblies are the
    most imporant things to help you deal with 3.5 stuffs. And when deploy to
    IIS, you still use 2.0 version tab to configure it.

    If you have any further questions, please feel free to post here.

    Sincerely,

    Steven Cheng

    Microsoft MSDN Online Support Lead
     

  • 03-16-2008, 6:21 AM In reply to

    • pooneh
    • Not Ranked
    • Joined on 12-04-2006, 10:45 AM
    • Iran
    • Posts 2

    Re: How to install .net framework 3.5 onto the iis

    I have this problem too.

    Please visit: http://forums.iis.net/t/1148444.aspx

    Please help me for it.

    All references in my web.config are correct.

    *** Ali Reza ***
  • 04-21-2008, 3:32 PM In reply to

    • robarahz
    • Not Ranked
    • Joined on 04-21-2008, 7:31 PM
    • Posts 1

    Re: How to install .net framework 3.5 onto the iis

    tomkmvp:

    Install version 2.0 and then 3.5 ...

     

    Would you have to install 3.0 first, then 3.0 SP1, and THEN 3.5? Or can you just go straight to 3.5?

  • 04-21-2008, 4:10 PM In reply to

    Re: How to install .net framework 3.5 onto the iis

    Just jump to 3.5

  • 05-16-2008, 10:56 AM In reply to

    • tion
    • Not Ranked
    • Joined on 05-16-2008, 2:51 PM
    • Posts 1

    Re: How to install .net framework 3.5 onto the iis

    I have 3.5 installed on the server and I added the compilers section to my web.config as shown above, but i still get the error:

    The type 'System.Data.Objects.DataClasses.EntityObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

    it runs perfectly on my test machine, what else could i be missing?

    Thanks,

    Tion

  • 06-18-2008, 6:00 PM In reply to

    • sveer
    • Not Ranked
    • Joined on 06-18-2008, 9:59 PM
    • Posts 1

    Re: How to install .net framework 3.5 onto the iis

    Check your web.config files:

     

    You should add

    <add assembly="System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>

    @ assembly section.

  • 11-07-2009, 12:09 AM In reply to

    • amarc
    • Not Ranked
    • Joined on 11-07-2009, 5:00 AM
    • Posts 1

    Re: How to install .net framework 3.5 onto the iis

    Can i run 20., 3.0 an 3.5 in the same server? because most of the application done in 2.0 we are now moving to 3.5. so that i can use the same server.
  • 11-07-2009, 2:50 AM In reply to

    Re: How to install .net framework 3.5 onto the iis

    3.5 is "just an extension" of .net 2.0.  So yes, you can run both on the same server.  On a side note, this was one of the worst marketing things MS did with the framework.  1.0, 2.0 are major stand-alone frameworks.  3.0, 3.5 are extensions that require 2.0 to be installed.  Although there was new features, IMO it should have been 2.1 and 2.5.  Such as life.  <rant over>

    http://www.hanselman.com/blog/HowToSetAnIISApplicationOrAppPoolToUseASPNET35RatherThan20.aspx

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (13 items)
Microsoft Communities