Link to home
Start Free TrialLog in
Avatar of antonioking
antoniokingFlag for United Kingdom of Great Britain and Northern Ireland

asked on

HTTP Error 500.19 on RD Web

Our Remote Desktop Services website has randomly stopped working

Users are reporting a 500 Internal Server Error.


Any help would be appreciated! Hopefully we can resolve this without reinstalling the RDS roles! I see this error has come up


The specific error details are as follows...
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Most likely causes:
+the worker process is unable to read the applicationhost.config or web.config file.
+ There is malformed XML in the applicationhost.config or web.config file.
+ The server cannot access the applicationhost.config or web.config file.

Things you can try:
+ Look in the event logs for information about why the configuration files are not readable.
+ Make sure the user identity specified for the application pool, or the authenticated user, has the required permissions to access the web.config file.

Detailed Error Information:
Module DynamicCompressionModule
Notification SendResponse
Handler ExtensionlessUrlHandler-Integrated-4.0
Error code 0x8007007e
Requested URL https://localhost:443/
Physical Path C:\inetpub\wwwroot
Logon Method Anonymous
Logon User Anonymous
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America image

Can you post the web.config for the site?

Dan
Avatar of antonioking

ASKER

Thanks for the reply,
Where would I find that ?
There should be a file named "web.config" in the root of the web site.  Based on the error message above, that location is:  C:\inetpub\wwwroot\

Dan
Hi Dan
Thanks for that, here is a copy of our web.config...
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <httpRedirect enabled="true" destination="https://remote.domain.com/rdweb" childOnly="true" />
    </system.webServer>
</configuration>

Open in new window

Are there any errors in the Application Event Log?

Also, have you edited this file or is your domain really domain.com?

Dan
Also, have you followed this process after deploying RD Web?

Link:

http://anandthearchitect.com/2013/11/10/rds-2012-redirect-rdweb-page-from-iis-default-root-site/

To me it appears that someone has used the generic or example info to enable the recommended http redirect.  Instead of using the real AD domain name, the example domain name was input.

Dan
Sorry I replaced our domain name with "domain" when posting the code.
Ok, just wanted to make sure.

Can you access the root of the website?  with or without SSL?

Dan
The other thing that needs to be done is to enable Failed Request Tracing to see which DLL is missing and causing this error.

How to enable Failed Request Tracing:  http://blogs.msdn.com/b/benjaminperkins/archive/2012/01/02/enable-and-activate-failed-request-tracing-rules.aspx

After it is enabled, try to access the site several times and then please post the log.

Dan
Are there any errors in the Application Event Log?
None that relate to IIS

Also, have you followed this process after deploying RD Web?

Link:

http://anandthearchitect.com/2013/11/10/rds-2012-redirect-rdweb-page-from-iis-default-root-site/
I hadn't but have now removed that web.config file and followed the instructions in that guide.

Can you access the root of the website?  with or without SSL?
Nope, no matter what page, same 500 error.

The other thing that needs to be done is to enable Failed Request Tracing to see which DLL is missing and causing this error.

How to enable Failed Request Tracing:  http://blogs.msdn.com/b/benjaminperkins/archive/2012/01/02/enable-and-activate-failed-request-tracing-rules.aspx

After it is enabled, try to access the site several times and then please post the log.
Attached :)

Thanks
The log file is not attached.

Dan
The log file is not attached.
Now attached, apologies
fr000008.xml
You need to install the following IIS Features:

- Static Compression
- Dynamic Compression

1. Go to the Server Manager
2. Select Manage
3. Add Roles and Features
4. Installation type, click Next
5. Server select, make sure your IIS server is selected, click Next
6. Server Roles, scroll to Web Server (IIS), expand the role
7. Expand Web Server
8. Expand Performance
9. Select both options.  Static Content Compression & Dynamic Content Compression
10.  Click Next all the way out until the features get installed

After the new features are installed, open IIS Manager, Select the Server.  Under the IIS section, open the Compression feature and make sure both content compressions are checked.  If not, check both and click Apply.

Dan
Hi Dan
Thanks for taking your time to help me out.

You need to install the following IIS Features:

- Static Compression
- Dynamic Compression

Both features are already installed
Ok, are they enabled?

The trace is indicating that the modules cannot be found.

Dan
Hi Dan

Ok, are they enabled?

The trace is indicating that the modules cannot be found.
Yep both "Enable dynamic content compression" and "Enable static content compression" are enabled.
Can you check that compression is also enabled at the site level?

Then from a run as admin command prompt, do an iisreset.  Then try hitting the site.

Dan
Can you check that compression is also enabled at the site level?

Then from a run as admin command prompt, do an iisreset.  Then try hitting the site.

Hi Dan
Compression settings are enabled at site level too.
I've ran IISRESET with elevated command prompt but to no avail.

Regards
ASKER CERTIFIED SOLUTION
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you!

This specific post helped..
https://forums.iis.net/post/1974992.aspx
I can now load all pages.

Thank you very much for your help!