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.
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:
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.
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.
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?
erdsah88
13 Posts
How to install .net framework 3.5 onto the iis
Jul 15, 2007 06:09 AM|LINK
tomkmvp
7657 Posts
MVP
Moderator
Re: How to install .net framework 3.5 onto the iis
Jul 16, 2007 01:15 PM|LINK
Install version 2.0 and then 3.5 ...
http://mvp.support.microsoft.com/
erdsah88
13 Posts
Re: How to install .net framework 3.5 onto the iis
Jul 16, 2007 03:00 PM|LINK
do they rewrite all the classes when they switch a framework or do they reuse it?
do they depend on each other?
tomkmvp
7657 Posts
MVP
Moderator
Re: How to install .net framework 3.5 onto the iis
Jul 16, 2007 03:04 PM|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.
http://mvp.support.microsoft.com/
orphicfireba...
2 Posts
Re: How to install .net framework 3.5 onto the iis
Sep 11, 2007 11:23 PM|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>ider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ">
vider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 "><providerOption
name="CompilerVersion"
value="v3.5"/>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/warnaserror-" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProv
<providerOption name="CompilerVersion" value="v3.5"/></compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" compilerOptions="/optioninfer+" type="Microsoft.VisualBasic.VBCodePro
</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.
vuit
1 Post
Re: How to install .net framework 3.5 onto the iis
Dec 10, 2007 03:48 AM|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
pooneh
2 Posts
Re: How to install .net framework 3.5 onto the iis
Mar 16, 2008 10:21 AM|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.
robarahz
1 Post
Re: How to install .net framework 3.5 onto the iis
Apr 21, 2008 07:32 PM|LINK
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?
orphicfireba...
2 Posts
Re: How to install .net framework 3.5 onto the iis
Apr 21, 2008 08:10 PM|LINK
Just jump to 3.5
tion
1 Post
Re: How to install .net framework 3.5 onto the iis
May 16, 2008 02:56 PM|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