SharePoint 错误集

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: "<nativehr>0x80070005</nativehr><

nativestack></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: http://support.microsoft.com/kb/823552
If you are Running SharePoint in Windows 2008:

  • Go to IIS Manager (Start > Administrative Tools > Internet Information Services Manager)
  • Expand the server node, and Click on Application Pools
  • Locate the Application Pool of the SharePoint site, If it is stopped - Start it. If the password is changed, update the password:
    • Click on "Advanced Settings"
    • and then click on ... Button in Identity property
    • Enter the User Name and password for the application Pool account.

15. The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.

Solution : we need help form DBA

please email dba,ask them to grant a permission on the dbs

ent21_SharePoint_AdminContent7

ent21_SharePoint_Config7

 

15 New-SPWebApplication : Could not connect to GVV41128 using integrated security: Cannot connect to database master at SQL server at GVV41128 . The database might not exist, or the current user does not have permission to connect to it.

Check sql alias GVV41128 and Xml GVV41128 is right?

16. Create document library, SharePoint 2010 got Silverlight unhandled exception

  1. Central Admin > Web Application Management
  2. Select the Web Application
  3. On the Ribbon, General Settings
  4. Scroll Down to the Security Validation section.
  5. I originally turned it completely off, this caused the issue

17. SharePoint 2013 preparation tool error.

1.  Install WCF Data services got this error. You can click log file to check detail about this error. 

Solution: http://social.technet.microsoft.com/Forums/en-US/sharepointitpropreview/thread/fc3aec98-5c42-4ef8-8d99-64aa8e3213b6

2. Application Server Role, Web Server (IIS) Role: configuration error

Detail infor :

"C:\Windows\system32\cscript.exe" "C:\Windows\system32\iisext.vbs" /enext "ASP.NET v4.0.30319"
2012-10-31 16:36:42 - Request for install time of Application Server Role, Web Server (IIS) Role
2012-10-31 16:36:43 - Install process returned (-2146646015)
2012-10-31 16:36:43 - [In HRESULT format] (-2146646015)
2012-10-31 16:36:43 - Error when enabling ASP.NET v4.0.30319
2012-10-31 16:36:43 - Last return code (-2146646015)
2012-10-31 16:36:43 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
2012-10-31 16:36:43 - Last return code (-2146646015)

Solution: try to remove web server IIS and re-add web server IIS. You need to select .net framework

Note: if cannot remove it and try to remove application server and web server IIS.

Error: 2012-10-31 16:36:43 - Error when enabling ASP.NET v4.0.30319

Solution: run the command:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis –i –enable (or -r)

It is successful when show this infor. Or try to aspnet_regiis /u ,aspnet_regiis /i then run aspnet_regiis –i –enable again .

Or try aspnet_regiis /I -enable

 

要检查下 web server (IIS) 角色里有没有error,有时要把相差的服务启动起来才行。

3 One or more required Office components failed -installation error

Try to reinstall SharePoint, click setup.exe install SharePoint and re-uninstall it.

18. Windows6.1-KB2506143-x64.msu download time out.

Try this link again.

http://download.microsoft.com/download/E/7/6/E76850B8-DA6E-4FF5-8CCE-A24FC513FD16/Windows6.1-KB2506143-x64.msu

 

19. File C:\scripts\test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-

help about_signing" for more details.

 

URL: http://technet.microsoft.com/en-us/library/ee176949.aspx

Try this command and re-run this test.ps1 in windows powershell .

set-ExecutionPolicy RemoteSigned

20 .AppFabric installation failed because installer MSI returned with error code : 1603

In order to eliminate this error, the Powershell path must be mapped to the Environment Variable PsModulesPath.

Add the following path:

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

Remove PSModulePath.(you’d better to backup regedit)

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Enviroment/PSModulePath.

 

21 Error: Import-Module : The specified module 'webadministrator' was not loaded because no valid module file was found in any module directory.

Run Get-Module –ListAvailable and check the directory

Solution : add environment

Variable name : PSModulePath

Variable value : C:\windows\system32\windowspowershell\v1.0\Modules

21 The install progress conflicts with a previously installed Microsoft Office 2010 Server product

 

Solution:

When the setup for SharePoint 2010 runs the Windows Installer components it checks for previous versions. These previous versions will usually be listed in the Control Panel->Programs and Features in Windows 2008. If an update has been installed for a product though, it may be listed in the “View installed updates” link in Programs and Features.

When the View installed updates is clicked the Programs and Features will change to list only updates to the Programs installed. Updates listed here can be uninstalled. If any SharePoint updates are listed click them and uninstall.

If also had this problem, try to do below operation.

Delete the Registries for "WebApps" that appear here:
HKEY_CLASSES_ROOT\Installer\Products\, before delete the registries, you must back up regedit

22 New-SPConfigurationDatabase: Could not find stored procedure ‘sp_dboption

