[SharePoint] SharePoint 错误集 1

时间:2021-05-17 00:35:23

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. Downloadand
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.

[SharePoint] SharePoint 错误集 1的更多相关文章

  1. SharePoint 错误集 3

    1. workflow 流程走不下去,报 workflow fails to run 的错误 请确保下面二个service要么都start,要么都stop: Microsoft SharePoint ...

  2. SharePoint显示错误信息

         在SharePoint项目中,一般如果发生错误,SharePoint会弹出它自定义的报错页面,一般就显示"Something went wrong",如果光是看这一句话, ...

  3. java总结,错误集

    java中abstract怎么使用 abstract(抽象)修饰符,可以修饰类和方法 1,abstract修饰类,会使这个类成为一个抽象类,这个类将不能生成对象实例,但可以做为对象变量声明的类型,也就 ...

  4. DataStage 错误集&lpar;持续更新&rpar;

    DataStage 错误集(持续更新) DataStage序列文章 DataStage 一.安装 DataStage 二.InfoSphere Information Server进程的启动和停止 D ...

  5. C&num; net core程序调试错误集&lpar;持续更新&rpar;

    目录 C#程序调试错误集 1.依赖注入错误System.InvalidOperationException: Unable to resolve service for type 'xxx' whil ...

  6. &lbrack;SharePoint&rsqb; SharePoint 错误集 3

    阅读目录 1. workflow 流程走不下去,报 workflow fails to run 的错误 2. 安装sharepoint prerequisit总是在web server (iis)这步 ...

  7. &lbrack;SharePoint&rsqb; SharePoint 错误集 2

    1 Run command “New-SPConfigurationDatabase" Feature Description: error message popup after run ...

  8. SharePoint 错误集 2

    1 Run command “New-SPConfigurationDatabase" Feature Description: error message popup after run ...

  9. SharePoint 错误集

    1. Delete a site collection · Run command : Remove-SPSite –Identity http://ent132.sharepoint.hp.com/ ...

随机推荐

  1. Eclipse开发环境JDK版本问题和校验问题

    今天遇到的两个问题: 1.启动程序报错:Unsupported major.minor version 52.0 这是JDK版本过低的问题,统一一下Build Path和java Complie中的版 ...

  2. 有关cxf与安卓客户端或者C客户端的中文乱码问题

    前段时间在与C的客户端和安卓的客户端进行联调,首先我的方法接收的是C客户端所传递的数据,但是传递到方法内的中文就变成了乱码(我的方法的编码是utf8),最后通过String a = new Strin ...

  3. nhibernate教程&lpar;4&rpar;--条件查询&lpar;Criteria Query&rpar;

    NHibernate之旅(4):探索查询之条件查询(Criteria Query) 2008-10-16 18:20 by 李永京, 44341 阅读, 43 评论, 收藏,  编辑 本节内容 NHi ...

  4. a标签伪类选择器以及伪元素&colon;hover的案例

    1.通过我们的观察发现a标签存在一定的状态1.1默认状态, 从未被访问过1.2被访问过的状态1.3鼠标长按状态1.4鼠标悬停在a标签上状态 2.什么是a标签的伪类选择器?a标签的伪类选择器是专门用来修 ...

  5. 062、如何使用flannel host-gw backend(2019-04-02 周二)

    参考https://www.cnblogs.com/CloudMan6/p/7457653.html   flannel 支持多种backend,前面学习的是 vxlan backend ,host- ...

  6. asp&period;net core2-&gt&semi;2&period;1 webapi 进行了重大变更

    传统的在 启动时候 使用Mvc路由的配置不再有效.而是基于Attribute的声明标注进行配置路由.

  7. Spark记录-Scala基础语法

    如果您熟悉Java语言语法和编程,那么学习Scala将会很容易.Scala和Java之间最大的句法差异在于行结束字符的分号(;) 是可选的. 当编写Scala程序时,它可以被定义为通过调用彼此的方法进 ...

  8. pip 升级 Appium-Python-Client

    第一种方法: pip install --upgrade Appium-Python-Client 如果出现权限提醒: sudo -H pip install --upgrade Appium-Pyt ...

  9. 嵌入式C语言自我修养 07:地址对齐那些事儿

    7.1 属性声明:aligned GNU C 通过 __atttribute__ 来声明 aligned 和 packed 属性,指定一个变量或类型的对齐方式.这两个属性用来告诉编译器:在给变量分配存 ...

  10. HUST学期助教总结

    春节还没过完,在回广州的高铁上收到是否愿意担任一次软测助教的询问.想了一天,答应了.而内心其实是有点恐慌的,有几点原因: 大学从来没有学过软件测试这门课程.对于自己的软件测试只是体系并不是很有自信. ...