Condividi tramite


Getting File not found exception when you use the SelfServiceCreateSite API to create sites based on the custom web template

PROBLEM:

Getting File not found exception when you use the SelfServiceCreateSite API to create sites based on the custom web template.

RESOLUTION:

Copy the onet.xml file into the “..\bin\debug” folder of the application

ROOT CAUSE:

The custom web template looks the onet.xml file in the folder where the application is running.