Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Domain Security
Message
From
31/12/2011 04:49:17
 
 
To
30/12/2011 15:15:41
General information
Forum:
ASP.NET
Category:
Windows Communication Foundation (WCF)
Title:
Environment versions
Environment:
C# 4.0
OS:
Windows Server 2008
Miscellaneous
Thread ID:
01531880
Message ID:
01531974
Views:
26
>Speaking very generally, if you have something that works using IP addresses, and doesn't using NetBIOS machine names, you probably have a configuration problem with DNS.
>
>For Server 2003 and earlier, there are DNS best practices articles in the MSKB e.g. http://support.microsoft.com/kb/825036 .
>
>I see there is now a DNS Best Practices Analyzer for Server 2008/R2: http://technet.microsoft.com/en-us/library/dd391963(WS.10).aspx . I've never used it, but it might be worth running to see what it suggests in your environment.
>
>It's nice to know you can potentially fall back to using IP addresses at client sites, but I'd be inclined to put a little effort into getting it to work with machine names. If DNS is misconfigured it might come back to bite you later, in some fashion that can't be worked around like that. You could also look like a hero to your clients by introducing them to the BPA.

Before realizing you'd invented your own acronym I googled BPA and found some prior claims:
British Parking Association
British Parachute Association
British Pig Association
British Port Association
Baby Products Association
British Pyrotechnists Association
British Psychoanalytic Association
British Pentanque Association
.....
Gave up when I got to "Birkenhead Photograpic Association" & "British PsycoDrama Association" :-}


>
>>SOLVED!
>>
>>I had read on some web page somewhere that this isn't a problem if you use IPs in your service address instead of machine name. I don't know why that should make a difference, but I changed all my addresses to use an IP and voila! the problem disappeared! This is fine, because we're using fixed IP addresses for our VMs and whenever we eventually install our products, our clients will likewise be using fixed IPs.
>>
>>Can anyone poke any holes in this or does this sound like the correct way to go ...
>>
>>~~Bonnie
>>
>>
>>
>>
>>>AFAIK, yes. I don't think that the client attempts to authenticate the server.
>>>IAC, I suppose specifying the username of the currently logged in user in the config wouldn't have changed the behaviour anyway
>>>
>>>Few thoughts (which may be a red herrings) :
>>>
>>>(a) In your OP you said that it worked when logged on to the client machine using a local 'Administrator' account. Were the account names *and* passwords identical on both the client and the server? Only ask because, thinking back to .NET remoting, this scenario would result in the server accepting the authentication without any reference to the domain. If the passwords were the same then it might be worth trying with different passwords. If that fails it will at least explain why the original was working.
>>>
>>>(b) Are you sure that the problem is not with the domain/ADS itself rather than specific to WCF ?
>>>
>>>(c) You could try using the service trace log to get more insight into the problem.....
>>>
>>>(d) One thing I'd probably try:
>>>Fire up the service then use a VS project on a client machine to see if you can add a service reference there via the wizard.
Previous
Reply
Map
View

Click here to load this message in the networking platform