IIS website fails with error 500 when clicking links in the page.

Patrick Doman
Patrick Doman used Ask the Experts™
on
When users visit a website hosted on a virtual server at a client site, they are getting a Error and have to refresh the page. 2019-10-10_13h25_26.png
If I select the URL in the toolbar, and hit enter, the page refreshes and it comes up. but then I click on a menu option and it will then time out with the same error unless I hit the uRL and press enter to refresh the page. I have to do this every time I move from one link to another.

The server the site is on is Server 2016.
IIS is where the site is hosted.

I don't see any security updates with Microsoft that could be causing this block. The support entity told me to uninstall a specific security patch that isn't installed. So not sure where to go.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Frank McCourryV.P. Holland Computers, Inc.

Commented:
ASP?  ASP.NET?  

It may help to set IIS to send error messages to the browser.  To do this, Open Error Pages in the IIS configuration for the site, then Edit Feature Settings.  Select Detailed Errors.  Next open ASP and find debugging Properties and set Enable Client-Side Debugging and Send Errors to Browser to True.  Now reload you page and you should see the error message.
Patrick DomanCTO / President

Author

Commented:
I went into IIS, went into Error Pages, and the third option is already selected.
I went in and changed the deal to Send error to browser, set that to true, nothing happens differently, I still get the error as attached.

I click on the URL up top in the browser, everything highlights, I hit enter to refresh the page, I see the data I need to.
I click the next tab or any other tab, I get the same error until I click the URL up top and hit enter to refresh the page.
2019-10-10_14h19_21.png
2019-10-10_14h21_01.png
Frank McCourryV.P. Holland Computers, Inc.

Commented:
Use the second option.  Detailed errors.  Sometimes the server is unaware that it is itself...
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Patrick DomanCTO / President

Author

Commented:
Active Server Pages error 'ASP 0115'

Unexpected error

/group_status.asp

A trappable error (C0000005) occurred in an external object. The script cannot continue running.

Active Server Pages error 'ASP 0240'

Script Engine Exception

/group_status.asp

A ScriptEngine threw exception 'C0000005' in 'IActiveScript::Close()' from 'CActiveScriptEngine::FinalRelease()'.
Patrick DomanCTO / President

Author

Commented:
From user: I get to the site but if I click on sites I get back to the same thing. I refreshed again and I can get a list of stations but if I try to see individual stations or even a 2nd page of  inventories I get kicked out with the same error.
Frank McCourryV.P. Holland Computers, Inc.

Commented:
I would start here:PRB: Error "ASP 0115 a Trappable Error Has Occurred"

Unfortunately, that is a generic error and there is not much info to go on...
Frank McCourryV.P. Holland Computers, Inc.

Commented:
Just a thought, I had a similar issue, though not exactly.  Open IP and Domain restrictions and check to see if Dynamic IP restrictions are being used.  The defaults are usually way to low.  If the site is only locally used, then turn it off. If it is publicly available try these values:  Dynamic IP restrictions
Patrick DomanCTO / President

Author

Commented:
The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again.

Seeing this under Test connection option.
Patrick DomanCTO / President

Author

Commented:
The application vendor is connected now.
The weird thing is that yesterday at 11am it stopped working.
There wasn't an update installed at that time.
When I did connect up, the system needed to be rebooted.

I checked the log files, everything looked normal there.
The vendor is thinking the issue has to do with a security update that was installed, but its been working since the last update which was installed on 10/5.
There is a pending update even though I have rebooted 3 times today, KB4519998
This doesn't appear on the outside to have anything to do with the issue we're having but its possible that update is a problem

He took some screen shots and will discuss with developers.
This just seems weird. There was a patch failing to install, So when I logged into the server yesterday when the end user said the site was failing, the computer would hang at the shutting down or restarting page with "Installing update, please don't power off" message. It would sit there for more than an hour. I did power it off to get the computer to respond again. It was just hanging. That could be the update that failed. KB4516061 & KB4516044
Those two updates didn't try to install again today even though I ran windows update

I don't know if the issue is update related, the way the server is erroring out, because I can simply refresh the page and things work, it seems that its IIS related.
CTO / President
Commented:
What was weird here, is on the server I went into IE, I went to the internet options. I adjusted the settings on the server to add the site as a trusted site. Then, I followed some old school IE browser security settings for O365.

In the custom level button:

- Allow ActiveX Filtering - Enabled
- Allow previously unused activex controls....... - enabled
- Automatic Prompting for Activex controls - enabled
- Download Signed Activex - prompt
- Download unsigned ActiveX - prompt
- Only allow approved domains to use activex without prompting - enabled
- Display mixed content - enable
- Use Pop up blocker - disabled
- Enable XSS filter - Disable
- User Authentication - Automatic login  with current username and password


Then I had the end user try on his machine. No errors anymore.
It could have been adding the site to the trusted sites list. But all of these in conjunction with one another helped!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial