I have just built an HMC 4.5 environment. Everything seems to be working the way that it should. But I am having a problem trying to use either Web GUI or Provtest to create a sharepoint site. The error I get through the GUI is below:
The element 'SetSiteQuota_Request' in namespace 'SetSiteQuota_Request.xsd' has invalid child element 'site' in namespace 'SetSiteQuota_Request.xsd'. List of possible elements expected: 'maxDBSize, warningLevel, siteGUID' in namespace 'SetSiteQuota_Request.xsd'.
***Xml input provided to this method:***
HTTP://Collab01:8080http://teamalpine.domain.com1000000020000000
The error I get using provtest is similar. They both point to a problem in the namespace with SetSiteQuota.
I have tried rebooting all of the necessary servers and I am now out of ideas. Has anyone else experienced this or have a clue as to what could be causing it?
Thanks for the reply kiphup. I appreciate any help you can give me. The below information reflects what I have in my provtest XML file. I looked it over pretty thoroughly, but could have missed something. I have no idea how to give you the XML file used
by the GUI. If you would like to look at that, you may have to give me some instruction on how to get to it.
I tried the suggested changes and received the same error. I used /sites because that seemed to be what the GUI was using. Any other thoughts? I have pasted the actual error message I am getting from the provtest command below just in case it may be of some
help.
<response>
<errorContext description="The element 'SetSiteQuota_Request' in namespace 'Se
tSiteQuota_Request.xsd' has invalid child element 'site' in namespace 'SetSiteQu
ota_Request.xsd'. List of possible elements expected: 'maxDBSize, warningLevel,
siteGUID' in namespace 'SetSiteQuota_Request.xsd'. ***Xml input provided to t
his method:*** <executeXml><context><securityContext trustee=&
quot;Domain\Administrator" impersonate="1" /><transactionCont
ext transactionId="{5EB2093B-9710-48A6-9531-A1CCB4AB5E71}" /><ex
ecuteContext procedure="SetSiteQuota" procedureExecId="174"
providerSource="Microsoft.Provisioning.Providers.SharePointProvider.Provide
r" namespace="SharePoint2007Provider" type="write" />
;</context><executeData><target>http://collab01:8080</targe
t><site>http://teamalpine.domainname.com</site><warningLevel&
gt;10000000</warningLevel><maxDBSize>20000000</maxDBSize></
executeData></executeXml>"
code="0x80131941"
executeSeqNo="174">
This is strange. I guess you have to do a profiler trace to find out what's going on. Somehow, it seems that when it call the SetSiteQuota, it is sending 'site' (<site>http://teamalpine.highspeedit.com</site>) instead of the following, 'maxDBSize,
warningLevel,siteGUID'
I am not familiar with the profiler trace. What do I need to do to run this tool?
Assuming the profiler trace confirms your suspicions, where would I go to fix the problem? Wouldn't there be an XML file somewhere that would be causing this?
I was thinking about uninstalling the sharepoint provisioning on the MPS and then re-installing it. I followed the instructions in the HMC 4.5 and there didn't seem to be any problems during this process, but I am thinking that this may be where the problem
started. I have also noticed that the instructions for HMC 4.5 don't seem to be any different in the HMC 4.0 installation and I have had no problems with the hosted sharepoint from that version.
Ok, in that case, one thing you can probably check is to go to provisioning manager, check the procedure from ManagedSharePoint2007::CreateSite_, the procedure before calling the SetSiteQuota, at the XML tab, scroll to the end, you should have something
like this,
After thoroughly going through the SharePoint2007Provider_ns.xml and the ManagedSharePoint2007_ns.xml files I was unable to find anything that may cause the error I am getting. I even went so far as to compare the files to the ones found in HMC 4.0. They
were identical. Because I had no luck finding anything within the above files, I also uninstalled and then re-installed the SharePoint Provisioning on the MPS. None of these steps have fixed the problem but they have certainly helped me to gain a better understanding
of how the provisioning works.
Everything in the error code points to SetSiteQuota_Request.xsd and I cannot for the life of me find this .xsd file. Do you know where this file (or entity) may reside so that I can take a look at it?
I am not sure where to go from here, so any help is still greatly appreciated. I have also posted the CreateSite_ info from the ManagedSharePoint2007_ns.xml file so we can both be on the same page.
<procedure name="CreateSite_" type="write" access="private" description="Create a SharePoint site collection.">
<!--
.............................................................................
Procedure: CreateCustomerSite
Description: Create a SharePoint site for a specified customer.
XSD is being used when they compile the binary. You won't find it.
Yours is definitely different compared to what I have, this is in my ManagedSharePoint2007_ns.xml, btw, changing the XML won't help much at this point. If you want, you will have to change the namespace itself but the fact that this is different, See, I
do not have 'site' and hhURL, which are not part of the accepted elements.
I think you should investigate at the installation source that you used, something ain't right here, make sure it is 4.5.228 as in the following download link. Check your msi files, make sure the date modified is something like 6/10/2008.
maptol
Member
17 Points
10 Posts
HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 11, 2008 06:52 PM|LINK
I have just built an HMC 4.5 environment. Everything seems to be working the way that it should. But I am having a problem trying to use either Web GUI or Provtest to create a sharepoint site. The error I get through the GUI is below:
The element 'SetSiteQuota_Request' in namespace 'SetSiteQuota_Request.xsd' has invalid child element 'site' in namespace 'SetSiteQuota_Request.xsd'. List of possible elements expected: 'maxDBSize, warningLevel, siteGUID' in namespace 'SetSiteQuota_Request.xsd'. ***Xml input provided to this method:*** HTTP://Collab01:8080http://teamalpine.domain.com1000000020000000
The error I get using provtest is similar. They both point to a problem in the namespace with SetSiteQuota.
I have tried rebooting all of the necessary servers and I am now out of ideas. Has anyone else experienced this or have a clue as to what could be causing it?
Thanks for any help I can get,
Mark
kiphup
Member
328 Points
129 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 17, 2008 10:17 PM|LINK
I will look at your xml file because I think something isn't right being passed in.
maptol
Member
17 Points
10 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 18, 2008 01:22 AM|LINK
Thanks for the reply kiphup. I appreciate any help you can give me. The below information reflects what I have in my provtest XML file. I looked it over pretty thoroughly, but could have missed something. I have no idea how to give you the XML file used by the GUI. If you would like to look at that, you may have to give me some instruction on how to get to it.
<request>
<procedure>
<execute namespace="HostedSharePoint2007" procedure="CreateCustomerSite" impersonate="1">
<executeData>
<org>LDAP://ou=alpineskihouse,ou=consolidatedmessenger,ou=hosting,dc=domain,dc=com</org>
<preferredDomainController>ad01.domain.com</preferredDomainController>
<target>http://collab01:8080</target>
<site>http://collab01/sites</site>
<title>Alpine Team Site</title>
<siteName>alpineskihouse</siteName>
<owner>
<userPrincipalName>johnc@alpineskihouse.com</userPrincipalName>
<email>johnc@alpineskihouse.com</email>
<name>John Chen</name>
</owner>
<description>Portal site for Alpine Skihouse</description>
<lcid>1033</lcid>
<webTemplate>sts#0</webTemplate>
<quota>
<warningLevel>10000000</warningLevel>
<maxDBSize>20000000</maxDBSize>
</quota>
<hhUrl>http://teamalpine.externaldomain.com</hhUrl>
</executeData>
<after source="executeData" destination="data" mode="insert" />
</execute>
</procedure>
</request>
kiphup
Member
328 Points
129 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 18, 2008 01:42 AM|LINK
Is your web app http://collab01/sites? Or is it just http://collab01/? If it is latter, then try putting http://collab01:80 instead.
maptol
Member
17 Points
10 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 18, 2008 11:15 AM|LINK
I tried the suggested changes and received the same error. I used /sites because that seemed to be what the GUI was using. Any other thoughts? I have pasted the actual error message I am getting from the provtest command below just in case it may be of some help.
<response>
<errorContext description="The element 'SetSiteQuota_Request' in namespace 'Se
tSiteQuota_Request.xsd' has invalid child element 'site' in namespace 'SetSiteQu
ota_Request.xsd'. List of possible elements expected: 'maxDBSize, warningLevel,
siteGUID' in namespace 'SetSiteQuota_Request.xsd'. ***Xml input provided to t
his method:*** <executeXml><context><securityContext trustee=&
quot;Domain\Administrator" impersonate="1" /><transactionCont
ext transactionId="{5EB2093B-9710-48A6-9531-A1CCB4AB5E71}" /><ex
ecuteContext procedure="SetSiteQuota" procedureExecId="174"
providerSource="Microsoft.Provisioning.Providers.SharePointProvider.Provide
r" namespace="SharePoint2007Provider" type="write" />
;</context><executeData><target>http://collab01:8080</targe
t><site>http://teamalpine.domainname.com</site><warningLevel&
gt;10000000</warningLevel><maxDBSize>20000000</maxDBSize></
executeData></executeXml>"
code="0x80131941"
executeSeqNo="174">
<errorSource namespace="SharePoint2007Provider"
procedure="SetSiteQuota"/>
<errorSource namespace="ManagedSharepoint2007"
procedure="CreateSite_"/>
<errorSource namespace="ManagedSharePoint2007"
procedure="CreateCustomerSite"/>
<errorSource namespace="HostedSharePoint2007"
procedure="CreateCustomerSite"/>
</errorContext>
</response>
kiphup
Member
328 Points
129 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 30, 2008 03:56 AM|LINK
This is strange. I guess you have to do a profiler trace to find out what's going on. Somehow, it seems that when it call the SetSiteQuota, it is sending 'site' (<site>http://teamalpine.highspeedit.com</site>) instead of the following, 'maxDBSize, warningLevel,siteGUID'
maptol
Member
17 Points
10 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 30, 2008 11:31 AM|LINK
Thanks kiphup for checking back,
I am not familiar with the profiler trace. What do I need to do to run this tool?
Assuming the profiler trace confirms your suspicions, where would I go to fix the problem? Wouldn't there be an XML file somewhere that would be causing this?
I was thinking about uninstalling the sharepoint provisioning on the MPS and then re-installing it. I followed the instructions in the HMC 4.5 and there didn't seem to be any problems during this process, but I am thinking that this may be where the problem started. I have also noticed that the instructions for HMC 4.5 don't seem to be any different in the HMC 4.0 installation and I have had no problems with the hosted sharepoint from that version.
What are your thoughts on this move?
kiphup
Member
328 Points
129 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 30, 2008 02:29 PM|LINK
Ok, in that case, one thing you can probably check is to go to provisioning manager, check the procedure from ManagedSharePoint2007::CreateSite_, the procedure before calling the SetSiteQuota, at the XML tab, scroll to the end, you should have something like this,
<execute namespace="SharePoint2007Provider" procedure="SetSiteQuota" impersonate="1">
<!--target-->
<before source="data" sourcePath="target" destination="executeData"/>
<!--siteGUID-->
<before source="data" sourcePath="siteGUID" destination="executeData"/>
<!--warningLevel-->
<before source="data" sourcePath="quota/warningLevel" destination="executeData" mode="insert"/>
<before source="data" sourcePath="quota/maxDBSize" destination="executeData" mode="insert"/>
</execute>
If not, then something is wrong and re-installing the sharepoint providers will probably be a good idea.
maptol
Member
17 Points
10 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 30, 2008 08:46 PM|LINK
kiphup,
After thoroughly going through the SharePoint2007Provider_ns.xml and the ManagedSharePoint2007_ns.xml files I was unable to find anything that may cause the error I am getting. I even went so far as to compare the files to the ones found in HMC 4.0. They were identical. Because I had no luck finding anything within the above files, I also uninstalled and then re-installed the SharePoint Provisioning on the MPS. None of these steps have fixed the problem but they have certainly helped me to gain a better understanding of how the provisioning works.
Everything in the error code points to SetSiteQuota_Request.xsd and I cannot for the life of me find this .xsd file. Do you know where this file (or entity) may reside so that I can take a look at it?
I am not sure where to go from here, so any help is still greatly appreciated. I have also posted the CreateSite_ info from the ManagedSharePoint2007_ns.xml file so we can both be on the same page.
<procedure name="CreateSite_" type="write" access="private" description="Create a SharePoint site collection.">
<!--
.............................................................................
Procedure: CreateCustomerSite
Description: Create a SharePoint site for a specified customer.
.............................................................................
-->
<procedureData/>
<!--
***************************************************************************
CREATE SHAREPOINT SITE
***************************************************************************
-->
<execute namespace="SharePoint2007Provider" procedure="CreateSite" impersonate="1">
<!--target-->
<before source="data" sourcePath="target" destination="executeData" />
<!--site-->
<before source="data" sourcePath="site" destination="executeData" />
<!--title-->
<before source="data" sourcePath="title" destination="executeData" />
<!--ownerLogin-->
<before source="data" sourcePath="ownerLogin" destination="executeData" />
<!--ownerName-->
<before source="data" sourcePath="ownerName" destination="executeData" />
<!--ownerEmail-->
<before source="data" sourcePath="ownerEmail" destination="executeData" />
<!--description-->
<before source="data" sourcePath="description" destination="executeData" />
<!--LCID-->
<before source="data" sourcePath="lcid" destination="executeData" />
<!--webTamplate-->
<before source="data" sourcePath="webTemplate" destination="executeData" />
<!-- host header-->
<before source="data" sourcePath="hhUrl" destination="executeData" ifNull="ignore" />
</execute>
<!-- set the SiteQuota if specified -->
<execute namespace="SharePoint2007Provider" procedure="SetSiteQuota" impersonate="1">
<!--target-->
<before source="data" sourcePath="target" destination="executeData" />
<!--site-->
<before source="data" sourcePath="site" destination="executeData" />
<!-- use the hhUrl value if specified -->
<before source="data" sourcePath="hhUrl" destination="procedureData" destinationPath="site" mode="merge" ifNull="ignore" />
<before source="procedureData" sourcePath="site" destination="executeData" destinationPath="site" mode="replace" ifNull="ignore" />
<!--warningLevel-->
<before source="data" sourcePath="quota/warningLevel" destination="executeData" mode="insert"/>
<before source="data" sourcePath="quota/maxDBSize" destination="executeData" mode="insert" />
</execute>
</procedure>
Mark
kiphup
Member
328 Points
129 Posts
Re: HMC 4.5 - Sharepoint Site Creation Problem - SetQuota
Dec 30, 2008 09:58 PM|LINK
Hi Mark,
XSD is being used when they compile the binary. You won't find it.
Yours is definitely different compared to what I have, this is in my ManagedSharePoint2007_ns.xml, btw, changing the XML won't help much at this point. If you want, you will have to change the namespace itself but the fact that this is different, See, I do not have 'site' and hhURL, which are not part of the accepted elements.
I think you should investigate at the installation source that you used, something ain't right here, make sure it is 4.5.228 as in the following download link. Check your msi files, make sure the date modified is something like 6/10/2008.
http://www.microsoft.com/downloads/details.aspx?FamilyId=C9CBBC69-4AE4-450D-AF5E-F49E7C701CF4&displaylang=en
<procedure name="CreateSite_" type="write" access="private" description="Create a SharePoint site collection.">
<!--
.............................................................................
Procedure: CreateCustomerSite
Description: Create a SharePoint site for a specified customer.
.............................................................................
-->
<procedureData/>
<!--
***************************************************************************
CREATE SHAREPOINT SITE
***************************************************************************
-->
<execute namespace="SharePoint2007Provider" procedure="CreateSite" impersonate="1">
<!--target-->
<before source="data" sourcePath="target" destination="executeData" />
<!--site-->
<before source="data" sourcePath="site" destination="executeData" />
<!--title-->
<before source="data" sourcePath="title" destination="executeData" />
<!--ownerLogin-->
<before source="data" sourcePath="ownerLogin" destination="executeData" />
<!--ownerName-->
<before source="data" sourcePath="ownerName" destination="executeData" />
<!--ownerEmail-->
<before source="data" sourcePath="ownerEmail" destination="executeData" />
<!--description-->
<before source="data" sourcePath="description" destination="executeData" />
<!--LCID-->
<before source="data" sourcePath="lcid" destination="executeData" />
<!--webTamplate-->
<before source="data" sourcePath="webTemplate" destination="executeData" />
<!-- org -->
<before source="data" sourcePath="org" destination="executeData" ifNull="ignore"/>
<!-- host header-->
<before source="data" sourcePath="hhUrl" destination="executeData" ifNull="ignore" />
<!-- siteGUID-->
<after source="executeData" sourcePath="siteGUID" destination="data" ifNull="ignore" />
<!-- subSiteGUID-->
<after source="executeData" sourcePath="subSiteGUID" destination="data" ifNull="ignore" />
</execute>
<!-- set the SiteQuota if specified -->
<execute namespace="SharePoint2007Provider" procedure="SetSiteQuota" impersonate="1">
<!--target-->
<before source="data" sourcePath="target" destination="executeData" />
<!--siteGUID-->
<before source="data" sourcePath="siteGUID" destination="executeData" />
<!--warningLevel-->
<before source="data" sourcePath="quota/warningLevel" destination="executeData" mode="insert"/>
<before source="data" sourcePath="quota/maxDBSize" destination="executeData" mode="insert" />
</execute>
</procedure>