Solved

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

Posted on 2004-10-11
6
193 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
[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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
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…

635 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