Showing posts with label IIS. Show all posts
Showing posts with label IIS. Show all posts

August 27, 2010

IIS Logon failure: user account restriction

While browsing WebApp from IIS you can come across the below error
Error : iis Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.

Solution :
1.) Go to run type regedit.exe
2.) Go to  HKLM\System\CurrentControlSet\Control\Lsa\limitblankpassworduse
3.) change this value  from 1 to 0

Try to browse again You can come across the below error 
Error : ServerName/ASPNET User Can not access database
Solution 
1.) Go to Directory Security tab of IIS and click on Edit
 2.)Change the user name which is allowed to access the databse and check the IntegratedWindowsAuthentication mode.(If browsing in local Environment)

Failed to access IIS Metabase

The problem comes around due to the order that components were installed on the machine, namely that The .NET Framework was installed before IIS. As a result, ASP.NET is not correctly configured to run. The easiest way to rectify this is to re-install ASP.NET with IIS.
To do this Go to directory

C:\WINDOWS\microsoft.net\framework\v2.0.50727

and run the following command in command prompt

aspnet_regiis –i