Dans : news:%235HVA81fIHA.2004@TK2MSFTNGP05.phx.gbl,
Mufaka disait :
>> Hello,
>>
>> I get this strange error in the code of a very simple aspx page just
>> called to download a file.
>> Do you have any idea about it ?
>> (The same code works fine on another server)
> This overload appears to have been added in version 3.5. So it is not
> available in 2.0.
Yes !
Thanks a lot Mufaka.
I didn't think about this at all but yes, I recently installed the 3.5
version on my development computer and on the server to try VS 2008.
Unfortunatly, seems Intellisense proposed the 3.5 overload when I was
using VS 2005 :-(
Thanks again for this fast answer, I will be very careful now.

Signature
Fred
David Wier - 06 Mar 2008 15:01 GMT
If you want, though, to use any 3.5 features, just change the target version
to 3.5 in your project.
David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
> Dans : news:%235HVA81fIHA.2004@TK2MSFTNGP05.phx.gbl,
> Mufaka disait :
[quoted text clipped - 15 lines]
> using VS 2005 :-(
> Thanks again for this fast answer, I will be very careful now.