I'm running Umbraco 4.5.2 (.Net 2/3.5 version) as a Rackspace Cloud Site. When I delete all of my index files and restart the web application, I get an exception in the log midway through the new indexes being builts:
[UmbracoExamine] An error occurred recreating the index set,Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed., IndexSet: PublicIndexSet
A few notes:
Rackspace Cloud Sites run under Medium Trust
I'm using user impersonation for my site, so my site is running under the same accoun that originally created/uploaded the folder and files where the examine index lives
The site is able to create exa and lck files in the root of my index folder "PublicIndex"
There is a "write.lock" file in my /PublicIndex/Index folder - I think this was created before the exception was thrown, but the code had to terminate before it could delete this file to release the lock
I've upgraded to the Examine 1.0 RTM binary files - doesn't seem to help
Examine Can't Build Index in Med. Trust
I'm running Umbraco 4.5.2 (.Net 2/3.5 version) as a Rackspace Cloud Site. When I delete all of my index files and restart the web application, I get an exception in the log midway through the new indexes being builts:
[UmbracoExamine] An error occurred recreating the index set,Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed., IndexSet: PublicIndexSet
A few notes:
Here is my examine config for the index:
<add name="PublicIndexer" type="UmbracoExamine.LuceneExamineIndexer, UmbracoExamine"
runAsync="true"
supportUnpublished="false"
supportProtected="true"
interval="10"
analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
indexSet="PublicIndexSet" />
<add name="PublicSearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"
analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net" indexSet="PublicIndexSet" />
<IndexSet SetName="PublicIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/PublicIndex/">
<IndexAttributeFields>
<add Name="id" />
<add Name="nodeName"/>
<add Name="nodeTypeAlias" />
<add Name="parentID" />
</IndexAttributeFields>
<IndexUserFields>
<add Name="pageTitle" />
<add Name="pageDescription" />
<add Name="pageKeywords" />
</IndexUserFields>
<IncludeNodeTypes/>
<ExcludeNodeTypes>
<add Name="Image"></add>
<add Name="Folder"></add>
<add Name="File"></add>
<add Name="Media"></add>
<add Name="BeerContainer"></add>
<add Name="BeerOnTap"></add>
<add Name="DistributorContainer"></add>
<add Name="FeaturedHyperlinkItem"></add>
<add Name=FeaturedItemContainer"></add>
<add Name="FeaturedNewsItem"></add>
<add Name="GlobalMetaType"></add>
<add Name="LDA"></add>
<add Name="Picture"></add>
<add Name="PictureContainer"></add>
<add Name="Search"></add>
<add Name="StoreContainer"></add>
</ExcludeNodeTypes>
</IndexSet>
ANY SUGGESTIONS OR HELP YOU CAN GIVE ME ARE MUCH APPRECIATED!
Regards,
I'm still having this problem. Can any Examine pros help me out here and give me some advice / ideas?
Thanks!
Same problem here on Umbraco 4.6.1 :(
This problem also occurs when running Umbraco on my development machine in medium trust...
Anyone that can point us in the right direction?
Bump. Both MrHighstone and I still haven't found a solution, or even some advice from anyone in the Umbraco community. Can anyone help us out at all??
is working on a reply...