Home > Archive > ASP .NET > March 2008 > Problem publishing an asp.net website
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
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
"Unrecognized 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.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3656AD344F35">
any suggestions?
| |
|
|
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.NOSPAM> wrote in message
news:%23HI3aXNkIHA.4164@TK2MSFTNGP02.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
> "Unrecognized 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.web.extensions"
> type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
> System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
> PublicKeyToken=31BF3656AD344F35">
>
> any suggestions?
>
| |
| Alex Meleta 2008-03-28, 7:28 pm |
| 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]
j> think 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.NOSPAM> wrote in message
j> news:%23HI3aXNkIHA.4164@TK2MSFTNGP02.phx.gbl...
j>[color=darkred]
|
|
|
|
|