asp.net 3.5 and ajax on widows 2003

D

David4021

I have an app working fine on vista ultimate(iis7 , .net 3.5 , ajax)

After installing .net 3.5 on my windows 2003 server (currently at 2.0) the
app breaks :

Parser Error Message: Unknown server tag 'asp:ScriptManager'.
asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager



Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
ASP.NET Version:2.0.50727.1433

which sort of says that 3.5 is not infact being used since it includes the
new ajax framework?

per other posts apparently (and bizzarely in my opinion) in IIS6 the asp.net
3.5 isnt supposed so be available in the dropdown, just 2.0 even after an
upgrade (go figure on that one) which is the case?
 
B

bruce barker

in iis 6.0 you need to config the asp net application to be 3.5. the
message means you are running 2.0

-- bruce (sqlwork.com)
 
D

David4021

Thank you, yes, however in IIS on the asp.net tab only 2.0x is available,
despite the fact I installed 3.5?
 
D

David4021

Thank you,

Yes, that would make sense but in IIS on the asp.net tab only 2.0x is shown,
not 3.5 so I cant configure it?
 
J

Juan T. Llibre

re:
!> in IIS on the asp.net tab only 2.0x is shown

That's because the .Net Framework 3.5 targets the 2.0 CLR.
It will work fine with the 2.0 CLR.

re:
!> not 3.5 so I cant configure it?

Yes, you can configure your web project to use 3.5 in the VS 2008 IDE.

Right-click the project name in the Solution Explorer, select "Property Pages",
select "build" in the left panel, and select the 3.5 .Net Framework as the "Target Framework".




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
M

Mark Rae [MVP]

Yes, you can configure your web project to use 3.5 in the VS 2008 IDE.

Right-click the project name in the Solution Explorer, select "Property
Pages",
select "build" in the left panel, and select the 3.5 .Net Framework as the
"Target Framework".

Or the "Application" tab if you're using the project model rather than the
site model...
 
J

Juan T. Llibre

re:
!> per other posts apparently (and bizzarely in my opinion) in IIS6 the asp.net
!> 3.5 isnt supposed so be available in the dropdown, just 2.0 even after an
!> upgrade (go figure on that one) which is the case?

To put you a bit more at ease, yes, that is the case and, yes, I also think it's bizarre.

I argued until I was blue in the face with part of the .Net Development Team,
trying to get them to synchronize the .Net Framework version with the ASP.NET version.

They thought it wouldn't cause confusion, but evidently it does.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 

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

Top