Its an intranet site and I am using windows account with admin rights to access the site.
Below is the stack Trace:-
[AccessDeniedException: Access was denied to page 30]
EPiServer.PageBase.GetPage(PageReference pageLink) +296
EPiServer.PageBase.OnInit(EventArgs e) +406
EPiServer.TemplatePage.OnInit(EventArgs e) +94
System.Web.UI.Control.InitRecursive(Control namingContainer) +240
What do you mean with "admin rights to access the site"? Content access is not the same as access to the different user interfaces. You might have access to the editorial and administrative interfaces without having access to add content. I would to to the "set access rights" in the administrative interface and make sure that the page with id 30 contains access rights for your admin user (that is, your user is part of a group that has read and potentially change access if the content is not published).
Adding the admininstrator group and giving the access seems to work ..