A colleague got the following error when trying to add a new subfolder to the Documents folder in Team Explorer.
Although the error message doesn’t reveal a lot of information, solving this error is easy.
Probably the user doesn’t have the necessary rights to add a new Document Library in Sharepoint. So login on the Sharepoint site and check if the user has the "design" permission.