Security Error Message: - InfoPath Dev
in

InfoPath Dev

Security Error Message:

Last post 10-12-2005 02:24 PM by franck. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-12-2005 05:06 AM

    Security Error Message:

    Security Error Message:

    Any idea what that means? In my C# project code I am using
    string dUser = System.Environment.UserName; as I am trying to get the user login of the user on the form.

    When I compile the form locally the form runs fine however when I publish to sharepoint and access the form on sharepoint I get the following error message.

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

    Any idea what that means? or how to troubleshoot this issue?
    Thanks
    VidetteP
  • 10-12-2005 07:56 AM In reply to

    Re: Security Error Message:

    have you got a trusted form?
  • 10-12-2005 12:49 PM In reply to

    Re: Security Error Message:

    I think I do. Under Tools->Options->Security-> I have Full trust checked. Is there somethign else I should be doing too?
    Thanks for your help.
    -Vidette

    VidetteP
  • 10-12-2005 02:24 PM In reply to

    Re: Security Error Message:

    Yes, you need to update your manifest.xsf
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkUnderstandingFullyTrustedForms_HV01073332.asp

    Franck dauché
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.