I tried using 115 is custom list...I tried using 10001 and this didn't make any difference to the error.
On 2/27/08, STRINGFELLOW Mike (Con) <[EMAIL PROTECTED]> wrote: > > What's a type 115? If it's your own new list template type, I think they > recommend you use a unique number greater than 10000. > > > > http://www.sharepointblogs.com/mossms > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf > Of *Jeremy Thake > *Sent:* Wednesday, 27 February 2008 1:42 PM > *To:* listserver@ozmoss.com > *Subject:* [OzMOSS] Create a SharePoint List from a Solution deployed > ListTemplate > > > > I've created a Solution with a feature file and an elements.xml file with > this definition: > > <?xml version="1.0" encoding="utf-8"?> > <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> > > <ListTemplate > Name="CPMiningInvoiceList" > DisplayName="CP Mining Invoice List" > Type="115" > Description="This is the invoice list." > BaseType="0" > OnQuickLaunch="FALSE" > SecurityBits="11" /> > > </Elements> > > and then created a schema.xml file. I did this by running an export from > the SharePoint Solution Generator pointing it at a brand new created > SharePoint Form Library. > > I created the wsp from this and installed it on my site. I then manually > created the List based on the ListTemplate. When I did this I received an > error in the Web interface: > > Cannot complete this action. > > Please try again. at > Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost(String > bstrUrl, String& pbstrGuid, String& pbstrNextUrl) > at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String > bstrUrl, String& pbstrGuid, String& pbstrNextUrl) > > Further investigation in the logs found an error: > > Application error when access /_layouts/new.aspx, Error=Cannot complete > this action. Please try again. at > Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost(String > bstrUrl, String& pbstrGuid, String& pbstrNextUrl) at > Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String > bstrUrl, String& pbstrGuid, String& pbstrNextUrl) > > Searching Google there was hardly anything on this error! > > Can anyone give me some advice here? > > Thanks, > Jeremy Thake > http://wss.made4the.net/ > ------------------------------------------------------------------- > OzMOSS.com - to unsubscribe from this list, send a message back to the > list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > > ------------------------------------------------------------------- > OzMOSS.com - to unsubscribe from this list, send a message back to the > list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net