Hai rahulDer,
Pls try my solution and reply me it work or not.i am just modified ur code ,use this and reply,
string role = Session["Role"].ToString();
if (role == "Super Admin" || role == "Admin")
{
Response.Redirect("AdminDashboard.aspx",false);
}
else
{
Response.Redirect("ClientDashBoard.aspx",false);
}
add "false" in response.redirect function.And can u tell me in what reason it goes to catch part,why u write Error.aspx page ? How it go exception part in ur code ? if role have values it redirect to AdminDashboard page and if not vlaue in role it automatically go to ClientDashboard page.Then y u add error page in exception.
Now it come to exeception i know and i am also try in my place,u r correct it goes to exception bcz some reasoan.
Note: if u got working code or any clear u need to click "Accept Solution" or post ur working code in "I've solved this myself!" dont forget,not only u benefit other people also have same problem can get solution quickly.
Regards
Aravind
Happy Codings.....