500 Internal Server Error - Any Upload via Wordpress Admin Panel - wordpress

I am running a Wordpress website on Windows Server 2012 on VPS. I am receiving 500 Internal Server Error when I try to upload anything such as theme, media, plugin via adming panel of wordpress site. I am wondering why is this happenning.
What I could find so far is:
Most likely causes:
IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
IIS was not able to process configuration for the Web site or application.
The authenticated user does not have permission to use this DLL.
The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
Things you can try:
Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
Check the event logs to see if any additional information was logged.
Verify the permissions for the DLL.
Install the .NET Extensibility feature if the request is mapped to a managed handler.
Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
Detailed Error Information:
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP-php
Error Code 0x80004005
Requested URL
Physical Path
Logon Method Anonymous
Logon User Anonymous
More Information:
This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.
View more information »
Microsoft Knowledge Base Articles:
294807

Ok, I have found the solution after a day of research. In my case the error was the PHP Support. I changed the PHP support in Plesk from Fast CGI to CGI then boom. It worked. Hope it will help you some how.

Related

Getting 'A fatal error occurred while creating a TLS client credential' error when browsing/trying to access the site hosted in IIS 10 WS 2016

We have a website hosted in the IIS 10 in the Windows Server 2016. It was working normally until today. All of a sudden it stopped working
When trying to browse the site in the IIS via the 'Manage Websites' section, we get the message on the browser that the site can't be displayed
When I try to change http to https I get a different message
When I check the event viewer, in the System Logs section I get a different message
A fatal error occurred while creating a TLS client credential. The
internal error state is 10013.
I looked all over Google, I made sure that all instances of TLS are checked, all permissions are issued to the C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys folder, I checked all the registries and made sure all the proper TLS properties are there.
No matter what I do that error is not going away, and I am unable to view any site hosted in the IIS
Can some one suggest any solution? Thank you in advance
The reason behind the issue is on your machine TLS 1.2 is not enabled.
You can try below steps to slove this issue:
open the registry editor.
go to the below section:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2
set below value to the particular section:
client:
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001
Server:
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001
restart your machine after editing registry key values.
More information you can refer to this link: https://stackoverflow.com/a/53635769/13336642.
Found the solution. It turns out I had to assign correct certificates in the binding section for the https (443 port)

Unknown Error on Remote Server

I have a web api running on a remote server that I connect to over VPN in order to deploy updates.
I installed the Rewrite Module for IIS 7 and made a rule to rewrite http to https for all requests.
Suddenly I am getting this error when I attempt to acquire an authorization token (OAuth):
{
"error":"server_error",
"error_description":"Exception has been thrown by the target of an invocation."
}
And this message for any api endpoint:
I cannot for the life of me figure out what's going on. How can I get a more useful error message from asp.net or iis? I cannot do remote debugging and the server does not have visual studio installed.
I have undone all the modifications I made and its still broken.
This is usually a sign that IIS is having problems even starting the application. I'd remove everything from the web.config file and add each line in one by one until you get back to this error message. If it is an application error (i.e., something in your code) you would get a 500. Since you aren't getting a 500, it is a lower level than your application and the next lower level is IIS parsing your web.config file before serving requests.

Exe Hosted in IIS Calling Generates Http 405 Method not alllowed Error

I want to use Testtrack SDK API and for that needs to host Test Track SDK server on my server Machine, When I had installed Test Track on my server machine and tried to call it through code it gives me Error Http 405 method not allowed.
Is there any specific things which needs to be done in IIS to run exe ?
The 405 error is a security issue with the IIS web server. You can find step by step instructions for configuring CGIs with IIS in the TestTrack user documentation.
http://help.seapine.com/testtrack/2015.0.1/ttinstall/Default.htm#cshid=WebServerConfigIIS7_8

How to Host Service svc on Local IIS?

I am hosting site on my local IIS, The service (*.svc) file i put in MyProjectFolder/Service directory . I am getting following error. I am calling service from ajax call direct through service path. "neo.Mysite.Net/Prent.svc"
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension
configuration. If the page is a script, add a handler. If the file
should be downloaded, add a MIME map
Most likely causes:
•The directory or file specified does not exist on the Web server.
•The URL contains a typographical error.
•A custom filter or module, such as URLScan, restricts access to the file.
Things you can try:
•Create the content on the Web server.
•Review the browser URL.
•Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here
U could refer this short and simple blog post http://weblogs.asp.net/stevewellens/calling-wcf-services-with-jquery-stripped-down

Typing localhost in the browser throws HTTP 401.2 UnAuthorized error: IIS 7.5

When I type localhost in the browser, I am not able to see the IIS page that would normally show, rather it complains HTTP 401.2 UnAuthorized error. I am running IIS 7.5.
I tried changing the hosts file in C:\Windows\System32\drivers\etc to include
127.0.0.1 localhost
(without # sign)
Is there anything else I need to do to get this working. Please help.
Detailed Error Information
Module IIS Web Core
Notification AuthenticateRequest
Handler StaticFile
Error Code 0x80070005
Requested URL http://localhost:80/
Physical Path C:\inetpub\wwwroot
Logon Method Not yet determined
Logon User Not yet determined
Looks like an authentication issue. What type of authentication is enabled ? How do you handle it ?
Check that only anonymous authentication is enabled if you don't need authentication. And make sure that the folder that holds your website is accessible by IIS application pool working thread.

Resources