Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-10-11
6
Medium Priority
?
197 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 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

972 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