Re: WSS createsite fails when a new List Definition is added; HRESULT = 0x81070215

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Mike,

I was just on your site looking for some help and presto, you see my post.
Thanks so very much. I will explain more and post CAML here.


1) I have a new site definition which I call RHSPUBLIC based on
STS....modified default.aspx, added some developed web parts, created new
WEBTEMPRHS.XML file with appropriate entries for the new site definitions,
etc. ...This new site definition works in its present state.

2) To do further site development I use this site definition as the top
level site and go through a process of deleting it and then recreating it
for debugging.

3) To delete I use: stsadm.exe -o deletesite -url
http://dev.ncrhs.org/ -deleteadaccounts true

4) I run an IISRESET after deleting the top level site.

5) To create it as a new top level site I use this: stsadm.exe -o
createsite -url http://dev.ncrhs.org/ -ownerlogin
Webdevwss\Administrator -owneremail gdorazio@xxxxxxxxxxxxxxx -ownername
"Gery D. Dorazio" -sitetemplate RHSPUBLIC

Notes: Webdevwss is the development machine where SharePoint is installed,
the dev.ncrhs.org is the domain defined for this web site and only exists on
the DNS server in this development environment. The development server is
setup running MSDE version of SQL. The eventual real site is preliminarily
on the internet at www.ncrhs.org.

6) Next step in development is to create a new List Definition. I copied the
\TEMPLATE\1033\RHSPUBLIC\LISTS\FAVORITE folder and renamed it GRANTS.


7) In the RHSPUBLIC ONET.XML file I added the 'grantops' ListTemplate entry
between the two shown:

<ListTemplate Name="announce" DisplayName="Announcements" Type="104"
BaseType="0" OnQuickLaunch="TRUE" SecurityBits="11" Description="Create an
announcements list when you want a place to share news, status, and other
short bits of information."
Image="/_layouts/images/itann.gif"></ListTemplate>

<ListTemplate Name="grantops" DisplayName="Grant Opportunities" Type="5001"
BaseType="0" OnQuickLaunch="TRUE" SecurityBits="11" Description="Create a
grant opportunities list when you want a place to share available sources of
funding for your projects."
Image="/_layouts/images/itann.gif"></ListTemplate>

<ListTemplate Name="contacts" DisplayName="Contacts" Type="105" BaseType="0"
OnQuickLaunch="TRUE" SecurityBits="11" Description="Create a contacts list
when you want to manage information about people that your team works with
such as customers or partners. You can share information between your
contacts list and Windows SharePoint Services-compatible contacts programs."
Image="/_layouts/images/itcontct.gif"> </ListTemplate>


8) Also in the same ONET.XML file the 'Grant Opportunities' configuration
entry is inserted after announcements:

<Configurations>
<Configuration ID="-1" Name="NewWeb"/>
<Configuration ID="0" Name="Default">
<Lists>
<List Title="Shared Documents" Url="Shared Documents"
QuickLaunchUrl="Shared Documents/Forms/AllItems.aspx"
Type="101" />

<List Title="Announcements" Type="104"
Url="Lists/Announcements" />

<List Title="Grant Opportunities" Type="5001"
Url="LISTS/GRANTS" />

<List Title="Links" Type="103" Url="Lists/Links" />

....


9) Next I modify the SCHEMA.XML file in the new list folder named GRANTS. To
keep things simple for diagnostic purposes the only change is to the top
level List element. The only changes are the Name, Title, and Url. Here is
the changed version:

<List xmlns:ows="Microsoft SharePoint" Name="Grants" Title="Grant
Opportunities" Direction="0" OrderedList="TRUE" Url="LISTS/GRANTS"
BaseType="0" DisableAttachments="TRUE" >

10) If I then run the create script above the error occurs (0x81070215). If
I remove the configuration entry in step seven the create script runs fine
and the new top level site is created.

