medium-trust Questions
3
Solved
i am trying to deploy simple asp.net mvc frameworkd application in may shared hosting and i get erro like this:
Security Exception
Description: The application attempted to perform an operation n...
Sextuple asked 26/4, 2009 at 19:55
3
Solved
Any recommendations for cheap .Net hosting that has flexible medium trust rules allowing the use of reflection?
Blackpool asked 27/3, 2009 at 10:56
2
Solved
What is Medium Trust in Asp.net? When should we use Medium Trust in Asp.net?
Zena asked 11/4, 2010 at 15:7
3
A comment from .Net Hosting (Flexible Medium Trust) says.
Godaddy is medium trust, which means that u can't use stuff like IL emit(Nhibernate needs this for proxying)
Is it true? Is there anyo...
Beeswax asked 28/1, 2011 at 5:24
1
I am trying to deploy an ASP.NET MVC4 site to a HostGator shared windows host. I am running into some trouble when their technical support tells me I have to compile my application for medium secur...
Communard asked 3/2, 2013 at 20:31
2
Solved
I started developing a new MVC app with Entity Framework code-first and Unity for dependency injection. I used EF5 and Unity because I thought they were supposed to work in Medium Trust. However, w...
Retinoscopy asked 31/5, 2013 at 4:31
1
I have an ASP.NET WebForms app using Microsoft ASP.NET Universal Providers (NuGet) for membership and roles. Under full trust everything works fine, but when I edit web.config to specify medium tru...
Reggy asked 16/4, 2013 at 14:19
2
I am attempting to do a redirect in the Application_Error handler in Global.asax. Nothing fancy at all.
private void Application_Error(object sender, EventArgs e)
{
// ...snip...
Server.Transfe...
Sudatorium asked 24/2, 2009 at 6:59
5
Solved
I would like to write automated tests that run in medium trust and fail if they require full trust.
I am writing a library where some functionality is only available in full trust scenarios and I...
Saddle asked 12/6, 2009 at 15:33
4
I need to send an email from my app, which will be running under medium trust. My current email sending code that works fine under full trust throws SecurityException under medium trust
[SecurityE...
Osanna asked 11/5, 2009 at 12:39
1
Solved
I would like to run exes and Windows Services in Medium Trust, but all the literature I can find suggests using
<system.web>
<trust level="Medium"/>
</system.web>
for ASP.NET...
Landa asked 22/11, 2011 at 15:23
1
I have searched around Google and Stackoverflow but can't seen to come up with a solution for editing the web.config to encrypt and store a SQL Server connection string for an installation script. ...
Dialectical asked 31/8, 2009 at 16:15
3
Solved
Hi I am trying to get a website running with Mosso that has Castle Windsor as my IOC, however I am getting the following error.
[SecurityException: That assembly does not allow partially trusted c...
Insurrection asked 4/2, 2010 at 15:23
2
Solved
I am looking for "easy button", where I can say run this app under medium trust.
Ignominious asked 1/3, 2011 at 21:19
1
Solved
I have a custom ConfigurationSection in my application:
public class SettingsSection : ConfigurationSection
{
[ConfigurationProperty("Setting")]
public MyElement Setting
{
get
{
return (MyEl...
Bigamous asked 30/1, 2011 at 8:39
2
I want to ask that which methods/classes are allowed in Medium Trust.
For example,
whether these methods are allowed?
GetProperties,
GetMethods,
Activator.CreateInstance,
Assembly.Version,
Assemb...
Lafayette asked 11/1, 2011 at 10:56
2
Solved
I am attempting to get nhibernate working in medium-trust. What I found said that I needed to use a proxy generator. I pulled the one from nhibernate's site. When I attempt to use it, I recieve an ...
Stanwin asked 3/3, 2009 at 22:26
1
Solved
When trying to compile an Expression in a medium trust web app I'm getting a MethodAccessException.
Does anyone know of another way to compile an expression under medium trust or a workaround to a...
Niemi asked 7/7, 2010 at 12:34
2
Solved
I need to load an xML file from the bin folder in ASP.NET (MVC, not that it would count). I can't get the bin folder path nor load the file otherwise.. I need to feed the following method :
using(...
Tendance asked 27/5, 2010 at 22:34
2
Solved
I'm trying to configure nhibernate 2.1.2 to run in medium trust, without any luck. I have tried follwing the suggestions to run in medium trust and pre-generating the proxies.
I then tried to remo...
Hysell asked 26/3, 2010 at 10:26
1
Solved
I am running a website on shared hosting at GoDaddy (not my choice, because it is always Medium Trust), and I have some advanced features that I would like to turn on if the application is run in H...
Beedon asked 2/9, 2009 at 17:23
3
Solved
The lack of reflection in Medium Trust hosting environments seems to cause a lot of problems for many popular web applications.
Why is ReflectionPermission disabled by default with Medium Trust?...
Topo asked 21/7, 2009 at 18:34
1
Will NHibernate 2 and\or Fluent Nhibernate work in a medium trust environment. If not are there any work-arounds?
Sajovich asked 2/4, 2009 at 18:6
2
Solved
I want to simulate the trust levels of a shared hosting environment on my development machine so that there are no nasty surprises when I come to deploy my solution.
I added this my setting the we...
Latvian asked 28/3, 2009 at 22:1
6
Solved
What are the things that Medium Trust stops you from doing? For example, I've already learned that Medium Trust stops you from using System.IO.Path.GetTempPath(). What other things like that?
Underhand asked 9/11, 2008 at 0:49
1 Next >
© 2022 - 2024 — McMap. All rights reserved.