Unable to configure IIS website to use ASP.NET 2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • japss
    New Member
    • Jul 2008
    • 3

    Unable to configure IIS website to use ASP.NET 2.0

    Hi

    We have been upgrading our intranet sites to .NET 2.0 from 1.1 one-by-one - it is win 2003, xeon E5335 2.0Ghz, IIS 6.0. The server only had .NET framework 1.1 and we recently installed .NET 2.0 and .NET 2.0 SP1 But for some reason, ASP.NET tab does not appear on the IIS (The server has WSS 2.0 installed). Setting Enable32bitAppO nWin64 to TRUE/FALSE on MetaBase.xml does not help.

    When I use aspnet_regiis, all sites get converted to use .NET 2.0 But I wanted to use only the selected site to use 2.0, the rest should continue to use 1.1 I have created separate app pool for 2.0 sites.

    v2.0...>aspnet_ regiis -s w3svc/1/root/virapp1 works perfect for virtual directories (localhost/virapp1), not for "websites". How do I set .NET 2.0 for "website"? Intranet sites are configured as "website" not virtual directory. aspnet_regiis -s aspnet_regiis -s w3svc/1/root/app1 says "Installati on stopped because the specified path (w3svc\1\root\a pp1) is invalid". And when I use aspnet_regiis -lk lists only the virtual directories not "websites". Does it mean that aspnet_regiis cannot be used to register websites?

    How do I solve this problem? - I do not have ASP.NET tab on IIS 6.0; aspnet_regiis does not work for "websites" on iis, works only for virtual directories. What other options to try?

    Thanks in advance!
  • jhaxo
    New Member
    • Dec 2007
    • 57

    #2
    From the IIS Snap in navigate to default web page and then down to the virtual directories. (control panel

    From here navigate into the virtual directory for your web site. Now you can configure web site specific. For example you can select the .net settings tab and select asp.net 2.0

    Comment

    • nmsreddi
      Contributor
      • Jul 2006
      • 366

      #3
      Hello

      As per my knowledge and experience i hope ,you can only select either framework1.1 or 2.0 both not both at the same time ,you IIS allows to select frame work of any one version only .

      Comment

      • jhaxo
        New Member
        • Dec 2007
        • 57

        #4
        Originally posted by nmsreddi
        Hello

        As per my knowledge and experience i hope ,you can only select either framework1.1 or 2.0 both not both at the same time ,you IIS allows to select frame work of any one version only .
        no you can select one framework for one site, and another for a different site.

        we are doing that right now. otherwise you could not practically host multiple pages.

        Comment

        • Daxthecon
          New Member
          • Jul 2008
          • 63

          #5
          Make sure your IIS says (IIS6) on it. If you upgraded IIS it unfortunatly doesn't like to use it as default... 5 is touchy with the "Asp.Net" tab. As for that tab you can go through the Server name and right clic -> properties. It always displays the 1.1 grayed out(no other frameworks) or a drop down to select 2.0 and so on. We just had to redo a developer machine and this is what happened to that IIS. I don't know if it's the same for you but thats about as I much about IIS.

          Comment

          Working...