Notes: I use the Administrator account on the development server to make
changes....eg. when I copied the new Lists folder. I checked the accounts
and permissions for the GRANTS folder and they are the same as the FAVORITE
folder. The CAML code in the SCHEMA.XML file was not touched after being
copied from the Links folder.


This is a real stickler for me at the moment Mike so any suggestions you
have I am all ears.

Thanks,
Gery


--
Gery D. Dorazio
Development Engineer

EnQue Corporation
1334 Queens Road
Charlotte, NC 28207
(704) 377-3327
"Mike Walsh" <englantilainen@xxxxxxxxxxx> wrote in message
news:%23tYznLnpFHA.2976@xxxxxxxxxxxxxxxxxxxxxxx
> 6411 is in fact the Service Pack + the security fix
>
> (see
> http://www.asaris-matrix.com/mvp-walsh/Lists/WSS%20FAQ/DispForm.aspx?ID=71)
>
> the service pack alone is 6361 (same reference)
>
> ------------
>
> Unfortunately 0x81070215 isn't just as easily throwing up any hits.
>
> Can you explain this a bit more
>
>> Added the list entry for the default configuration and properly set the
>> Url to the path of the new list and the type="5001".
>
> perhaps by showing the full line of code and the code on the lines above
> and below it ?
>
> Mike Walsh, Helsinki, Finland
> WSS FAQ at http://wss.collutions.com
> Please reply to the newsgroup
>
> "Gery D. Dorazio" <gdorazio@xxxxxxxxx> wrote in message
> news:%23$Q$O%23mpFHA.3940@xxxxxxxxxxxxxxxxxxxxxxx
>> The stsadm.exe is failing with an HRESULT = 0x81070215. Here is the
>> situation:
>>
>> A new site definition based on STS was created and is working fine.
>> Added a new ListTemplate called GRANTS based on Links. Set Type="5001"
>> attribute in the ListTemplate entry.
>> Added the list entry for the default configuration and properly set the
>> Url to the path of the new list and the type="5001".
>> Copied the LINKS list folder to GRANTS and the only changes to the
>> SCHEMA.XML file are the Name, Title, and Url attributes of the main List
>> element.
>>
>> I remove the top-level-site by running a script that does a deletesite:
>> stsadm.exe -o deletesite...
>> I then run another script that does a createsite. The createsite fails
>> with an HRESULT of 0x81070215 error. If I take out the new list entry in
>> the configuration for the default site the createsite works fine.
>>
>> My development server is running Windows Server 2003 SP1. The default web
>> site is showing version 6.0.2.6411 which I think is from the latest
>> service pack.
>>
>> Does anyone have any idea of what this problem is or how to fix it?
>>
>>
>> Thanks,
>> Gery
>>
>> --
>> Gery D. Dorazio
>> www.EnQue.com
>>
>>
>
>


.



Relevant Pages

  • Address Lists, Contacts, and Categories, Oh My
    ... entries and the contact entries. ... list entry is merely an email address and display name. ... contacts folder selecting out on the ... lists are not) ...
    (microsoft.public.outlook.program_vba)
  • Re: Multiple Hosted Exchange instances
    ... block the visibility of the ... address lists being displayed and have only their address shown if they are ... > folder of Company B. They will not be able to see the contents though. ... >> what configuration you have or want your AD in. ...
    (microsoft.public.exchange2000.admin)
  • ReW: How to see all GALs???
    ... Move the entry from the Global Address List to your Contacts folder. ... > -> All Global Address Lists ... Prev by Date: ...
    (microsoft.public.exchange.admin)
  • Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.
    ... modcfg - modify configuration ... Your utility I think loosely resembles Apple's Core Data Programming ... How to treat leading bare-words containing an assignment differently ... cc'ing multiple FreeBSD lists. ...
    (freebsd-hackers)
  • Exiscan+clamav
    ... Right now I am using Exim 4.43 and clamav-0.80_1 both installed from ports. ... all the runtime configuration options that can be included in a # ... # qualified "official" name of your host. ... # The next three settings create two lists of domains and one list of hosts. ...
    (freebsd-questions)