More: .Text host limitations, C# and ADO.NET

So after writing my little app to change the .Text hosts (see .Text host limitations, C# and ADO.NET) I remembered the windows HOSTS file… By adding two entries to HOSTS, I was able to get around the problem altogether. I just added



192.168.0.6     www.kindel.com
192.168.0.6     kindel.com


and everything works now. I was afraid this would break DFS, but that still works fine because it appears the DFS client goes to Active Directory first when attempting to parse a UNC name that may  contain a DFS root (e.g. \\kindel.com\shares).

© Charlie Kindel. All Rights Reserved.

1 comment


Leave a Reply

Your email address will not be published. Required fields are marked *