Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842
This is the forum to discuss the Wrox book Professional WCF Programming: .NET Development with the Windows Communication Foundation by Scott Klein; ISBN: 9780470089842
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 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 August 12th, 2008, 05:44 AM
Registered User
 
Join Date: Aug 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default WCF service issue

Scenario.

We have a WCF service running on IIS in one of the machine. This service is supposed to write a file on another machine.

We follow the windows credentials for authenticating the client and carry the same credentials to write a file on the other machine.

Our network setup doesn’t allows to do so. When we try to access a remote machine with the client credentials it does throws an exception as stated below.

================================================== ================================================== ===================

System.UnauthorizedAcces****ception: Access to the path '\\....\.....\abc.txt' is denied.

================================================== ================================================== ==================

When we try to mount the client and the server in the same machine, it works out well. In another case when we try having a client and server in two different machines and write a file on server it works well



Problem arises when we try to have all three in 3 different machines.





When we tried in Microsoft Knowledge base and other codeplex sites, it stated,

            Use Delegation to Access Network Resources

                If your WCF service runs under the Network Service account, configure your computer account in Active Directory to be trusted for delegation.





Even we tried this but result is the same.Can anyone help me on this.Pls provide the settings that should be provided for the delegation in the web.config and app.config.






Similar Threads
Thread Thread Starter Forum Replies Last Post
WCF yangqingyue1985 C# 0 July 28th, 2008 02:17 AM
WCF endpoint error when wrapping WCF service with jdawg1979 Visual Studio 2008 0 July 8th, 2008 11:56 AM
RegCreateKeyEx Issue with service pack 2 Renaud C++ Programming 1 February 15th, 2005 12:33 PM
Windows service creating ActiveX object issue ceegh VB.NET 0 August 5th, 2004 04:02 PM
Web Service Reference Issue eshyong .NET Web Services 1 November 2nd, 2003 12:11 AM





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