Sunday, March 17, 2013

Directory Listing Denied:This Virtual Directory does not allow contents to be listed

What you actually want to do is to set a Default Document for that directory (the aug20 directory)... Open up IIS Manager, and select your virtual directory. Open the "Documents" tab and add the name of your "default" page to the box

simple procedure
go to start ->  Run -> type inetmgr -> IIS MMC opens
Expand websites
right click on your default folder/virtual directory in which u had published your site
property->Documents->add->type Default.aspx (or whatever is your first page of web) and add ->OK->appy->close

enjoy browsing

Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy

i got this solved. go to run type regedit.exe
then go here HKLM\System\CurrentControlSet\Control\Lsa\limitblankpassworduse
change from 1 to 0