Return-Path: X-Original-To: apmail-lucenenet-dev-archive@www.apache.org Delivered-To: apmail-lucenenet-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A9434E979 for ; Wed, 20 Feb 2013 18:57:13 +0000 (UTC) Received: (qmail 42103 invoked by uid 500); 20 Feb 2013 18:57:13 -0000 Delivered-To: apmail-lucenenet-dev-archive@lucenenet.apache.org Received: (qmail 42074 invoked by uid 500); 20 Feb 2013 18:57:13 -0000 Mailing-List: contact dev-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucenenet.apache.org Delivered-To: mailing list dev@lucenenet.apache.org Received: (qmail 42063 invoked by uid 99); 20 Feb 2013 18:57:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 18:57:13 +0000 Date: Wed, 20 Feb 2013 18:57:13 +0000 (UTC) From: "Christopher Currens (JIRA)" To: dev@lucenenet.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENENET-500) Lucene fails to run in medium trust ASP.NET Application MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENENET-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582411#comment-13582411 ] Christopher Currens commented on LUCENENET-500: ----------------------------------------------- [~joeaudette] -- That's good to hear, I thought that it might not (seemed a little too easy!) so I'm glad that it was easily verified to still not work. At least now, I can keep poking around to find why this is happening. I haven't seen any problems with loading the assembly in a medium trust environment, at least with the testing I've done, although I haven't been doing it in the ASP.Net environment. I'll see if I can reproduce it on my own, otherwise, I may just pull down the Mojo code and see if I can determine what's happening in the same environment. > Lucene fails to run in medium trust ASP.NET Application > ------------------------------------------------------- > > Key: LUCENENET-500 > URL: https://issues.apache.org/jira/browse/LUCENENET-500 > Project: Lucene.Net > Issue Type: Bug > Components: Lucene.Net Core > Affects Versions: Lucene.Net 3.0.3 > Reporter: Simon Svensson > Assignee: Christopher Currens > Fix For: Lucene.Net 3.0.3 > > Attachments: MediumTrustFixNET35.zip > > > I'm having trouble upgrading a web application running under medium trust from 2.9.4 to 3.0.3. Code that previously worked now throws a SecurityException. > [SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] > Lucene.Net.Support.WeakKey`1..ctor(T key) +0 > Lucene.Net.Support.WeakDictionary`2.get_Item(TKey key) +113 > Lucene.Net.Util.DefaultAttributeFactory.GetClassForInterface() +178 > Lucene.Net.Util.DefaultAttributeFactory.CreateAttributeInstance() +95 > Lucene.Net.Util.AttributeSource.AddAttribute() +375 > Lucene.Net.Analysis.CharTokenizer..ctor(TextReader input) +126 > Lucene.Net.Analysis.WhitespaceTokenizer..ctor(TextReader in) +37 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira