Tuesday, August 10, 2010

Error: Access Services is unable to process the request.

Error:
Access Services is unable to process the request.

(or)


Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Bdc\client.config line 36)

(or)

Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\SecurityToken\client.config line 41)


Reason:
You will get this error, when you are trying to create any site using "Access Database service"  like BDC or "Project Database" templates. The reason is Microsoft missed to update a patch in Windows 7. 

Solution:
So, download a patch from  https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806 (Windows6.1-KB976462-v2-x64.msuand install this in your SharePoint machine. 

Note: Don't forget to restart the machine to take effect.

That's it...


Monday, August 9, 2010

Error: No Access Database Service is available in the farm.[User: SHAREPOINT\system].

Error:
No Access Database Service is available in the farm.[User: SHAREPOINT\system].
(or)
 No Access Data Services is available in the farm.

Reason:
You will get this error, when you are trying to create any site using "Access Database service"  like BDC or "Project Database" templates. The reason is "Access Database Service" may not be started. 

Solution:
Just follow my below steps:

1. Go to central admin 
2. Then go inside the "Application management"
3. Under the "Service Applications", select "Manage services on server"
4. In this page, "Access database service" may be stopped. 
5. Click to "Start" 









Thats it...




Wednesday, August 4, 2010

Error: Method not found: 'Microsoft.SharePoint.Administration.SPContentDatabase Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(System.String, System.String, System.String, System.String, Int32, Int32, Int32, Boolean, Boolean)

Error:
Method not found: 'Microsoft.SharePoint.Administration.SPContentDatabase Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(System.String, System.String, System.String, System.String, Int32, Int32, Int32, Boolean, Boolean)

Reason:
You will get this error while you are trying to add the content database in central admin for any of the existing website.

This is because of some bug in the MOSS 2007 SP2

Solution:
Anyhow you can easily add the content DB using the STSADM tool. Just go to the 12 hive folder in command prompt and type the below command.

stsadm -o addcontentdb -url "http://weburl:5005" -databasename "Your Content DB Name" -databaseserver "Your DB Server"

Thats it....

Tuesday, August 3, 2010

Error: Your Personal site cannot be created because Self-Service Site Creation is not enabled. Contact your site administrator for more information.

Error:
Your Personal site cannot be created because Self-Service Site Creation is not enabled. Contact your site administrator for more information.







Reason:
As mentioned in the error message, the "Self-Service Site creation" is not enabled in your central admin.

Solution:
To enable the "Self-Service Site creation" option, just follow the steps given below:
1. Go to the Central admin.
2. Go to the "Application Management" & Select the specific web application.
3. Now, you can see the "Self-Service Site Creation" option in the Ribbon Menu.
4. Click on that Menu item and Select the "On" option in the pop-up window.


















5. Click "OK" and now click the "My Content" link from your "My Site" site. You can see the "Processing" screen which means that your steps are correct.

















6. Now you can see the newly created personal site. Here, you can create your own blogs, documents, etc... 

















Thats it...

Error: Your personal site cannot be created because the managed path "personal" has not been created for this site. Contact your site administrator for more information.

Error:

Your personal site cannot be created because the managed path "personal" has not been created for this site. Contact your site administrator for more information.






Reason:
You haven't added the "Managed Path" for the the "My Site".

Solution:
Just follow the below steps to add "Personal" path as "Managed Path".

1. Go to "Central admin"
2. Select "Application Management" and select the specific "Web Application".














3. Type the 'MySite Host' URL as I mentioned in the above image. (I have created new site collection for MySite. So, I have added 'sites/mysite/personal' in the above screenshot).

4. Click OK.

Thats it...

In SharePoint 2010, MySite is not Working

Issue:
In SharePoint 2010, If you click on the "people", usually you will be redirected to see their profiles page (My Site). But sometimes, you will get "404 file not found" error.

Reason
The reason is, the "my site" may not be created for the profile or the created profile pages may not be crawled at this time.

Solution: 
To avoid this kind of issues, first we must ensure some of the mandatory points given below:

1. You must create a Site collection from central admin or web application with "Search Center" template.

















2. Create another subsite with "My Host Site" template from "Enterprise" tab through Central admin

3. Then goto "User Profiles Service Application" home page and select the "Setup My Sites" from "My Site Settings" section.

















4. In the next screen, type the search center web application URL under the "Preferred Search center" text box, which we have created in step 1. (Mandatory)

5. Under the "My Site Host Location", Type the URL which we have created in Step 2. (Mandatory)


















6. Then Click OK.

3. Then, Start full import from Search service. (Mandatory)

Thats it...

In SharePoint 2010, Normal search is working and People search result is not working fine. Why?

Issue:
Finally, you may have configured the user profiles synchronization & Search services. Also, you may be able to see the number of profiles under "User profile service" and contents under "Search Service". 

Then, If you have used the search box and search results web parts to display the web application contents (not people), you can able to see the documents, forms, pages, etc... But, you cannot see the "people", if you click on the "people" tab in search results page. (or) you cannot see the results, if you have used the "peopleresults" web part.

What will be reason? :)

