Wrox Programmer Forums
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 16th, 2003, 05:25 AM
Registered User
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default no-touch deployment!

I was trying no-touch deployment on the TaskManagement application which is found in Microsoft site at http://msdn.microsoft.com/library/de...tframework.asp
I did all the changes which is told in this site on my machine it worked fine,when I accessed the same application from other machine in my intranet(local network) “Microsoft .net security information.”
Dialog box says that

 â€œThis application is running in a partially trusted context some functionality in the application may be disabled due to security restrictions.”

And the application hangs. What are the settings to be done at the client side.

plz help me

Old June 16th, 2003, 06:15 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

If I am not mistaken, this is about URL-deployment, right? That is, you start an application from a URL which checks whether a new version of the application is available?

AFAIK, you should add the host to your Trusted locations. For this URL based thingy, I am not sure whether you need to ad the host to your Trusted Zones in Internet Explorer, or in your .NET configuration.

For .NET, check out the MSDN help for this: If you have VS.NET installed this Help file may be of help.

Here's the text in case you can't read /open the URL:

Project Folder Not Secure Dialog BoxSee Also
Configuring Security Policy
You attempted to create a project on a UNC path. By default, a UNC path is not a trusted location for a project. Your project may not run correctly when you attempt to debug or run from this location. For more information, see Configuring Security Policy.

The following tools modify the policy affecting the file share.

.NET Framework Configuration Tool (Mscorcfg.msc)
Code Access Security Policy Tool (Caspol.exe)
One simple way to modify the policy affecting a file share is to give a specific file share FullTrust permission using mscorcfg.msc. You must be an administrator on the computer to make this change.

To give a file share FullTrust permission

Start mscorcfg.msc.
Expand the Runtime Security Policy node, the Machine node, the Code Groups node, the All_Code node, and then highlight the LocalIntranet_Zone node.
In the right pane select Add a Child Code Group.
Choose Create a new Codegroup and enter a name for the code group, then click Next.
Choose a Condition Type of URL, then enter the UNC path to the share location of your project, using the format file///\\servername\sharename\* where \\servername\sharename is the name of the share. Click Next.
Note Make sure to add the asterisk at the end of the path.
Choose Use Existing Permission Set of FullTrust, then click Next.
Click Finish.
Restart Visual Studio.
Using caspol.exe to accomplish this change, you would use the following command line (you must be an administrator on the computer to make this change.):

caspol -m -ag 1.2 -url urlname FullTrust
See Also
Configuring Security Policy

Old December 31st, 2008, 10:25 PM
Registered User
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with one touch deployment


I am having problems running an application using one touch deployment.

As explained in most of the references, I created a virtual directory and set the output path of my application to it. But when I try something like this:

http://localhost/MyApps/MyApps.exe, the application doesn't pop up and the browser remains blank.

I am running IE 6, which I believe is sufficient for NTD.

I first thought it would be a security issue and my code wouldnt be having permissions to run on the local machine.
I created and installed two policy deployment package, one in which the membership condition is a strong name and the other one a URL based, (like http://localhost/*) giving the code full permission, but sadly that didnt work.

I have changed the virtual directory permissions to script only.

Please help, I badly need to fix this out..

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pain: A touch-up on Beginning JSP Chapter 23 Swede BOOK: Beginning JavaServer Pages 1 January 12th, 2014 10:59 AM
Reading Touch Tablet in PHP MisbahAnsari PHP FAQs 0 October 30th, 2008 06:02 AM
Touch Screen Programming echovue Access 10 March 20th, 2008 01:29 AM
Touch screen Stanny Access 2 August 23rd, 2005 11:12 AM
Deployment Bhavin Crystal Reports 2 October 25th, 2004 08:28 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.