有些用户在使用sharepoint的时候出现了错误,现在清风小编就来给大家整理了一下,并给出了处理方案,希望能帮助有需要的朋友:

SharePoint错误大全以及处理方案[图]图片1

 

1. Delete a site collection

· Run command : Remove-SPSite –Identity http://ent132.sharepoint.hp.com/teams/monitor/ –GradualDelete –Confirm:$False

· In CA

Central Administration->Application Management ->Delete a Site collection

Change the site collection

Click ok ,then delete.

· In SQL Server, to find the *_AdminContent,and *_config.

At *_config table ,find the sitemap ,to search the site id (the site id is id (table’s id))

Then find the databaseid . and get the databaseid into databaseinformation in *_AdminContent

 

2. Cannot access to CA

1. Check the SharePoint Central Administration v4 was started

2. And check the whether if it is https

 

3 site permissons

1. Component error

============= Add Farm Administrator ==========

The following exception was thrown when trying to enumerate the collection: "0x80070005<

nativestack>".

At F:\temp\script\sp2010FarmConfig.ps1:484 char:9

+ foreach <<<< ($objUser in $farmadmins.Users)

+ CategoryInfo : NotSpecified: (:) [], ExtendedTypeSystemException

+ FullyQualifiedErrorId : ExceptionInGetEnumerator

2.

3. Click site persissions ,then click and the user to site collection

4. Create root sites

Unable to add NT AUTHORITY\authenticated users into Contribute for Index operation failed; the array index evaluated to null

missing the AuthenUser="Read" at the RootSites

============= Creating Root Sites ==========

the root site  http://ent161.sharepoint.hp.com already exists in farm.

Unable to add NT AUTHORITY\authenticated users into Contribute for http://ent161.sharepoint.hp.com

Exception calling "Add" with "1" argument(s): "Attempted to perform an unauthorized operation."

When I check the $web, found there are some exceptions:

Exception getting "SystemAccount": "Unable to cast COM object of type 'Microsoft.SharePoint.Library.SPRequestInternalClass' to interface type 'Microsoft.SharePoint.Library.ISPRequest'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{BDEADF28-C265-11D0-BCED-00A0C90AB50F}' failed due to the following error: Bad variable type. (Exception from HRESULT: 0x80020008 (DISP_E_BADVARTYPE))."

Solution is:  close the Variables panel on the right! This stops PowerGUI from enumerating all the properties inside certain objects and causing the error.

5. ProvisionSearchServiceApplication

Cannot create new search service application

Cannot create new search servica application:ent17_SearchApp1 ent17_Search1_Admin on GVV10932 contains user-defined schema. Databases must be empty before they can be used. Delete all of the tables, stored procedures and other objects or use a different database.

Resolved :In sql server management studio ,to delete the DB ent17_Search1_Admin

Set-SPEnterpriseSearchAdministrationComponent : The search service instance on this server is

not online

6. Page not found

1. Check content DB had the permission .

2. Check ip address bingding in iis

7. CA page Internet Explorer cannot display the webpage

Check the bingdings ,ip is the local address.

8 . Office Web Apps cache site collection


Create office web Apps cache :

Stop all content db , start owacache

$100G = (1024*1024*1024*100)

$web = (get-spwebapplication)[2]

$url = $web.url

$owner = (get-spuser -web $url -useralias ASIAPACIFIC\XUTI)

New-SPOfficeWebAppsCache $web -MaxSizeInBytes $100G -Owner $owner -ExpirationPeriodInDays 30

9 .SharePoint lists cannot receive e-mail - Event 6872 (SharePoint 2010 Products)


Only sent to C:\inetpub\mailroot\Drop


Change the path to F: CAà System settings


And change the domains to f:



10 Exception from HRESULT: 0x80131904

May be also having this error message: the url’sites/testsites/test’ is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current web.

Refer this link : http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/d96eaefb-d519-4aef-bbe6-8afb19a4e835

The db expired.

Or The content db is full.

Use this script to look up the space :

EXEC sp_spaceused @updateusage = N'TRUE';

Solution: shrink the size of wss_content_log use below script or delete the unneeded files in site .

USE [master]

GO

ALTER DATABASE[WSS_Content] SET RECOVERY SIMPLE WITH NO_WAIT

GO

USE [WSS_Content]

GO

DBCC SHRINKFILE ('WSS_Content_Log')

GO

11 install SQL Server got error (Attributes do not match)

Refer to: http://support.microsoft.com/kb/957453

12 exchange 2003 OWA is 不正常了,出现叉叉。页面显示不正常

IIS Manager ->default web site ->properties ->Directory security ->uncheck the Enable anonymous access.




13. How to change the Maximum File Upload Size (Sharepoint 2003)

By default SharePoint allows a maximum file size of 50MB that can be uploaded into any document library. This might be too much as you might not want users downloading 50MB files over your LAN/WAN. To change the maximum file size:
1. Go to SharePoint Central Administration > Configure Virtual Server Settings from Virtual Server List Page.
2. Select your server
3. Go to Virtual Server General Settings (in Virtual Server Management)
4. Change the value of the Maximum Upload Size in MB's.
If you increase the file size limit, your site might occassionally time out for users while they are uploading files. To accomodate this increases the default time out property for IIS.

14. Service Unavailable: HTTP Error 503. The service is unavailable in SharePoint

This error normally occurs whenever the password for application pool identity account is changed or application pools are in stopped state. In my case, I realized that password got changed for the Identity account. Here are the steps to resolve:

If you are Running SharePoint in Windows 2003:

Go to Start -> All Programs -> Administrative Tools -> Internet Information Services (IIS) Manager.Locate your App Pool account and right-click on it and select ‘Advanced Settings’.Go to process model then Identity Click on the Identity ->Set and then give the user name, password and confirm password.

Hope this will work fine after that.
Here is the Microsoft KEDB: