![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| Guest | "Trust Not Granted" Error - Full Trust WPF Web App on a CorporateNetwork I'm trying to create a WPF Web Application, that will ultimately run on a corporate network - in otherwords the XBAP will be executed from a network share. When I execute the XBAP from the remote share I get the following exceptions: ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * An exception occurred while determining trust. Following failure messages were detected: + User has refused to grant required permissions to the application. * An exception occurred while downloading the application. Following failure messages were detected: + The AssertApplicationRequirements method failed. The application cannot be committed. The first thing I did was to create a public/private key pair: makecert.exe -sv MyKey.pvk -n "CN=Mine" MyKey.cer Then from this I created a PFX Certificate: pvk2pfx.exe -pvk MyKey.pvk -spc MyKey.cer -pfx MyKey.pfx -po MyPassword I then created a new Windows Presentation Foundation Web Application in Visual Studio 2008. Next I set the properties for the application: Signing: Tick "Sign the ClickOnce manifests" Select From File - I select the certificate file I've just made. Tick "Sign the assembly" Security: Tick "Enable ClickOnce Security Settings" Check "This is a full trust application" Publish: Publish Location - this is folder on the local hard drive that is shared on the network. I build and publish the applicaiton. It works fine on the local machine. Move to 'remote' machine on the corporate network. Copy and install the certificate file I made earlier and store it in the "Trusted Publishers" folder. Browse to the development machines "publish" folder. Double click the XBAP file. I'm presented with the "Trust Not Granted" - "The application cannot be deployed because it is not trusted and possibly unsafe." error. On clicking "Open Error Log" I get the exceptions written above. Any help would be appreciated as it's driving me nuts! Thanks in advance Matt |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| intermittent workstation trust error calling IsInRole(string) | .NET General | |||
| Do not trust the "logged on from" at Vista login | Vista security | |||