Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

vb.net + system.Security.Permissions.SecurityPermission

Posted on 2004-09-12
9
Medium Priority
?
1,055 Views
Last Modified: 2008-01-09
i have built a simple vb.net application that i want to be able to run from a shared drive over the network,  the problem is i get this erro when i run it.

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 Microsoft .NET security policy administration tool.

System.Security.Permissions.SecurityPermission

i have ran the Microsoft .NET Framework 1.1 wizard on the computer where the application is housed and changed the local intranet to full trusted, but it still doesn't work.

Thanks
0
Comment
Question by:dkilby
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 12038771
you need to do it on the client machine, not the local machine ...

http://searchvb.techtarget.com/ateQuestionNResponse/0,289625,sid8_cid518830_tax293474,00.html
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12039241
You need to adjust the security.

Open the Control Panel
Open Administrative tools
Open Microsoft .Net Framework 1.1 Wizards
Click Adjust .Net Security
click Next
Select Local Intranet
Change the level of trust to Full
click next
click Finish
0
 

Author Comment

by:dkilby
ID: 12039542
i have tried adjusting the machine on both the machine where the application resides and where i am trying to run the machine and still the same error.  

Changing the security on all the machines is a tough option as there is a lot of machines on the network, what i want to do is when an error occurs on a machine the user can run this small application that will take a screen shot of the machine then save the file on the a shared drive on the network, the user can not use print screen themselves as the machines are locked down, is there any way i can accomplish this? without having to install .NET on all the machines and also changing the security on all the machines.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 10

Accepted Solution

by:
123654789987 earned 2000 total points
ID: 12041269
0
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 12044769
write it in a non-.net language.
0
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 12044773
there is no way to run a .net app without installing the framework.

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question