I'm new to this asp.net while i'm creating a new website i got error like this i don't know what to do..
my error is...
" Configuring web site 'http://localhost/mysite to ASP.NET 2.0 failed. You need to manually
configure this for ASP.NET 2.0 in for your site to run correctly"

i used this command
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

and it worked for me

hello!!!
the error occurs because of the absence of the virtual directory of the website.
when u develop a website it automatically genrate its directory in ISS , when u carry a website from another system in removable memory device, it creates the same problem as u have mentioned.
to overcome the problem u have to create a virtual directry in The IIS for which follow the path..

START>>Control Panel>>Administrative Tools>>IIS>>New Virtual Directory(right click on Web Root) .
it will work for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.