Hi,
See this thread for background on the problem and a potential workaround (It was caused by a change in behavior in ASP.NET after a security update).
With that many pages probably the best way to do it is to find the page in the site map, visit the page, then click page settings then delete it or edit it.
Hope that helps,
Joe