Event ID 1004 — RemoteApp and Desktop Connection Configuration

Applies To: Windows Server 2008 R2

RemoteApp and Desktop Connection is configured by using the Control Panel.

Event Details

Product: Windows Operating System
ID: 1004
Source: Microsoft-Windows-RemoteApp and Desktop Connections
Version: 6.1
Symbolic Name: TSWORKSPACE_SETUP_NO_WORKSPACE_ERROR
Message: The URL you typed does not have a connection.

Make sure that:

%t- You typed the correct connection URL

Connection name: %1
Connection URL: %2
Error code: %3, %4

Resolve

Identify and fix RemoteApp and Desktop Connection URL issues

To determine how to fix this error condition, examine the error code report in the event message text.

The event message can report the following error codes:

  • TS_WORKSPACE_E_INVALID_FEED_XML (0x80040204L)
  • TS_WORKSPACE_E_BAD_SERVER_STATUS (0x80040205L)
  • TS_WORKSPACE_E_ZERO_LENGTH_FEED (0x80040207L)

TS_WORKSPACE_E_INVALID_FEED_XML (0x80040204L)

This error code indicates data coming from the RemoteApp and Desktop Connection URL is not in the correct format. You must ensure that the RemoteApp and Desktop Connection URL is correct. You can do this by creating a new RemoteApp and Desktop Connection.

To create a new RemoteApp and Desktop Connection:

  1. On the client computer, open RemoteApp and Desktop Connections. To open RemoteApp and Desktop Connections, click Start, and then click Control Panel. In the Search Control Panel box, type RemoteApp and then click Set up a new connection with RemoteApp and Desktop Connections.
  2. In the Connection URL box, type the RemoteApp and Desktop Connection URL, and then click Next.
  3. On the Ready to set up the connection page, click Next.
  4. Click Finish.

TS_WORKSPACE_E_BAD_SERVER_STATUS (0x80040205L)

This error code indicates that the server that is hosting the RemoteApp and Desktop Connection is returning an HTTP status code that is not expected. Use Internet Information Services troubleshooting procedures to further diagnose the problem (https://technet.microsoft.com/en-us/library/dd364124(WS.10).aspx).

TS_WORKSPACE_E_ZERO_LENGTH_FEED (0x80040207L)

This error indicates that the RemoteApp and Desktop Connection URL is returning an empty file. You must ensure that the RemoteApp and Desktop Connection URL is correct. You can do this by creating a new RemoteApp and Desktop Connection.

To create a new RemoteApp and Desktop Connection:

  1. On the client computer, open RemoteApp and Desktop Connections. To open RemoteApp and Desktop Connections, click Start, and then click Control Panel. In the Search Control Panel box, type RemoteApp and then click Set up a new connection with RemoteApp and Desktop Connections.
  2. In the Connection URL box, type the RemoteApp and Desktop Connection URL, and then click Next.
  3. On the Ready to set up the connection page, click Next.
  4. Click Finish.
  5. If the issue is still not resolved, use Internet Information Services troubleshooting procedures to further diagnose the problem (https://technet.microsoft.com/en-us/library/dd364124(WS.10).aspx).

Verify

To verify that RemoteApp and Desktop Connection is configured correctly, you should start a RemoteApp program that is published by using RemoteApp and Desktop Connection.

To start a RemoteApp program that is published by using RemoteApp and Desktop Connection:

  1. On a client computer, click Start, point to All Programs, point to RemoteApp and Desktop Connections, point to Enterprise Remote Access, and then click a RemoteApp program.
  2. Verify that the RemoteApp program opens successfully.

RemoteApp and Desktop Connection Configuration

Remote Desktop Services