Archive for December, 2009

First try to restart the Plesk service to see if that clears the issue:

/etc/init.d/psa restart

If you see any of the following errors that means the Plesk password is out of sync with the MySQL database which holds that info:
*Unable to connect to database
*login.php3: Unable to connect to database: Permission denied
*ERROR 1045: Access denied for user: ‘admin@localhost’ (Using password: YES)

This does happen from time to time which is why Plesk provides a tool to re-sync this:

export PSA_PASSWORD=’NEW_PASSWORD’ ; /usr/local/psa/admin/sbin/ch_admin_passwd; unset PSA_PASSWORD

Of course make sure to replace NEW_PASSWORD with the current working one, or a new one if needed.

Full Error:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
to the user NT AUTHORITY\NETWORK SERVICE SID (serviceID). This security permission can be modified using the Component Services administrative tool.

1. First take note of the GUID from your specific error (numbers between {}).

2. Open the registry editor (Start -> Run -> regedit)

3. Click the computer name at the top of the menu on the left. Then choose Edit -> Find and paste the GUID from step #1

4. This will show you the specific service having the issue. In this example the service was “IIS Admin Service”

5. Open up Component Services (Start -> Administrative Tools -> Component Services)

6. Expand Component Services -> Computers -> My Computer -> DCOM Config

7. Right click the specific service you found in step #4 and select Properties -> Security tab

8. In the first area “Launch and Activation Permissions” check the “Customize” radio button and then “Edit”

9. Add the specific user that encountered the error and give it local launch and activate permissions. You can find this service in the error message and in this example it is the Network Service user:

10. Restart IIS to apply the change


Run the following query on the database in question to “resync” this login information:

EXEC sp_change_users_login 'Auto_Fix', 'UserName', NULL, 'Password'

Make sure to replace UserName and Password with the appropriate login information. If you don’t know the current password and the user already exists, simply run the command without the NULL and Password fields.

By default 2.0 uses garbage collection that is designed for a multi-processor environment. If your server does not have multiple CPUs or you are seeing excessive Out of Memory exceptions, disabling this garbage collection should bring memory usage down.

First open the aspnet.config file with a text editor like Notepad. This file can be found here:
.NET Framework 2.0:

.NET Framework 1.1:

Within the <runtime> tags add the following:
<gcServer enabled=”false”/>

Save the file and you are good to go.