Convert Accented Characters to ASCII

3 Comments

It is pretty simple in .NET to convert Western Unicode (non-ASCII, accented, diacritics) to ASCII, but regardless I had a hard time figuring it out it so I’m posting here for my own future reference.

Dim strTest as String = "Any string containing accented characters, e.g. åäöéèêÅÄÖÉÈÊ"
strTest = System.Text.Encoding.ASCII.GetString(System.Text.Encoding.GetEncoding(1251).GetBytes(strTest))

Looking for Credential Tiles hangs Remote Desktop

8 Comments

On my new Acer TravelMate 5530G I run Windows Vista Home Premium. I use Windows Remote Desktop Connection (RDC) to connect to my server which has been working just fine.

But this weekend after setting up a new Windows 2008 server and trying to connect to it, RDC shows a dialog “Looking for Credential Tiles”. The dialog is up for ever and if I click cancel instead of getting a login screen RDC hangs and I have to shut it down from the Task Manager.

The workaround seems to be to enter the correct credentials into Vistas Advanced User Accounts panel (I later changed password on my server and had the same problem all over again)

This solution is thanks to Denz and can be found as a comment to this Terminal Services Team blog post

1. Type control userpasswords2 into the Start menu search box and hit Enter

2.On the resulting User Accounts screen, click on the Advanced tab and then click the Manage Passwords button

3. On the Stored User Names and Passwords window, click Add button

4. On the Log on to: Type the IP of your server or the Server name, and user name and password

5. Denz instructions says to choose “A Windows Logon Credential” but this option is greyed out for me. However “A web site or program credential” works fine too

Denz and others also have Acer TravelMate laptops (but other models than me) so my theory is that this is a problem with the Acer software that comes with their laptops. Maybe the Bio protection software (fingerprint scanner).

[Update: I can confirm that the problem is related to the Acer fingerprint software. After uninstalling Acer Bio Protection ATU the issue is solved. I had Acer Bio Protection ATU version 6.0.00.16 installed which is the latest version available from Acer at this time]