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

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?
Who is Participating?
Bob LearnedConnect With a Mentor Commented:
The assembly has to be trusted, and the default setting does not allow it.  You can use the Configuration Wizard to increase the trust.

Make sure that the folder where you has the GAC components in your server is properly shared, and with the correct permissions.
tgatifAuthor Commented:

What are GAC components?
How do share them with correct permissions so that my vb.net application can work?
tgatifAuthor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.