.NET Security Blocking Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gazi
    New Member
    • Aug 2008
    • 2

    .NET Security Blocking Problem

    Hello!
    I have a program with writing by .Net
    it is a personal order program.
    there is a database with access and this program binds it.
    First it wants to username and password from user (All users have)
    Then The Program looks his Position and Department from table.
    if The Personal works in Ordering Department or His Position is Manager,he can see all orders and can accept or decline.
    But if he doesnt work there or isnt Manager,he can see only his orders.
    We loaded it to the Server opened it's folder to sharing,
    But when we arrived this folder from another users' computer and took a shorcut to the computer's desktop and started it,there is an error appeared like the Picture.
    How can we fix it? Please help.if this problem solve,the project will finish with success.
    The Picture's link is :
  • joedeene
    Contributor
    • Jul 2008
    • 579

    #2
    hmm i was reading on another forum that said two things, it could either be your user settings on the computer your running the application on... or try putting this
    Code:
      <Security.Permissions.PermissionSet(Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _
    without the two spaces between "permis" and "sions" (glitch)

    in front of umm maybe the button click sub that is submitting the data. but the user on the forum still said he had troubles after that so google up something on user settings for .net security warning.

    Comment

    • Gazi
      New Member
      • Aug 2008
      • 2

      #3
      I want ask something.
      For example;
      Can I write a batchfile to trust this program.

      Comment

      Working...