Try opening the published template (publish locally, then just open, not in design mode). Sometimes you can get a better error message that way. Are you using VSTA (comes with IP 2007) or Visual Studio? Does it happen with all forms, so if you close up everything and create a new template, does it happen?