Problem publishing an asp.net website

J

Jeff

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?
 
J

Jeff

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...
 
A

Alex Meleta

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> j>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top