Just follow this blog and I found way to figure out the access denied erros in SharePoint 2007.
First, if the error url look like
That’s means you don’t have permission to access one list whose GUID is
. Then go to List Edit page and replace the GUID with this one so you will know which list give permission error.