Wednesday, May 15, 2013

Project Server 2010 error opening project "Project is read only"


When Project Professional is attempting to open a project from Project Server 2010, it will look at the status of local cache for that project. The local cache will override the server version.
Sometimes the users are unable to open the project from Project Server despite of deleting local cache.
Resolutions are of course:
1.      Delete the local cache using the Project Professional > File > Options > Save > Clean Up Cache
2.      PWA > Server Setting > Force Check-in Enterprise Objects > Check In the appropriate project.
3.      A third & important option – Note the folder location of the cache location in the step above. Usually it will be C:\Users\username\AppData\Roaming\Microsoft\MS Project\14\Cache\. There are subfolders in this “Cache” directory in the form of {xxx-xxx-xxx}.PROD.Domain\Username. You need to delete this {xxx} folder BUT you have to close Project Pro first as it locks the cache folders from being deleted.

Error: "The Managed Metadata Service or Connection is currently not Available”


"The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator."
  1. Open Central Administration by going Start | All Programs | Microsoft SharePoint 2010 Products | SharePoint 2010 Central Administration.
  2. Click on Manage Service Application which is available in Application Management section.

  3. When you click on Managed Metadata Service application, sometimes you may get the following error:

  4. Go and check whether the Managed Metadata Service has been started.
  5. Click on Application Management in the quick launch.
  6. Click on Manage services on server under Service Applications section.
  7. Check whether the Managed Metadata Web Service is started; if not then click on Start.

  8. Do an IISRESET.
  9. Now you could be able to see the Managed Metadata Service properties as shown in the following figure:

  10. If you still face the same issue, go to IIS and check whether the Application pool for the metadata service is started (Note: Check the account in which the application pool for the metadata service is running. Sometimes if the password for the account is changed, you will get the same issue.).
Thus in this article you have seen how to resolve the following error "The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator."

replace default farm administrator


How can we replace default farm administrator to any other account or vice - verse ? Please let me know the steps required to perform this task if possible or if not possible please provide an alternative.
Even though it's possible it's not a good idea doing that, I'll recommend if possible to reinstall SharePoint, do it again, do it right!
However if you decide to change it, here is the instructions, they are provided without any guarantee!
Go to Central Administration -> Security, click the Configure Service Accounts link under General Security head. Then select Farm Account from the doprdown list. Make sure the account you use have all the permissions. You need those permissions:
The server farm account is used to perform the following tasks:
Configure and manage the server farm.
Act as the application pool identity for the SharePoint Central Administration Web site.
Run the Microsoft SharePoint Foundation Workflow Timer Service.

Type av account:
Domain user account.

Additional permissions are automatically granted for the server farm account on Web servers and application servers that are joined to a server farm.
The account is added to the following SQL Server security roles:
dbcreator fixed server role
securityadmin fixed server role
db_owner fixed database role for all SharePoint databases in the server farm

SQL Server Reporting Services - rsReportServerDisabled error


SQL Server Reporting Services - rsReportServerDisabled error

A while ago I had to test a report created with SQL Server 2000 Reporting Services.  After installing Reporting Services and uploading the reports, went I attempted to access them I was shown the following error message.
Error rsReportServerDisabled : The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content and then restart the service
C:\Program Files\Microsoft SQL Server\80\Tools\Binn> rsactivate -r -c"C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\RSReportServer.config"
After which, everything worked just fine.

Unknown error occurred while adding user to farm admins

Error message when you add a user into a Farm Administrators group in SharePoint Foundation 2010 or in SharePoint Server 2010: "An unexpected error has occurred"
You add a user into a Farm Administrators group in SharePoint Foundation 2010 or in SharePoint Server 2010. In this case, you receive the following error message:
An unexpected error has occurred.
This issue occurs when you are not a local administrator.
To work around this issue, you must be a member of both the following groups on the server that is hosting the SharePoint Central Administration Web site:
·         Farm administrators group
·         Local administrators group

Check ULS logs for the error from administrative tools ->Event Viewer ->Windows logs -> Application -> trace the error in SP Foundation -> “Local administrator privilege is required to update the Farm administrator’s Group”
Add the user to local admins and logoff then log on

SharePoint Central Admin Accessibility (Unknown error Occurred) Application Server Administration job failed for service instance

 Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (GUID).


Reason: Logon failure: unknown user name or bad password

Techinal Support Details:
System.ComponentModel.Win32Exception: Logon failure: unknown user name or bad password at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.SynchronizeDefaultContentSource(IDictionary applications)
at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

So you might have changed search service account manually, if you have changed farm admin account please run script mentioned in following article
this is the procedure to update farm admin account
How to change service accounts and service account passwords in SharePoint Server 2010

To change the passwords for service accounts in SharePoint Server 2007 and in Windows SharePoint Services 3.0, follow these steps.

