RE: WCF on 2 machines



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.

--------------------
From: =?Utf-8?B?U2FsYW1FbGlhcw==?= <eliassal@xxxxxxxxxxxxx>
Subject: WCF on 2 machines
Date: Sun, 2 Dec 2007 13:20:02 -0800

I amwondering if here is the right place to ask about WCF. Is there any
WCF
newsgroup?
I downloaded the .net 3, and downloaded WCF samples provided by Microsoft.
I
started playing with getting started example and basic HTTP examples, both
of
them works fine on same machine but can not not run service on a server
and
cleint application on another machine. I folowed all necessary
instructions
regarding security issues
I am getting the following error

"An unsecured or incorrectly secured fault was received from the other
party. See the inner FaultException for the fault code and detail."

Lookin in the innerexception it indicates : "An error occurred when
verifying security for the message."

Am I missing something



.



Relevant Pages

  • Re: MovieMaker Security Suite 2005 Case #: SRX050223602463
    ... > Review of MovieMaker Security, ... I think the reply from Microsoft support was fair enough. ... > players are .wma which is > Review of MovieMaker Security, ...
    (microsoft.public.windowsxp.moviemaker)
  • RE: Religion... was RE: [Full-Disclosure] Re: January 15 is Personal Firewall Day, help the cause
    ... > A/V software that does any less is simply dangerous. ... > offer excellent commercial support for our commercial products. ... Does Microsoft fix the security issues that plagued it faster than ...
    (Full-Disclosure)
  • FW: {RTCProd#003-520-317}Windows Update Support Request
    ... support policy for Windows NT 4.0 Workstation SP6a. ... The Microsoft Support Lifecycle defines the support policies for all ... This means that after this date, Microsoft would no longer create ... security fixes for this platform, nor automatically post to WU, etc. ...
    (NT-Bugtraq)
  • Re: DomainLocalServer$ is not a valid user
    ... insert into to the remote server. ... the remote server will be a security hole? ... Microsoft Online Partner Support ... Microsoft technology partners in the United States and Canada. ...
    (microsoft.public.sqlserver.security)
  • RE: WCF concurrent call on client
    ... \par Microsoft MSDN Online Support Lead ... \par Subject: RE: WCF concurrent call on client ... \par #Service Instances and Concurrent Execution ...
    (microsoft.public.dotnet.framework.webservices)