WordPress Local Error 500

Learning every day…

Lessons Learned from the field

SCOM 2012 SP1, error 500 Internal Server Error when using Web Console

With a fresh install of SCOM 2012 SP1, the Web Console gave me this error.
I was able to logon to the website, see the list of reports on the left, but when i selected one of the reports (Active Alerts for instance) i got this error 500.
On the server itself i got a more precise error:
HTTP error 500.19 – Internal Server Error
HRESULT: 0x800700b7
The requested page cannot be accessed because the related configuration data for the page is invalid.
There is a duplicate ‘uri’ section defined in file Web.Config

So this pointed me to the file Web.Config, which had a single record of uri, but also this sentence:

“Note, the URI config section is not declared in machine.config for .NET 2.x-3.x, so declaring it explicitly here”

But in IIS 7.5, the Application Pools were all configured to use .NET 4.
So this could very well be the cause of the duplicate uri section.

In IIS, i changed the Application Pools in IIS for OperationsManagerMonitoringView to use .NET 2 instead of 4.
AFter that, a recycle of the application pool, en presto, the OperationsManager Web Console was working again.

Tag: htaccess internal server error 500

WordPress problem in localhost- .htaccess causing internal server error 500

.htaccess in WAMP Server (in WordPress local installation) showing internal server error 500, how to solve it?

The solution is :

  • Left Mouse Click on Wampserver icon in the System Tray in Windows7/XP etc and
  • Goto Apache -> httpd.conf
  • a file will open and in it
  • and search “#LoadModule rewrite_module modules/mod_rewrite.so”.
  • Remove the # as below and save it as follows
  • LoadModule rewrite_module modules/mod_rewrite.so
  • then restart all service.

Actually you need to enable the mod_rewrite module in Apache server. In the httpd.conf file, the configuration file of Apache, find “LoadModule rewrite_module modules/mod_rewrite.so” and remove the pound (#) symbol from the beginning of this line and then save the file and restart WAMP by left mouse click- restart all services.

Also in some cases you need to change AllowOverride none in the httpd.conf to AllowOverride all as well. Read it in wordpress forum

Reference Reading :Some more information on Apache HTACCESS internal server error 500 in Wamp or wordpress installation in wamp server visit this page

Leave a Reply

Your email address will not be published. Required fields are marked *