Problem publishing an asp.net website

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff

    Problem publishing an asp.net website

    hey

    ..net 3.5

    I've published my website to another machine I have here, win2k3 machine.
    When I try to navigate to the website in IE I get an error saying
    "Unrecogniz ed attribute 'type'" and shows part of the website's web.config
    file. With the settings below in red color...

    The settings below was generated automatically on my developing machine,
    when I created my project

    <sectionGroup name="system.we b.extensions"
    type="System.We b.Configuration .SystemWebExten sionsSectionGro up,
    System.Web.Exte nsions, Version=3.5.0.0 , Culture=neutral ,
    PublicKeyToken= 31BF3656AD344F3 5">

    any suggestions?


  • Jeff

    #2
    Re: Problem publishing an asp.net website


    think the error occur because IIS tryes to execute the website as .net
    1.1... I must specify that it is .net 3.5... Not sure how...

    "Jeff" <it_consultant1 @hotmail.com.NO SPAMwrote in message
    news:%23HI3aXNk IHA.4164@TK2MSF TNGP02.phx.gbl. ..
    hey
    >
    .net 3.5
    >
    I've published my website to another machine I have here, win2k3 machine.
    When I try to navigate to the website in IE I get an error saying
    "Unrecogniz ed attribute 'type'" and shows part of the website's web.config
    file. With the settings below in red color...
    >
    The settings below was generated automatically on my developing machine,
    when I created my project
    >
    <sectionGroup name="system.we b.extensions"
    type="System.We b.Configuration .SystemWebExten sionsSectionGro up,
    System.Web.Exte nsions, Version=3.5.0.0 , Culture=neutral ,
    PublicKeyToken= 31BF3656AD344F3 5">
    >
    any suggestions?
    >

    Comment

    • Alex Meleta

      #3
      Re: Problem publishing an asp.net website

      Hi jeff,

      You should install .net 3.5 on the host, install asp.net 2.0 (the core of
      3.5) into IIS and switch (if it's not switched for some reason, e.g. other
      site). So, if the first step done then just perform this http://support.microsoft.com/kb/894435
      and it should help in common way.

      Regards,
      Alex Meleta
      [Tech Blog: http://devkids.blogspot.com]

      jthink the error occur because IIS tryes to execute the website as
      j.net 1.1... I must specify that it is .net 3.5... Not sure how...
      j>
      j"Jeff" <it_consultant1 @hotmail.com.NO SPAMwrote in message
      jnews:%23HI3aXN kIHA.4164@TK2MS FTNGP02.phx.gbl ...
      j>
      >hey
      >>
      >.net 3.5
      >>
      >I've published my website to another machine I have here, win2k3
      >machine. When I try to navigate to the website in IE I get an error
      >saying "Unrecogniz ed attribute 'type'" and shows part of the
      >website's web.config file. With the settings below in red color...
      >>
      >The settings below was generated automatically on my developing
      >machine, when I created my project
      >>
      ><sectionGrou p name="system.we b.extensions"
      >type="System.W eb.Configuratio n.SystemWebExte nsionsSectionGr oup,
      >System.Web.Ext ensions, Version=3.5.0.0 , Culture=neutral ,
      >PublicKeyToken =31BF3656AD344F 35">
      >>
      >any suggestions?
      >>

      Comment

      Working...