Few days back, I formatted my system due to some virus.. Then again installed OS and VS2008 for my learning.I am in habit of using integrated webserver with Visual studio.
But later,I thought of deploying one WCF service. So when I deployed my service and tried to access, It started barfing me.This was running smoothly prior to formatting my system.
I kept trying to resolve this issue but it took a lot of time.Finally it started running as earlier.
Root Cause: Acually after installation of my OS Windows XP, I installed .net framework and Visual studio.Then when I needed IIS, I installed it.
Cause was, ASPNET user does not had sufficient rights over IIS
Solution:Install aspnet using command aspnet_regiis -i as
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
then reset iis using iisreset command in command propmpt..
it should work now..
Happy .neting