I’m testing a custom SharePoint Designer 2010 activity this fine Sunday afternoon and I was unexpectedly hitting a “Critical Error” when trying to launch the workflow:
There has been an error while loading the form.
Click Start Over to load a new copy of the form. If this error persists, contact the support team for the Web Site.
Click Close to exit this message.
Show error details
Of course, if you click the “Show error details” button all it does is show you a correlation ID:
In my case, this turned out to be an Alternate Access Mappings problem. I looked at the log file in the 14 hive and saw that InfoPath was complaining about an AAM issue (since I was hitting localhost instead of the server name). I changed my URL and that solved it.
It does to show that with all the linkings of the various bits now in SP 2010, the thing you naturally this is a problem (SharePoint Designer workflow in my case) is actually totally unrelated to the core problem.
Follow me on Twitter at http://www.twitter.com/pagalvin