with reference to :
http://www.aspforums.net/Threads/889427/how-to-upload-website-on-IIS8-in-windows-8-for-localhost/
After adding website as an application on IIS8 in windows 8 , it is not connecting to database , it refreshes my page at login screen