Author: Zilvinas Grigonis
21.03.2010 15:48
Description
Various GTSC error codes are reported from the list of codes below.
Symptoms
Various GTSC error codes are displayed to the user. Error codes displayed by GTSC come from mstscax.dll. Here is the list off all error codes and their translations from Microsoft TechNet page:
Code 0 meaning = "No information is available."
Code 1 meaning = "Local disconnection. This is not an error code."
Code 2 meaning = _
"Remote disconnection by user. This is not an error code."
Code 3 meaning = _
"Remote disconnection by server. This is not an error code."
Code 260 meaning = "DNS name lookup failure."
Code 262 meaning = "Out of memory."
Code 264 meaning = "Connection timed out."
Code 516 meaning = "WinSock socket connect failure."
Code 518 meaning = "Out of memory."
Code 520 meaning = "Host not found error."
Code 772 meaning = "WinSock send call failure."
Code 774 meaning = "Out of memory."
Code 776 meaning = "Invalid IP address specified."
Code 1028 meaning = "WinSock recv call failure."
Code 1030 meaning = "Invalid security data."
Code 1032 meaning = "Internal error."
Code 1286 meaning = "Invalid encryption method specified."
Code 1288 meaning = "DNS lookup failed."
Code 1540 meaning = "GetHostByName call failed."
Code 1542 meaning = "Invalid server security data."
Code 1544 meaning = "Internal timer error."
Code 1796 meaning = "Timeout occurred."
Code 1798 meaning = "Failed to unpack server certificate."
Code 2052 meaning = "Bad IP address specified."
Code 2056 meaning = "Internal security error."
Code 2308 meaning = "Socket closed."
Code 2310 meaning = "Internal security error."
Code 2312 meaning = "Licensing timeout."
Code 2566 meaning = "Internal security error."
Code 2822 meaning = "Encryption error."
Code 3078 meaning = "Decryption error."
Cause
No.1 Mstscax.dll is not registered correctly on the client PC
Sometimes this happens if user was using grdpclient.exe before upgrading to 3.4 and on his PC mstscax.dll is pointing to CD partition of the USB key (because of the old grdpclient used before).
No.2 Other codes like 2056, 2025, 2052, 3078 are displayed if there are issue with TS server or Client settings
No.3 Code 516 is displayed if terminal server or user‘s PC is not responding, or wrong IP/DNS name of terminal server or user PC is specified in the G/On menu action..
Solution
Error codes will be converted to the their meaning in the future (3.4.1) version of G/On.
No.1
a) include parameter /forceHKCU into the gtsc string
OR
b) try re-register the mstscax.dll using: regsvr32 for e.g. running such line in CMD:
C:\Windows\System32\regsvr32 C:\Windows\System32\mstscax.dll
No.2
Code 3078 points to the setting on terminal/client regarding security settings. Try for e.g. on TS to set: “negotiate security”.
If you have users who get Error code 2056, use the solution described in KB0028 - "TS window disappears"
No.3
Verify:
- Terminal server‘s/users PC‘s IP/DNS name in the G/On menu action;
- Verify that terminal server is configured to accept the remote connections and/or users have right to connect;
- Verify if user‘s PC is configured to accept RDP connection and/or user has rights to connect (for e.g. if user has blank password, connection to RDP will nt be possible);
- Make sure the TS server or RDP Desktop is accepting the connections (e.g. connect to terminal server or user‘s PC inside the LAN using mstsc.exe);
Related file
Kommentarer
Log i eller create en bruger konto for at kommenterer.
more info on 516 error
Zilvinas Grigonis
01. juli 2010 12:28:37