Return-Path: Delivered-To: apmail-lucene-lucene-net-dev-archive@www.apache.org Received: (qmail 75085 invoked from network); 7 May 2010 15:45:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 May 2010 15:45:14 -0000 Received: (qmail 33711 invoked by uid 500); 7 May 2010 15:45:14 -0000 Delivered-To: apmail-lucene-lucene-net-dev-archive@lucene.apache.org Received: (qmail 33601 invoked by uid 500); 7 May 2010 15:45:14 -0000 Mailing-List: contact lucene-net-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucene.apache.org Delivered-To: mailing list lucene-net-dev@lucene.apache.org Received: (qmail 33593 invoked by uid 99); 7 May 2010 15:45:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 15:45:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 15:45:10 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o47Fin7O028000 for ; Fri, 7 May 2010 15:44:49 GMT Message-ID: <3935171.34751273247088926.JavaMail.jira@thor> Date: Fri, 7 May 2010 11:44:48 -0400 (EDT) From: "Simone Chiaretta (JIRA)" To: lucene-net-dev@lucene.apache.org Subject: [jira] Commented: (LUCENENET-357) Lucene.Net in Medium Trust (Mostly won't work on shared hosts / Mosso cloud etc due to 'Trust' levels) In-Reply-To: <5271578.83291271756459257.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENENET-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865222#action_12865222 ] Simone Chiaretta commented on LUCENENET-357: -------------------------------------------- Yep, should work Thank you > Lucene.Net in Medium Trust (Mostly won't work on shared hosts / Mosso cloud etc due to 'Trust' levels) > ------------------------------------------------------------------------------------------------------ > > Key: LUCENENET-357 > URL: https://issues.apache.org/jira/browse/LUCENENET-357 > Project: Lucene.Net > Issue Type: Bug > Environment: .NET 3.5 / Medium or Medium modified trust > Reporter: Frank West > Attachments: Constants.patch, systemenvironment.patch, WeakKey.diff > > > Initially I had to remove a few references to the Sys Environment to get it to work. However now it fails use of the 'Weak Hashtable' - any reference to a 'weak[something]' will fail with a security exception. The issue only happens when returning sorted results. > As an example here's the web.config modified trust file I'm being forced to use on Mosso (Rackspace cloud) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.