In case if you get the error “New-SPConfigurationDatabase: Could not find stored procedure ‘sp_dboption’”, then you have missed installing the SharePoint2010 SP1. What’s happening here is that SharePoint2010 (with SP1 installed) attempts to use a deprecated stored procedure ‘sp_dboption’ which has been removed in Denali CTP3. The error is documented on MSDN. What you have to do is to delete the Config database that is created on the server. Download and Install SharePoint 2010 SP1 and repeat the steps listed above to create the SharePoint Config and Admin Content Databases again.

23 change account password, Go to CA page, show “cannot connect database”

Solution : start ->all program -> Microsoft sql server 2012->configuration tools->sql server configuration manager-> sql server services

Right click sql server, select properties .

Change log on account and password and restart this service.

24 cliconfg.exe

This command go to set sql alias.

25 SharePoint 2013 - Configure service accounts - Access Required

I'm setting up SharePoint 2013 for a client and just noticed I could not access in my Central Administration Site the Security -> Configure servcie accounts page.  The Internet Explorer tab notates "Access Required" with page content stating

Sorry, this site hasn't been shared with you.

The solutin is actually quite simple but unfortunately not documented well yet; I had to open and run Internet Explorer as an Administrator.

My OS is Windows Server 2008 R2, so generally click Start --> All Programs then right click Internet Explorer and select Run As Administrator.  Now navigate to your Central Administration and this should be resolved.

26 add content db got Event id 6481 error

Application Server job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (2977a392-8a5b-44a4-aa1c-8cd531f576db).Reason: An update conflict has occurred, and you must re-try this action. The object SearchDataAccessServiceInstance was updated by , in the OWSTIMER (700) process, on machine. View the tracing log for more information about the conflict.

Solution:

1. 1 You need to clear the SharePoint user cache, which can be found at %ALLUSERSPROFILE%\Microsoft\SharePoint\Config\

2. Delete all the files here, then create a cache.ini file, edit the file using notepad and add the number 1 to the file.

3. Start the windows SharePoint services timer service.

4. Try to add content db again, this error had gone.

27 Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral....

You need install net framework3.5 features.

28 Microsoft SharePoint is not supported with version 4.0.30319.18034 of the Microsoft .Net Runtime.(SharePoint 2010)

Two solutions,

a) Easy: On a Windows Server 2008 R2 machine, uninstall KB2506143 – Windows Management Framework 3.0. This will bring everything back to normal.

b) Better: If your sysadm’s won’t let you uninstall KB2506143, or unfortunately it is part of windows update, so it will keep reinstalling itself if your server is configured for auto patching, here is what you can do,

1.Right-click SharePoint 2010 Management Shell, choose Properties.

2.In the Shortcut tab in the SharePoint 2010 Management Shell Properties window write the following value in the Target field:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Version 2.0 -NoExit ” & ‘ C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration\\sharepoint.ps1 ‘ “

That’s basically it! Now you can enjoy the love of PowerShell 3.0 while keeping the SharePoint 2010 Management Shell in PS 2.0. That said, PowerShell 3.0 is really nice , and I’m glad SharePoint 2013 makes use of it.

29 Sharepoint 2010 CA page got error Access Denied (policy_denied)

Detail error infor:

Access Denied (policy_denied)

Your system policy has denied access to the requested URL.

 

For assistance, contact your network support team.

Solution: remove the proxy in Brower. Deselect proxy server.

30 VerifyIISLogging:[Error] Could not load file or assembly 'Microsoft.IIS.PowerShell.Framework' or one of its dependencies. The system cannot find the file specified

Re-run function IIS_Logging in 4ps1.

31 Cannot start service “User Profile Synchronization Service”

Close browser, Re-start service “SharePoint Timer Service” and start service user profile synchronization service.

32 Server Error in '/' Application.

To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

找到CA所在的路径,在这个路径下面找到web.config文件 将mode的属性改为off

33 New-SPConfigurationDatabase : The directory name you entered is invalid. Please enter a new name.

由于环境没有清干净,删掉sharepoint所有的log等文件,确保farm里面都存在相同的路径

34 an exception of type system.io.ioexception was thrown.additional exception information:the device is not ready

查看Event log, 发现文件路径不对,修改文件路径

35 Web application is missing.

造成的原因有两个:

1. 本地执行iisreset会造成这个原因,据说是sharepoint 本身的bug,远程iisrest可解决此问题。

2. Service “Microsoft SharePoint Foundation Web Application service”被停止了 ,启动该service可解决

36 ConfigureFarm:[Error] Could not load file or assembly 'Microsoft.IIS.PowerShell.Framework' or one of its dependencies. The system cannot find the file specified.

I resolved this issue by manually stopping the default web site. The script then completed successfully.

Sometimes to start default web site.

转载于:https://www.cnblogs.com/tdskee/p/4955196.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值