MSDN SPDataQuery Class Example:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-2
I've created a solution in VS2012 and verified that the proper SafeControls are present in the Package Manifest. I even copied them into the web.config as well. The solution deploys and activates fine to the GAC. However whenever I insert it into a web part page, I keep getting the "A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe." error.
I have spent hours on Google, Technet, and StackExchange, etc., and feel I've tried everything - rarely have I found anyone post that they got it fixed. I've tried retracting & redeploying. I've verified versions on GAC and in WebConfig. I even rebuilt it to make sure I have not changed any names along the way.
I desperately need some help to get this working (or another way to pull all site collection documents into a grouped view) - my deadline is Wednesday! Any suggestions are appreciated!
Thanks!
Josh