This an error I got while developing reusable Sharepoint Designer workflows for Sharepoint 2010. What I was trying to do was to create a new reusable SPD workflow and publish it globally to the Site Collection, then I would try to export it as a WSP template and import it on different sites. I had already succesfully exported other workflows with no issues however with this one I run into a new error. When clicking the "Save as template" button, Sharepoint Designer would return the error "the server was unable to create your template".
Unfortunately Sharepoint Designer don't provide a more detailed error description so we have to refer to the Sharepoint Logs to see what's going on, and there I found the following error:
It turns out this time the log provided some really useful information about the error. If we pay attention we'll notice it's actually complaining about the size of the url of the WSP template that he is trying to save in the Solutions gallery of the Site Collection. The fix in this case was easy: I renamed the workflow with a shorter name to make sure it was below the 260 character limit! So always remember to take the url limitation into account when working with Sharepoint Designer :-)
Created on 11/05/2011