title: Problem creating SharePoint site using Web Service Admin.CreateSite() method
body: <p>I am having a problem creating a SharePoint site using the Admin SharePoint Web service. My basic environment is an instance of SharePoint 2007 running on one machine (server) and some VS 2008 code running on a second machine (client). Both machines are in the same domain. In VS 2008, I added a Web reference using the URL <a href="http://server:8586/_vti_adm/Admin.asmx?WSDL" rel="nofollow">http://server:8586/_vti_adm/Admin.asmx?WSDL</a>, and in my code I have:</p>
  
  <pre><code>service.Admin admin = new service.Admin();
  
  System.Net.NetworkCredential credentials =
    new System.Net.NetworkCredential("username", "password", "DOMAIN");
  
  admin.Credentials = credentials;
  
  admin.CreateSite("siteName", "Site Name", "This describes site", 1033, "STS#1",
    @"DOMAIN\username", "username", "myemail@address.com", "", "");
  </code></pre>
  
  <p>This compiles fine, but when I run it, I get an error of the form:</p>
  
  <blockquote>
    <p>Exception of type
    'Microsoft.SharePoint.SoapServer.SoapServerException'
    was thrown.</p>
  </blockquote>
  
  <p>I have tried various variations, but without success. Can anyone see anything obviously wrong? At this point what is most frustrating is not being able to find any logging on the SharePoint server to indicate the cause of the exception. Where should I look for SharePoint Web service logs? Note that I can invoke other SharePoint Web services such as Lists without any problem. The problem seems to be something specific with the Admin service.</p>
  
  <p>Thanks, in advance, for any help. Martin</p>