Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Trust Not Granted message
 

Trust Not Granted message

Hi

Isit possible that there might be issues when I deploy a full trust WPF app to a server and try to access the app from a domain?The app also uses SQL server 2008 on the same server.

I have installed the certificate,also did the cmd permission command for the URL,still no luck.

Any ideas?

Thanks
FoxRacing  Friday, August 14, 2009 12:37 PM
I'm not sure I understand what your problem is.

First, are you deploying your application with ClickOnce or a Setup & Deployment package?

If deploying it as a ClickOnce application, does the server have IIS installed on it, or are you trying to deploy the application to a network share?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 17, 2009 8:30 AM

I am deploying to a network share on the server using ClickOnce,I then register that Default.htm file in the IIS of the server.

When I try to access it it from a pcin the domain I get the Trust Not Granted Message.

However if I deploy the project to my machine's local IIS,anyone in the domain can access the app and it works 100%.

FoxRacing  Monday, August 17, 2009 9:06 AM
I'm not sure what registering the default.htm file means.

Here's what I can tell you.

The user needs to have read access to alll of the files under the folder to where you are deploying the ClickOnce deployment.

Next question is what is the installation path? Is it something like \\mysharename\MyFolder\publish.htm ?

It sounds like you're definitely having a permission problem on the server, or between the server and client.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 17, 2009 9:30 AM
Everyone on the domain has read and write access to all the files in the folder.

Yes,I deploy to \\server01\wwwroot\AppFolder

By registering the publish.htm in the IIS the user can go to http://server01/ and that page will open and then be able to click on the run button.
FoxRacing  Monday, August 17, 2009 9:35 AM

You can use google to search for other answers

Custom Search

More Threads

• running an .exe before Uninstallation process
• Running a custom action at the begining of an installation
• Can ClickOnce launch a WPF prior to downloading?
• self exatacting exe setup project
• MSI Installer application deployment
• Data Source Password
• (HelpPlease)Change the serial key
• Click once.. from diferent locations
• ClickOnce, Crystal Reports, setup not finding prereq
• Windows Control in IE, Problem Accessing Database, Strong Name doesn't seem to work