HomeLearnGeneral ASP.NET VideosHow Do I: Configure an ASP.NET Web Site for a .NET Framework Version  

[How Do I:] Configure an ASP.NET Web Site for a .NET Framework Version

Please install Silverlight or click download to watch video locally.

In this video Chris Pels will show how to configure an ASP.NET web site to use a specific version of ASP.NET/.NET Framework. First see how to identify what version of the .NET Framework a web site is associated with by viewing the script map in Internet Information Server (IIS). See how a script map is associated with the root in IIS and then with individual web sites. Next learn about the ASP.NET IIS Registration tool (aspnet_regiis.exe) used to configure IIS or an ASP.NET web site to use a specific version of the .NET Framework. Using this information see how a single web site is configured to use a different version of the .NET Framework than is the default to IIS. Finally, see two different web sites under the same IIS where one is running under .NET Framework 2.0 and the other under 1.1.

Presented by Chris Pels

Duration: 12 minutes, 48 seconds

Date: 20 May 2008

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 10

Leave a Comment

j.manohar : On June 16, 2008 8:26 AM said:

excellent

cv_vikram : On August 09, 2008 8:39 AM said:

tfs.....

marshmellow_man : On August 28, 2008 6:02 PM said:

The problem I have is the video look frozen when the aspnet_regiss command is being entered. You can hear him talk, but he does not say it very clearly.

meanop : On September 17, 2008 9:20 AM said:

when i run asp.net application version 2.0 on iis 7.0 it shown error like( i use window vista home premium):

------Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

------Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hello1\542e60a1\3cabbb96\App_Web_hello.aspx.cdcab7d2. gkq3gvba.dll' -- 'Access is denied. '

Source Error:

[No relevant source lines]

Source File:    Line: 0

c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:" C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3 .0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:" C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c56193 4e089\System.Data.dll" /R:" C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e0 89\System.dll" /R:" C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b 03f5f7f11d50a3a\System.Web.Services.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03 f5f7f11d50a3a\System.Web.Mobile.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0. 0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__ b77a5c561934e089\System.IdentityModel.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b 77a5c561934e089\System.ServiceModel.dll" /R:" C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d5 0a3a\System.Web.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__ b03f5f7f11d50a3a\System.Configuration.dll" /R:" C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0. 0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0. 0__31bf3856ad364e35\System.WorkflowServices.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c5619 34e089\System.Xml.dll" /R:" C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f 7f11d50a3a\System.Drawing.dll" /out:" C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hello1\542e60a1\3cabbb96\App_Web_hello.aspx.761f3935. luxq_eod.dll" /debug- /optimize+ /w:4 /nowarn:1659;1699;1701  " C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hello1\542e60a1\3cabbb96\App_Web_hello.aspx.761f3935. luxq_eod.0.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hello1\542e60a1\3cabbb96\App_Web_hello.aspx.761f3935. luxq_eod.1.cs"

Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.1434

for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727

Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\hello1\542e60a1\3cabbb96\App_Web_hello.aspx.761f3935. luxq_eod.dll' -- 'Access is denied. '

Please help me.......

what can i do to run asp.net application on iis 7.0?

djibril_chimere_DIAW : On November 30, 2008 7:50 AM said:

Thanks! Jërëjëf !

Dangermouse : On December 14, 2008 7:32 AM said:

When Chris is playing with the RegIIS you cannot see what he is doing. Can this video be remade please?

bohunt : On February 13, 2009 5:32 PM said:

thanks!

cleverwisdomforever : On April 09, 2009 1:26 AM said:

Great Video Chris Pels!!!

haithemara : On May 10, 2009 12:31 AM said:

Good video.

tovipul21 : On August 26, 2009 7:28 AM said:

very good and useful video Chris!!

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities