Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 16th, 2003, 06:25 AM
Registered User
 
Join Date: Jun 2003
Location: , , .
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

thanks,
sudhir
Reply With Quote
  #2 (permalink)  
Old June 16th, 2003, 07:15 AM
Imar's Avatar
Wrox Author
Points: 67,755, Level: 100
Points: 67,755, Level: 100 Points: 67,755, Level: 100 Points: 67,755, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,287
Thanks: 66
Thanked 1,439 Times in 1,419 Posts
Default

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:

Quote:
quote:
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)
Mscorcfg.msc
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.
Caspol.exe
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
Regards,

Imar
Reply With Quote
  #3 (permalink)  
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

Hi,

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..
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 07:02 AM
Touch Screen Programming echovue Access 10 March 20th, 2008 02:29 AM
Touch screen Stanny Access 2 August 23rd, 2005 12:12 PM
Deployment Bhavin Crystal Reports 2 October 25th, 2004 09:28 AM



All times are GMT -4. The time now is 07:43 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.