Re: Error on IIS
Thats is valid in 2.0 .NET so it makes me wonder whether you have IIS configured for 1.1 .NET instead of 2.0.
If you go into the properties of the site or application in IIS, as long as you have installed 2.0 .NET, there is an ASP.NET tab, make sure it is set to use 2.0 .NET and not 1.1 .NET
Hope it helps,
Joe