Solved

Exception Error of VB.net Application when accessed via Network?

Posted on 2004-10-11
6
188 Views
Last Modified: 2010-04-23
When the VB.net application is installed on the network and it is accessed by client, I get the following error

Request for the permission of type System.Security.Permissions.EnvironmentPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed

How to solve this error?
0
Comment
Question by:tgatif
  • 2
6 Comments
 
LVL 4

Expert Comment

by:eozz_2000
ID: 12281772
Make sure that the folder where you has the GAC components in your server is properly shared, and with the correct permissions.
0
 

Author Comment

by:tgatif
ID: 12299641
@eozz_2000

What are GAC components?
How do share them with correct permissions so that my vb.net application can work?
0
 

Author Comment

by:tgatif
ID: 12436704
The question has been posted for a while.  If nobody responds for a week to this question so I like to delete this issue.

Also if anyone wants to gain points for one's efforts, please post.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 12633870
The assembly has to be trusted, and the default setting does not allow it.  You can use the Configuration Wizard to increase the trust.

Bob
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now