I've been attempting to get a WPF XBAP app to call a web service and return a simple message all day and cannot.
System.Security.SecurityException was unhandled
Message: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
It's the same problem, referenced these posts:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1785511&SiteID=1
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1436424&SiteID=1
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1616816&SiteID=1
I've even attempted to use Orcas Beta2 and that did not work.
-
Solution
-
Library
-
WebService
-
ConsoleApp - works!
-
WindowsApp - works!
-
WPF App - works!
-
XBAP App - fails!
-
Could someone enlighten me Project Here
Am I missing some simple property that would allow and F5 debug
Thanks,
Rick