RE: WCF on 2 machines



Hi Salam,

For WCF security related configuration and schema, you can have a look at
the following articles:

#Windows Communication Foundation Configuration Schema
http://msdn2.microsoft.com/en-us/library/ms731734.aspx

#Security in Windows Communication Foundation
http://msdn.microsoft.com/msdnmag/issues/06/08/SecurityBriefs/

Also, you can try disabling security in your sample to see whether it can
work correctly without security turned-on. Here is a web thread mentions
this:

#How to disable WCF security
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=911212&SiteID=1

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
From: =?Utf-8?B?U2FsYW1FbGlhcw==?= <eliassal@xxxxxxxxxxxxx>
References: <75C9F948-28C7-43FA-9B75-450FBD070F25@xxxxxxxxxxxxx>
<CxN2KIXNIHA.7908@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: WCF on 2 machines
Date: Mon, 3 Dec 2007 02:48:00 -0800


Thanks for this response. Yes, it is getting started sample
..\TechnologySamples\Basic\GettingStarted\CS
and the Binding, basic HTTP
..\TechnologySamples\Basic\Binding\Basic\Http\CS.
Both of them has a claculator service. The first one runs in Nettcp
protocol, the 2nd the service is hosted in IIS as an svc service.

It is non-domain environment (workgroup), administrator account on all
machine has the same password, the credentials I use on my laptop is
created
on the server as well and he is in the administrator group as well in both
machines. I log to SQL 2005 using windows authentification with no problem.

According to doc, especially the 2nd example I am talking is configured
for
anonymous access if I amnot mistaken,

As I said, I access any resource from machine to servers and servers to my
machine.

2nd question, if I use config files for service and client, which tages
shoudl I use and where?

Thanks in advance

"Steven Cheng[MSFT]" wrote:

Hi Salam,

From your description, you're using the WCF built-in samples for test
and
found that some basic http samples can only work on single machine but
not
work in client-server remote mode, correct?

According to the error message you pasted, it seems there is something
about security verification that cause the error. Would you let me know
which basic sample you're using(or ever do some customize on it)? And
the
important point is what security setting has been used for the client
and
server side. And what's your client and server machine's
network/security
environment. Some binding channels by default use windows security may
need
client to forward security credential and in a non-domain environment,
there may raise some error as local account is not forwarded between
machine.

BTW, for WCF specific problems, you can post them in webservice
newsgroup
or the MSDN forum:

#Windows Communication Foundation ("Indigo")
http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=118&SiteID=1

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



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

Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
the
most efficient resolution. The offering is not appropriate for
situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
best
handled working with a dedicated Microsoft Support Engineer by
contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

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


This posting is provided "AS IS" with no warranties, and confers no
rights.


.



Relevant Pages

  • Solaris Security Summary
    ... Administering Security on the Solaris OE ... Configuration control, facility management, and system ... Authentication: The ability to prove who you are. ...
    (comp.unix.solaris)
  • Re: DCOM calls fails - access denied
    ... That's exactly how I understood the ASP.NET security. ... But why does one configuration work but not the other? ... should get the token from IIS. ... If you set there a domain account, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • [TOOL] LogAgent, ASCII Log Monitor
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... LogAgent tries to fill that gap by monitoring the log files on ... for network-wide log file centralization. ... # This program gets its configuration from the file config.txt, ...
    (Securiteam)
  • Re: Security for 64 bit Vista Laptop
    ... Windows Defender is enabled, as is Windows firewall. ... I'd like to address strong security. ... Understanding and Configuring User Account Control in Windows Vista. ... Internet Explorer Enhanced Security Configuration changes the browsing ...
    (microsoft.public.windows.vista.security)
  • Re: Security for 64 bit Vista Laptop
    ... Windows Defender is enabled, as is Windows firewall. ... I'd like to address strong security. ... Understanding and Configuring User Account Control in Windows Vista. ... Internet Explorer Enhanced Security Configuration changes the browsing ...
    (microsoft.public.windows.vista.security)