Farouk,
As Tim replied, running aspnet_regiis.exe will fix the problem. But the cause of the problem is because .NET has been installed before installing IIS.
~~Bonnie
>Hi all,
>
>I have just installed .Net and was trying to run couple of sln samples downloaded from websites and faced below problem. Even creating a new solutions will produce same error message..
>
>"Visual .Net has detected that the specified web server is not running asp.net version 1.1. you will be unable to run asp.net web applications or services."
>
>How should I resolve this?
>
>Regards,
>Farouk Yew