Click here to Skip to main content
15,888,129 members
Home / Discussions / C#
   

C#

 
AnswerRe: Execute shell command in c# Pin
Ravi Bhavnani2-Jan-06 9:40
professionalRavi Bhavnani2-Jan-06 9:40 
QuestionCustomizing A Setup Project Pin
TofuBug242-Jan-06 6:15
TofuBug242-Jan-06 6:15 
AnswerRe: Customizing A Setup Project Pin
S. Akif Kamal2-Jan-06 19:46
S. Akif Kamal2-Jan-06 19:46 
GeneralRe: Customizing A Setup Project Pin
TofuBug244-Jan-06 21:30
TofuBug244-Jan-06 21:30 
QuestionProblems with crystal report in vs2005? Pin
Joseph Robert2-Jan-06 5:45
Joseph Robert2-Jan-06 5:45 
QuestionFinding the changed subkey under a particular registrykey Pin
rakesh_nits2-Jan-06 4:04
rakesh_nits2-Jan-06 4:04 
QuestionSecurity Exception Pin
zt.Prog2-Jan-06 2:09
zt.Prog2-Jan-06 2:09 
AnswerRe: Security Exception Pin
Colin Angus Mackay2-Jan-06 4:14
Colin Angus Mackay2-Jan-06 4:14 
capuano wrote:
Why does this happen?


Running an application from another computer is not a trusted action. In other words, your computer does not trust that the assembly sitting on the other computer is acceptable to run on your computer.


capuano wrote:
what should I do?


This is from a guide I wrote regarding a .NET 1.1 application. It should be approximately the same:

Trust needs to be set up for windows applications written for the .NET framework to run through the on remote machines via UNC paths.

* Launch "Microsoft .NET Framework 1.1 Configuration" from the Administrative Tools programs folder.
* In the tree control on the left expand the elements My Computer ~ Runtime Security Policy ~ Machine ~ Code Groups ~ All_Code ~ LocalIntranet_Zone
* Ensure that the LocalIntraner_Zone node is selected so that the panel on the right is headed LocalIntranet_Zone Code Group.
* Select the "Add a Child Code Group" link in the right panel.
* Give the new Code Group the name "What ever name you want"
* Press Next
* Choose the condition type of "URL"
* In the URL box type the full URL to the wincode directory, e.g. file://server_name/share_name/folder_name/*
* Remember to include the asterisk to ensure that all assemblies can run
(For a more restrictive set each assembly can be individually named in its own code group)
* Click Next
* Choose the permission set "Full Trust"
* Click Next
* Click Finished
* A reboot may be necessary.

The above may or may not be acceptable to your situation - but you'll see where you need to make changes and with some experimentation you can see what other things are possible too.

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

QuestionEmail Notification Pin
MalikRizwan2-Jan-06 1:10
MalikRizwan2-Jan-06 1:10 
AnswerRe: Email Notification Pin
PrakashBhaskar2-Jan-06 1:23
PrakashBhaskar2-Jan-06 1:23 
GeneralRe: Email Notification Pin
MalikRizwan2-Jan-06 1:36
MalikRizwan2-Jan-06 1:36 
GeneralRe: Email Notification Pin
PrakashBhaskar2-Jan-06 1:41
PrakashBhaskar2-Jan-06 1:41 
GeneralRe: Email Notification Pin
MalikRizwan2-Jan-06 1:46
MalikRizwan2-Jan-06 1:46 
GeneralRe: Email Notification Pin
PrakashBhaskar2-Jan-06 1:53
PrakashBhaskar2-Jan-06 1:53 
GeneralRe: Email Notification Pin
MalikRizwan2-Jan-06 2:03
MalikRizwan2-Jan-06 2:03 
AnswerRe: Email Notification Pin
S. Senthil Kumar2-Jan-06 4:19
S. Senthil Kumar2-Jan-06 4:19 
QuestionReading Config File in .Net 2.0 Pin
rnvrnv2-Jan-06 1:06
rnvrnv2-Jan-06 1:06 
AnswerRe: Reading Config File in .Net 2.0 Pin
Guffa2-Jan-06 1:17
Guffa2-Jan-06 1:17 
GeneralRe: Reading Config File in .Net 2.0 Pin
rnvrnv2-Jan-06 1:24
rnvrnv2-Jan-06 1:24 
AnswerRe: Reading Config File in .Net 2.0 Pin
Guffa2-Jan-06 2:51
Guffa2-Jan-06 2:51 
GeneralRe: Reading Config File in .Net 2.0 Pin
rnvrnv2-Jan-06 4:38
rnvrnv2-Jan-06 4:38 
GeneralRe: Reading Config File in .Net 2.0 Pin
Guffa2-Jan-06 4:55
Guffa2-Jan-06 4:55 
GeneralRe: Reading Config File in .Net 2.0 Pin
rnvrnv2-Jan-06 5:08
rnvrnv2-Jan-06 5:08 
AnswerRe: Reading Config File in .Net 2.0 Pin
Guffa2-Jan-06 5:29
Guffa2-Jan-06 5:29 
GeneralRe: Reading Config File in .Net 2.0 Pin
rnvrnv2-Jan-06 5:46
rnvrnv2-Jan-06 5:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.