This project is read-only.

Recipe with Indexing Module fails.

Topics: General, Troubleshooting
Mar 21, 2011 at 3:23 PM

Hi guys,

I've tried to put the Orchard.Indexing module in a Recipe (along with Lucene and Orchard.Search). Upon creating the site the following error appears (truncated):


The specified table does not exist. [ Orchard_Indexing_IndexingTaskRecord ]

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Data.SqlServerCe.SqlCeException: The specified table does not exist. [ Orchard_Indexing_IndexingTaskRecord ]

Source Error: 

[No relevant source lines]

Source File: ReadOnlyCollectionExtensions.cs    Line: 


Why does this happen, yet Enabling the module manually works?

Mar 21, 2011 at 4:58 PM

Can you show what you put in the recipe?

Mar 21, 2011 at 5:06 PM

<?xml version="1.0"?>
    <Name>Test Recipe</Name>
    <Description>A test recipe</Description>

  <Feature enable="Orchard.Blogs,Orchard.Comments,Orchard.Tags,
                   TheThemeMachine" />
      <Page ContentTypeSettings.Draftable="True" TypeIndexing.Included="true">
        <TagsPart />
        <LocalizationPart />
      <BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Included="true">
        <CommentsPart />
        <TagsPart />
        <LocalizationPart />
      <BodyPart BodyPartSettings.FlavorDefault="html" />

  <Settings />
    layer create /Name:"Default" /LayerRule:"true"
    layer create /Name:"Authenticated" /LayerRule:"authenticated"
    layer create /Name:"Anonymous" /LayerRule:"not authenticated"
    layer create /Name:"Disabled" /LayerRule:"false"
    layer create /Name:"HomePage" /LayerRule:"url '~/'"
    page create /Slug:"welcome-to-orchard" /Title:"Welcome to Orchard!" /Path:"welcome-to-orchard" /Homepage:true /Publish:true /UseWelcomeText:true
    widget create /Type:"HtmlWidget" /Title:"First Leader Aside" /Zone:"TripelFirst" /Position:"5" /Layer:"HomePage" /UseLoremIpsumText:true
    widget create /Type:"HtmlWidget" /Title:"Second Leader Aside" /Zone:"TripelSecond" /Position:"5" /Layer:"HomePage" /UseLoremIpsumText:true
    widget create /Type:"HtmlWidget" /Title:"Third Leader Aside" /Zone:"TripelThird" /Position:"5" /Layer:"HomePage" /UseLoremIpsumText:true
    menuitem create /MenuPosition:"1" /MenuText:"Home" /Url:"" /OnMainMenu:true
  <Migration features="*" />

Mar 21, 2011 at 9:21 PM

Seems like Orchard.Indexing is the only one causing this issue. Logged a bug and we'll investigate.



Mar 22, 2011 at 9:08 AM

Thanks :)