Questions tagged [full-trust]

Full trust is a trust level in ASP.NET. It authorize a code to do anything that the account running it can do.

Trust level refers to permissions set in the Web.config file that dictate what operations can and cannot be performed by Web applications.

With the full trust level, a code can do anything that the account running it can do.

93 questions
0
votes
1 answer

partial trust application woes

I am using Visual Studio 2015 WPF application, C#. I have an program I just sent to my Beta testers. The one using Windows 10 had big heartburn over my using "full trust". He needed to change registry values to allow it to install, then he…
Howard
  • 19
  • 1
  • 6
0
votes
0 answers

Make ClickOnce Full Trust application "green"

I signed my clickonce manifests with a valid certificate from a trusted CA. And I configured a "full trust" application (because I need access to the file system, the internet, etc.) Now I get this popup when starting the application via…
Herbi
  • 103
  • 8
0
votes
0 answers

Failed Deploying MVC 5 to dedicated server

After discovering that medium trust is no longer supported in MVC 5, I have published my application to a dedicated server - adjusted the .NET Trust Levels to Full Trust and I still get the following error: Description: The application attempted…
elszeus
  • 131
  • 1
  • 2
  • 13
0
votes
1 answer

Is it possible to sandbox an ASP.Net site on IIS7.5 without using Medium Trust?

Setting the .Net trust level to Medium on a site will ensure that no code can access files outside the application directory. I have an ASP.Net site that must run in Full Trust. I have configured my website in IIS to use its own Application Pool…
0
votes
2 answers

System.Security.Permissions.FileIOPermission Error When Trying to Upload a File Based on Trust Levels

I am developing a web application on Visual Studio 2013. In my application, users are able to upload images(saving to computer's file system for local, saving to server's file system after publishing). I published web site to my hosting. But there…
Ömer Kaya
  • 11
  • 1
  • 1
  • 7
0
votes
1 answer

Hosting MVC5, Identity 2 and OWIN on Godaddy

I was wondering if anyone is hosting asp.net mvc5, identity2 and OWIN on Godaddy deluxe windows with plesk servers yet? I have followed all recommendations posted on the web but it is still not working. I have put same files on another server and…
Diin
  • 565
  • 11
  • 41
0
votes
1 answer

Running a .net exe from a network share runs in partial trust when the access to root-shared is not granted to user

I have a situation where there is common shared network path let's say "\10.x.x.x\CommonShare". Only administrator has got permission on this path. Now inside the commonshare we create user-specific folders where that particular user will have full…
0
votes
1 answer

Satellite assemblies and FullTrust issues when .NET exe is on the network

I'm executing my .NET app from a network share. Since framework 3.5 SP1, and as explained here: http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx, the main exe and all the DLLs located in the same folder (but not…
leo
  • 1,134
  • 1
  • 8
  • 20
0
votes
3 answers

How do I set full trust for a single Web Part in SharePoint?

I am looking to set full trust for a single web part, is this possible? manifest.xml maybe?
naspinski
  • 34,020
  • 36
  • 111
  • 167
0
votes
2 answers

How to get rid of security exception?

I start a .Net server side program on my local workstation, but soon it throws a security exception. I searched the web for answers, but no quick fix was found / worked. I just want to run my program. How do I get rid of the exception? I fully trust…
Silvercode
  • 977
  • 1
  • 7
  • 13
0
votes
1 answer

Process.Start in ASP.NET?

I'm trying to integrate my site with PhantomJS for scraping of dynamic content. I do this via Process.Start and start up PhantomJS together with my scraping script. This works great on my devmachine. On my host, I have examined what trustlevel I…
Roger Johansson
  • 22,764
  • 18
  • 97
  • 193
0
votes
3 answers

Subtext install gives error in Medium trust level

I am trying to install Subtext in a medium trust level environment (host: Crystaltech) and am getting the following error (see below). I was able to do the administration setup but when it tries to go to the blog for actual use, boom. I know I…
Craig
  • 11,614
  • 13
  • 44
  • 62
0
votes
1 answer

Custom ASP.NET MVC cache controllers in a shared hosting environment?

I'm using custom controllers that cache static resources (CSS, JS, etc.) and images. I'm currently working with a hosting provider that has set me up under a full trust profile. Despite being in full trust, my controllers fail because the caching…
Daniel Crenna
  • 3,326
  • 1
  • 24
  • 34
0
votes
1 answer

Mixed Mode C++ DLL function call failure when app launched from network share. Called from unmanaged c application

Mixed-mode DLL called from native C application fails to load: An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module. Additional information: Could not load file or assembly 'XXSharePoint, Version=0.0.0.0,…
Steve
  • 1,065
  • 15
  • 34
0
votes
1 answer

WPF ClickOnce full trust issue (related to separate AppDomain?)

I'm working on creating a clickonce install for my application. I have ClickOnce security settings enabled with full trust in the Security tab if the project properties. I publish to a network drive and run the install. The install is successful but…
Chris Klepeis
  • 9,783
  • 16
  • 83
  • 149