473,396 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

"Partially Trusted Context"


I wrote a c# program that does some file manipulation on
a remote server. Testing it from my workstation, it ran
fine.

When I copied it to another server, and ran it from
there, on load, it threw a balloon message:

"This application is running in a partially
trusted context. Some functionality in
the application may be disabled due to
security restrictions."

What is the answer to this?

Nov 15 '05 #1
1 1268
John,

The reason for this is that .NET doesn't fully trust assemblies that are
located on another machine. In order to get around this, you will have to
go to the .NET framework configuration tool and set up the assemblies so
that they are given the appropriate rights. You will have to strong-name
the assemblies, so that you can identify them in the configuration tool.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldino=at=exisconsulting<dot>com

"john bailo" <jb****@vestcom.com> wrote in message
news:fa******************************@news.teranew s.com...

I wrote a c# program that does some file manipulation on
a remote server. Testing it from my workstation, it ran
fine.

When I copied it to another server, and ran it from
there, on load, it threw a balloon message:

"This application is running in a partially
trusted context. Some functionality in
the application may be disabled due to
security restrictions."

What is the answer to this?

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: john bailo | last post by:
I wrote a c# program that does some file manipulation on a remote server. Testing it from my workstation, it ran fine. When I copied it to another server, and ran it from there, on load, it...
5
by: RWC | last post by:
Hello, I have a database that I need to connect with that resides on my personal intranet server. I'm on a different subnet than this server (running through two different gateways). When I...
0
by: Eric Mamet | last post by:
I am getting this message when trying to open a VB Web Service running on my local C Drive... It started happening when I copied all my VB Solution (including the Web Service Project) from My...
0
by: George Durzi | last post by:
I'm attempting to pull down a VS .NET solution from VSS onto a new PC. The solution contains a web application and several class library projects. I get the "Project location is not fully...
5
by: | last post by:
Hoping someone can help with a simple but puzzling problem. I have some code that I want to build as a class method. The code works fine when I embed it in Page_Load. But when I try to generalize...
6
by: swartzbill2000 | last post by:
Hello, I have some downloaded source code on my machine that the .net framework thinks is "not fully trusted". How can I fix this? I assume I use the 'Microsoft .NET Framework 1.1 Configuration'...
1
by: Roy | last post by:
From the MS site: NAME: ClientScriptManager.GetCallbackEventReference (Control, String, String, String) DESCRIPTION: Obtains a reference to a client-side function that, when invoked, initiates a...
0
by: SGibson | last post by:
How would I display a partially checked node? What I mean by this is, rather than a completely checked or unchecked node, a node that displays a grey check mark when some of its children are...
3
by: drk.kumar | last post by:
Hi, I would like to add an url as a "Trusted" one(Manual way : Tools->InternetOptions->security->trusted sites). How do I make it through javascript code. Please let me know any sample code on...
3
by: mark.bergman | last post by:
Running lint on code initialising a local 2-D array gives a warning. void f(void) { int a = { 0 }; ... lint gives "warning: Partially elided initialisation..." Should this be happening,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.