
- Open Control Panel
- Open Services
- Find IIS Admin Service and right click Properties
- Go to Log On Tab
- Check "Allow service to interact with desktop"
- Click OK
- Restart the service(right click, restart)
The solution I found from Microsoft Support here.


string username = ((TextBox)PreviousPage.FindControl("tbxUsername")).Text;
public string UserName
{
get{return tbxUsername.Text;}
}
<%@ PreviousPageType VirtualPath="~/pageName.aspx" %>
function YourFunctionName(source, arguments)