I'm having a problem creating a new web via a workflow custom action. In my library, I have this code:
subSite = projectSite.Webs.Add(projectID, projectID + " " + projectName, projectID, 1033, template, false, false);
The project ID is a string with only numbers and a dash. The Project Name doesn't contain any weird characters (I can run the c# code successfully with those values from visual studio in a console application no problem).
When the workflow runs, it errors and tells me: The URL '/projects/09-0006.04 ' is invalid. It may contain illegal characters, or be too long.
I did recently break "projects" into its own site collection, but I'm not entirely sure how that would effect the code.
View Complete Post