Note If the Microsoft SQL Server service uses a domain account, and the password for that domain account is either expired or invalid, make sure that you update the password for the domain account first.
1.      Update the password for the account that is used by the Central Administration application pool. To do this, follow these steps:
a.      On all servers in the server farm, open a command prompt, type the following line, and then press Enter:
cd %commonprogramfiles%\Microsoft Shared\Web server extensions\14\Bin
b.      Do one of the following:
§  On the server that hosts the Central Administration website, type the following line at the command prompt, and then press Enter:

stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword
§  On all other servers in the server farm, type the following line at the command prompt, and then press Enter:

stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword -local
c.       Restart Internet Information Services (IIS) 6.0. To do this, type the following line at the command prompt, and then press Enter:
iisreset /noforce
2.      Verify that the Administration Application Pool Credential Deployment job definition is no longer displayed on the Timer Job Definitions page of SharePoint 3.0 Central Administration. To do this, follow these steps:
 .        Open SharePoint 3.0 Central Administration, click Operations, and then click Timer job definitions under Global Configuration.
a.      Verify that the Administration Application Pool Credential Deployment job definition is no longer displayed in the list.

Note If the Administration Application Pool Credential Deployment job definition is displayed in the list, wait until it disappears from the list.
3.      Update the password for the application pool account that is used by web applications on the server farm. To do this, type the following line at a command prompt on every server on the server farm, and then press Enter:
stsadm -o updateaccountpassword -userlogin DomainName\UserName -password NewPassword -noadmin
4.      Update the password for the account that is used to run the Windows SharePoint Services Help Search service. To do this, type the following line at a command prompt on every server on the server farm, and then press Enter:
stsadm.exe -o spsearch -farmserviceaccount DomainName\UserName -farmservicepassword NewPassword
5.      Update the password for the default content access account that is used by the Windows SharePoint Services Help Search service. To do this, type the following line at a command prompt on every server on the server farm, and then press Enter:
stsadm.exe -o spsearch -farmcontentaccessaccount DomainName\UserName -farmcontentaccesspasswordNewPassword
6.      If you are running SharePoint Server 2007, you must also follow these steps:
 .        Update the password for the account that is used by every Shared Services Provider (SSP) on the server farm. To do this, type the following line at a command prompt on every server on the server farm, and then press Enter:
stsadm.exe -o editssp -title SharedServicesProviderName -ssplogin DomainName\UserName -ssppassword NewPassword
a.  Update the password for the account that is used to run the Office SharePoint Server Search service. To do this, type the following line at the command prompt, and then press Enter:
stsadm.exe -o osearch -farmserviceaccount DomainName\UserName -farmservicepasswordNewPassword
b.  If the server farm is configured to use single sign-on, update the password for the account that is used by the Microsoft Single Sign-On Service. To do this, follow these steps:
1.      Click Operations in SharePoint 3.0 Central Administration, and then click Service accounts under Security Configuration.
2.      Under Windows service, click Single Sign-On Service.
3.      Under Configurable, specify the password, and then click OK.
c.       Update the password for the default content access account that is used by the Office SharePoint Server Search service. To do this, follow these steps:
0.      Open SharePoint 3.0 Central Administration, and then click the link to the SSP web application under Shared Services Administration.
1.      Under Search, click Search settings, and then click Default content access account.
2.      Specify the password to use for the content access account, and then click OK.

Changing the SharePoint 2010 Admin Password in Window Based Authentication Mode, Reporting Service Account Configuration

(Changing the Password without configuring the steps for services below will cause “Service Unavailable Error” while “Page cannot be Displayed Error” if AppPool is not started.)
It is caused because either the password for the farm admin has expired or the user had changed the password.
1.      Change the Admin Password by Pressing Alt+Ctrl+Dlt -> Change a Password
2.      Go to Run -> Services.msc or Start -> Administrative Tools ->Services
3.      Go to the Services that use that admin account as log on
4.      Change the Password of all the Services using that account
5.      Restart the service if it was running already or if you want to start it.
6.      Go to IIS Manager ->Application Pools
7.      For each application pool running with the admin account
8.      Set the Password for admin
9.      Repeat the process for all the App Pools
10.  Reset IIS Web Server from cmd -> iisreset –noforce or restart it manually.
Reporting Service Account Configuration
1.                  The account must be part of administrators in the AD and on the local system if it is a  farm solution
2.                  From Services in Administrative Tools change the Logon admin to new Reporting service account
3.                  Change Reporting Service account in RSConfig.exe or config tool
4.                  Ensure backup of encryption key
5.                  In the Database menu on the left  ->Change Database -> Choose an existing report server Database -> Next
6.        
7.                  Choose the report server DB
8.                  Press next and complete the process then apply all changes and Exit.
9.                  Grant full permissions to the user to SQL Server
10.              Log off the system and log on again to ensure implementation of the changes
11.              Reporting Service integration in Central Admin
12.              Change user and Password on Every Report