How to install .net framework 3.5 onto the iis [Answered]RSS

13 replies

Last post Dec 14, 2010 04:26 PM by csjthomas

  • How to install .net framework 3.5 onto the iis

    Jul 15, 2007 02:09 AM|erdsah88|LINK

    I have a iis 6.0 but I wanna use 3.5 in one of my applications....how is it posssible?
  • Re: How to install .net framework 3.5 onto the iis

    Jul 16, 2007 09:15 AM|tomkmvp|LINK

    Install version 2.0 and then 3.5 ...

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

    Jul 16, 2007 11:00 AM|erdsah88|LINK

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

    do they depend on each other?

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

    Jul 16, 2007 11:04 AM|tomkmvp|LINK

    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.

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

    Sep 11, 2007 07:23 PM|orphicfireball|LINK

    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.

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

    Dec 09, 2007 11:48 PM|vuit|LINK

    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
     

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

    Mar 16, 2008 06:21 AM|pooneh|LINK

    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 ***
  • Re: How to install .net framework 3.5 onto the iis

    Apr 21, 2008 03:32 PM|robarahz|LINK

    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?

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

    Apr 21, 2008 04:10 PM|orphicfireball|LINK

    Just jump to 3.5

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

    May 16, 2008 10:56 AM|tion|LINK

    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

    asp.net IIS 6 aps.net deployment iis6 asp3.5 .net 3.5 iis 6.0 Entity Framework LINQ

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

    Jun 18, 2008 06:00 PM|sveer|LINK

    Check your web.config files:

     

    You should add

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

    @ assembly section.

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

    Nov 07, 2009 12:09 AM|amarc|LINK

    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.
  • Re: How to install .net framework 3.5 onto the iis

    Nov 07, 2009 02:50 AM|steve schofield|LINK

    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://iislogs.com/steveschofield
    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget

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

    Dec 14, 2010 04:26 PM|csjthomas|LINK

     Thank you for sharing your knowledge Mr. Cheng. Cheers!

    "Work like you don't need the money. Love like you've never been hurt. Dance like nobody is watching." .Mark Twain