Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Okay, I have a VB .NET small executable file that is on our network. I want everyone to just have a shortcut on their desktop instead of having a seperate copy on everyone's desktop, but when I try this approach. I get an error message saying something about the .NET security. How can I change this to allow this one program to run fom the network. I even tried fully trust the intranet and it still would not work. Any ideas?

 

Also, I did not see any better places to post this question.

 

Thanks, Chester

____________________________________________

http://www.pophamcafe.com

I am starting a developers section, more tutorials than anything.

Posted (edited)

can you tell us what the security message you have seen ?

 

something else ..

 

Is .net framework installed on the device on which the error message appears ?

Edited by Husam Bourhan
Posted

Yes .Net framework is one the machines, but no it is not on the Novell Server. Unfortumately, it is at work and I will not be back there till Monday.

 

Chester

____________________________________________

http://www.pophamcafe.com

I am starting a developers section, more tutorials than anything.

Posted (edited)

Okay, this is what it says:

 

The application attempted to perform an operation not allowed by the security policy. The operation required the SecurityException. To grant this application the required permission please contact your system administrator, or use the Microsoft .NET security policy administration tool.

 

Request for permission type

System.Security.Permissions.FileIOPermission, mscorlib

Version=1.0.5000.0, Culture=neutral,

PublicKeyToken= failed.

Edited by cpopham

____________________________________________

http://www.pophamcafe.com

I am starting a developers section, more tutorials than anything.

  • *Gurus*
Posted

Navigate to Administrative Tools | Microsoft .NET 1.1 Configuration.

 

Navigate through the tree that appears:

My Computer | Runtime Security Policy | Machine | Code Groups | All_Code | LocalIntranet_Zone

 

Right click on "LocalIntranet_Zone". Select "Properties".

 

Select the "Permission Set" tab that is displayed in the "LocalIntranet_Zone Properties" dialog and set the permission set to "FullTrust".

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...