iis 6.0 Getting 500 server side error instead of 404 - iis

I am shutting down one of my client sites. After I removed the code from test server, I tested the url and I get 500 internal server error instead of 404. "Verify if file exists" check box for the .aspx application mapping is checked on my test server. Any other ideas?
My test server is running on Windows 2003 Server with IIS 6.0

Related

ARR Requests Not Properly Routing to Server Farm

I have installed ARR on my Windows 2019 server via the IIS Platform Installer and configured it by adding a server farm and adding a single server to it.
I can ping the server and ARR shows it is online. The issue is, when I submit a request from my local PC, it seems to hit the ARR server but it never hits the server farm. The browser returns 404 Not Found.
On the ARR server, if I create a request to "controlcenter.mydomain.com" and view the logs in C:\iislogs\www\HTTPERR I see this error:
2020-10-30 19:14:54 [my local computer IP address] 53391 [my ARR server IP address] 80 HTTP/1.1 GET / - 404 - NotFound -
The sites on my webfarm server are "controlcenter.mydomain.com" and "api.mydomain.com." Do I need to create special rewrite rules for these sub domains? I cannot seem to tell from the documentation.
How can I find out why the request is not being properly routed from the ARR server to the server I've added to my server farm (shown below)?
When I tried to reset runtime statistics on the Monitoring and Management page, it says, "The operation could not be completed because the worker process has stopped."
The health test with URL "http://controlcenter.mydomain.com" succeeds also.
Before you use ARR, you must first make sure to create a site bound to your domain, and then ARR can forward requests for that domain to the server farm.
In order to solve the problem of stopping the work process, there are the following methods.
Setting Ping Enabled to False stops IIS from checking whether the worker process is still running and keeps the worker process alive until you stop your debugged process. Setting Ping Maximum Response Time to a large value allows IIS to continue monitoring the worker process. You can refer to this document.
Run this command from the elevated command prompt on the controller machine.
net stop webfarmservice & cd /d "%programfiles%\iis\Microsoft Web Farm Framework" & mkdir extensions & move WFFExtension.dll extensions & net start webfarmservice
When I tested in my environment and killed the w3wp.exe, health test returned success but status of servers were unknow. This command solved the issue.
Delete the server farms and restart the IIS, then re-create server farms and add servers.

Issue with connecting to Zoom API via Cloudflare

I am trying to send requests to Zoom API via a HTTP request. When testing on my local machine it works perfectly but when I try it on our production server I get the following error:
msxml6.dll error '80072efe'
The connection with the server was terminated abnormally.
We use Cloudflare for security with our website, does anyone know what the resolution here maybe?
The server is running on Windows Server 2008 R2 using IIS 7.5.
I found the cause of the issue.
It wasn't CloudFlare, it was the server object I was using in my function.
I changed the following line from this:
Set ServerXmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")
to this:
Set ServerXmlHttp = Server.CreateObject("MSXML2.XMLHTTP.6.0")
Problem solved.

http error 500 internal server error from another machine

This is probably something very simple. I set up a simple ASP-based web server on Server 2012R2 and IIS6. The IP address of the web server is 192.168.18.142. I then opened up a browser (Chrome). Any of these URLs bring up the website on the web server just fine.
http://localhost/
http://127.0.0.1/
http://192.168.18.142/
Then I went to a different machine (behind the same router), opened the browser and tried to bring up:
http://192.168.18.142/
However I received this error in the browser:
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
I even tried turning off the Windows Firewall on the web server to no avail. Any idea what configuration settings to look at?
Why does the URL work when on the web server but not from other machine?

Getting net::ERR_CONNECTION_RESET Intermittently with Node API Hosted in IIS using IISNODE

I have a video streaming API developed in Node.js using the Express module.
This API is hosted on my local machine under IIS 8.5 using iisnode module, which makes the IIS as my reverse proxy server and the express (node) as my web server.
When I hit my API URL in the browser, it plays the video for a while and then I get net::ERR_CONNECTION_RESET error.
I get this error after few minutes (approx 7 mins.), but there is no specific time duration observed.
I see below two errors in HTTPERR folder under "C:\WINDOWS\system32\LogFiles\".
2019-05-09 14:55:39 ::1%0 64836 ::1%0 3005 HTTP/1.1 GET /api/videolib/streamvideo?id=f80b4ae0725f11e9b42fcb6803fde91b - 8 Connection_Dropped VideoLibrary.WebAPI.Node
2019-05-10 08:51:02 ::1%0 54848 ::1%0 3005 HTTP/1.1 GET /api/videolib/streamvideo?id=f80b4ae0725f11e9b42fcb6803fde91b - 8 Connection_Abandoned_By_ReqQueue VideoLibrary.WebAPI.Node
I have observed that, I don't get this error at all when I run the API directly under Node.exe thus bypassing the IIS and IISNODE altogether on my local machine.
However, I have no choice but to use IIS and IISNODE in production.
UPDATE:
So, I created an API in .NET equivalent to my node API, and hosted it in the IIS; it works fine without issues of any kind.
Now, I know that there is something weird going on with the iisnode module.
I have tried changing couple of settings in iisnode via web.config, but nothing seems to fix this problem.
Any help on this would be greatly appreciated. Thanks.

Total IIS server giving Internal server 500 error

I have an IIS server 7.5 . So it's run fine up to yesterday. suddenly all services/sites are not working. Total sites in the server are giving common error as
Internal Server Error : 500
This issue is with all websites hosted on that server.
could somebody show me some route to solve this issue ?
Thank you.

Resources