Topics

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks

Sunday, February 6, 2011

Why ‘500 Internal Server Error’ on my website? 1

Interference with an .htaccess file

If you have implemented .htaccess on your site, it may be interfering with the web page you are trying to load into your browser. Please double check the .htaccess configurations to ensure that it doesn’t contain any errors.
To confirm whether a misconfiguration .htaccess is the cause of the 500 Internal Server error, either remove or rename the .htaccess file temporarily and then try to reload the page. Source netfirms.com

Friday, February 4, 2011

How to solve "The identity of application pool '%1' is invalid, so the World Wide Web Publishing Service can not create a worker process to serve the application pool. Therefore, the application pool has been disabled." error

A user is considered invalid if it isn't a member of IIS_WPG (Internet Information Services Worker Process Group) or it hasn't been granted the right to logon as a service. To check and possibly fix the latter, follow these steps:
  1. Run Local Security Policy applet which is usually under Administrative Tools or you can Start>Run with "secpol.msc".
  2. Expand the Local Policies node and click User Rights Assignment.
  3. Open the "Log on as service" policy either by double-clicking or right-clicking and selecting Properties.
  4. Click "Add User or Group..." and enter the name of the user for the app pool's identity.
  5. Restart the machine. The security policy is only read on boot.
If this doesn't solve the problem, or for more detailed information you can check the Security Event Log for the user you specified as the identity around the time the problem occurred. There will usually be three entries under the categories: Logon/Logoff, Privilege Use, and then another Logon/Logoff. You can look at these to see what privileges that user was granted when it logged in, what came up when privileges were queried, etc. It's fairly hefty material. Source Neilstuff.com

How to Solve "Mutex could not be created." Error

This can happen on ASP.NET sites when you attempt to change application pools while IIS is still running. The surest fix is simply an IISRESET. Unless the IIS service itself is restarted, there doesn't appear to be any way to fix this.  Source Neilstuff.com

How to solve "No primary driver specified in configuration" error

The ASP.NET application can't find its "web.config" file.

How to Solve "Parameter is incorrect." error

If you get this when setting up a new website with the IIS Manager then it could be that the DefaultAppPool has been deleted. If that's the case, then just select an existing app pool in the website properties. Source Neilstuff.com