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

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. \\\shares).

© Charlie Kindel. All Rights Reserved.

1 comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.