Reason:
You may have forgot to add the URL to crawl the people in Search service "ContentSource". So, just add the exact url which will start "SPS3://".

Example:
SPS3://km.sensoft2000.com (just an example)

















Thats it....


Error: The management agent failed on run profile "DS_FULLIMPORT" because of connectivity issues

Error:
The management agent  failed on run profile "DS_FULLIMPORT" because of connectivity issues.

Reason:
You will get this error during the profile import from "User Profile Service" of SharePoint 2010. The reason is the domain name may be mismatched with the actual domain name. Because, you will use the domain name like "sensoft" (just an example). But the actual domain may be different in Profile AD. for example, the actual domain name will be "sensoft.local" for "sensoft". So, you have to change the actual domain name in the "Synchronization  Service Manager". 

Solution:
To resolve this error, just follow the below steps:

1. Login into the SharePoint 2010 server.
2. Open the Synchronization Service Manager from C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell\miisclient.exe
3. Go to "Management Agents" tab & select the "Active Directory Domain Services" type




















4. Double click on it & Select "Connect to ActiveDirectory Forest" 
5. The domain name may be different than the profile "Connection string" provided in the central admin. Give the correct domain name and press "OK". If there is any error, you will get error in this step itself.





















6. Again rigth click on your "Ad Profile Connection string" & click the "Run".




















7. Select "Full Import" option in  the next Pop-up window.
8. Your profile will be crawled successfully, if there is no connectivity error.
9. If you are getting any connectivty error, check my another post,  "http://sensoft2000-sharepoint.blogspot.com/2010/08/error-replication-access-was-denied.html"

Thats it...

Error: Replication access was denied. error code: 8453

Error:
Replication access was denied. error code: 8453

Reason:
You will get this error, while you are trying to crawl the people from Active directory in SharePoint 2010. 

During the people search configuration, the the number of people will not be crawled in SharePoint 2010. Also, you cannot get the actual error straightaway. The right way to get the actual error message is, you have to use the Synchronization service manager. You can get this tool inside the SharePoint server at the below path:
C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell\miisclient.exe 

In this tool, if you "Run" the Profile Import, under the "Operations" tab, you will get the above error message. The error screenshot may be like below:


















Solution:
The resolve this issue, we must provide the access rights to the service account of the "User Profiles" service. OK. What kind of access rights needs to be provided? 

The user should have the "Replicating Directory Changes" Permission in the active directory. To provide this rights to the "service account" user, follow the below steps:

1. Login into the Active directory server.
2. Open the "Active Directory Users and Computers" console.  (C:\WINDOWS\system32\dsa.msc)
3. Right click on the "Domain name" and goto "properties".


















4. Go to security tab and Select the specific service account user. (If the user is not listed, you can add the user by clicking the "Add" button in the same screen).
5. Scroll the Permissions and select the "Replicate Directory Changes" option like the below image.



























Thats it...