[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: "<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
- Central Admin > Web Application Management
- Select the Web Application
- On the Ribbon, General Settings
- Scroll Down to the Security Validation section.
- 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.
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.
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的更多相关文章
- SharePoint 错误集 3
1. workflow 流程走不下去,报 workflow fails to run 的错误 请确保下面二个service要么都start,要么都stop: Microsoft SharePoint ...
- SharePoint显示错误信息
在SharePoint项目中,一般如果发生错误,SharePoint会弹出它自定义的报错页面,一般就显示"Something went wrong",如果光是看这一句话, ...
- java总结,错误集
java中abstract怎么使用 abstract(抽象)修饰符,可以修饰类和方法 1,abstract修饰类,会使这个类成为一个抽象类,这个类将不能生成对象实例,但可以做为对象变量声明的类型,也就 ...
- DataStage 错误集(持续更新)
DataStage 错误集(持续更新) DataStage序列文章 DataStage 一.安装 DataStage 二.InfoSphere Information Server进程的启动和停止 D ...
- C# net core程序调试错误集(持续更新)
目录 C#程序调试错误集 1.依赖注入错误System.InvalidOperationException: Unable to resolve service for type 'xxx' whil ...
- [SharePoint] SharePoint 错误集 3
阅读目录 1. workflow 流程走不下去,报 workflow fails to run 的错误 2. 安装sharepoint prerequisit总是在web server (iis)这步 ...
- [SharePoint] SharePoint 错误集 2
1 Run command “New-SPConfigurationDatabase" Feature Description: error message popup after run ...
- SharePoint 错误集 2
1 Run command “New-SPConfigurationDatabase" Feature Description: error message popup after run ...
- SharePoint 错误集
1. Delete a site collection · Run command : Remove-SPSite –Identity http://ent132.sharepoint.hp.com/ ...
随机推荐
- 使用 CSS3 伪元素实现立体的照片堆叠效
CSS3 里引入的伪元素让 Web 开发人员能够在不需要额外添加 HTML 标签的情况下制作出复杂的视觉效果.例如,:before 和 :after 这个两个 CSS3 伪元素就可以帮助你实现很多有趣 ...
- [New Portal]Windows Azure Virtual Machine (17) Virtual Machine成本分析
<Windows Azure Platform 系列文章目录> 在Windows Azure VM里,计费模式是和以下几个因素有关: 成本1: VM Type and VM Size 具体 ...
- caffe 试运行MNIST
转自:http://www.cnblogs.com/NanShan2016/p/5469942.html 编译完caffe后,在D:\caffe\caffe-master\caffe-master\b ...
- CompressHelper
public static string CompressString(string unCompressedString) { byte[] bytData = System.Text.Encodi ...
- 这些HTML、CSS知识点,面试和平时开发都需要 No5-No7
系列知识点汇总 这些HTML.CSS知识点,面试和平时开发都需要 No1-No4(知识点:HTML.CSS.盒子模型.内容布局) 这些HTML.CSS知识点,面试和平时开发都需要 No5-No7(知识 ...
- 使用Unity3d做异形窗口
项目马上上线,因为之前的登录器是使用VS2010的MFC做的,在很多电脑上会提示缺失mfcXXXX.dll,中间找寻这种解决方案,最后确定将vcredist2010_x86和我的程序打包到安装包里面, ...
- makefile变量赋值
在定义变量的值时,我们可以使用其它变量来构造变量的值,在Makefile中有两种方式来在用变量定义变量的值. 先看第一种方式,也就是简单的使用“=”号,在“=”左侧是变量,右侧是变量的值,右侧变量的值 ...
- 使用maven创建Archetype
Archetype原型 也就是说为项目生成一个原型,可以把这个项目发布,其他人就可以直接通过命令构建一个原型项目了. 其实我一开始也是不知道maven还有这个功能的,但是在使用的springside的 ...
- [python拾遗]文件操作
文件操作 1.open()函数 open()函数主要用于文件处理,一般分为下面3个过程: 1.打开文件 2.操作文件 3.关闭文件 常见的格式示例: f = open('note.txt','r') ...
- Verilog学习笔记简单功能实现(六)...............计数分频电路
在分频器电路中最重要的概念有两个:1)奇分频/偶分频:2)占空比. A)其中最简单的就是二分频电路,占空比为50%,其Verilog程序为 module half_clk(clr,clk_in,clk ...