We have a problem on one of our document libraries where if you click on the doument library title on the webpart page or click on its name via 'View all site content', we get "an unexpected error has occured" message. I can connect to the library using SPD and get to the Admin page from here, but I'm not really clear why this is happening all of a sudden. Looking in ULS viewer I can see the error:
System.ArgumentException: Invalid field name. {de9012a8-06c7-4c63-b823-92067bc43feb} /finance/procurementprocess/Finance only
So I wrote some powershell to enumerate and write out all the GUIDs for the field names in this library, and this is not one of them! In fact, I can't see this GUID as being a site column on any site.
Does anyone know how I could recover this library so users can use it again? It has around 1500 items in it with meta data specific to this library so I would prefer to repair it than rebuild it. I was thinking maybe back it up using powershell then restore it somewhere else in the hierarchy and see if that fixes it (long shot!)