I have write code in Feature Receiver to Create SubSite but while Feature is activating it returns the error
http://pc31:2000 contains illegal character ':'.
This is My Code where I got Error. can anyone help me?
SPWeb newWeb = site.AllWebs.Add(web1.Url, "Custom Site", "Site description", 1033, "Publishing Site", true, false);