[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/ ...
随机推荐
- 开发人员看测试之TDD和BDD
前言: 已经数月没有来园子了,写博客贵在坚持,一旦松懈了,断掉了,就很难再拾起来.但是每每看到自己博客里的博文的浏览量每天都在增加,都在无形当中给了我继续写博客的动力.最近这两天有听到Jbehave这 ...
- sublime 插件总结
sublime的强大之处在于其丰富的插件,记录一下常用的插件. 1.Color Highlighter(识别代码中的颜色) 默认如下显示 做如下修改,打开插件默认设置,并复制到用户设置,将 " ...
- 讲讲Handler+Looper+MessageQueue 关系
Handler+Looper+MessageQueue这三者的关系其实就是Android的消息机制.这块内容相比开发人员都不陌生,在面试中,或者日常开发中都会碰到,今天就来讲这三者的关系. 概述: H ...
- C# Socket系列三 socket通信的封包和拆包
通过系列二 我们已经实现了socket的简单通信 接下来我们测试一下,在时间应用的场景下,我们会快速且大量的传输数据的情况! class Program { static void Main(stri ...
- Winform图片拖拽与缩放
最近做项目的时候遇到上传施工平面布置图,查看,因为图片比较大,一般的显示器分辨率无法显示全,然后还需要放大看清楚图片里面的文字内容,所以需要用到图片的拖拽与缩放功能.这里整理下具体操作. 首先新建一个 ...
- C#编程总结(七)数据加密——附源码
C#编程总结(七)数据加密——附源码 概述 数据加密的基本过程就是对原来为明文的文件或数据按某种算法进行处理,使其成为不可读的一段代码,通常称为“密文”,使其只能在输入相应的密钥之后才能显示出本来内容 ...
- iOS 阶段学习第23天笔记(XML数据格式介绍)
iOS学习(OC语言)知识点整理 一.XML数据格式介绍 1)概念:xml是extensible markup language扩展的标记语言,一般用来表示.传输和存储数据 2)xml与json目前使 ...
- 【Java每日一题】20161013
package Oct2016; public class Ques1013{ public static void main(String[] args){ new Obj(); } } class ...
- MySQL Cursor
MySQL Cursor Summary: in this tutorial, you will learn how to use MySQL cursor in stored procedures ...
- java servlet手机app访问接口(四)推送
一. 服务端DEMO下载及运行. 登录友盟后,浏览器直接输入下面这个URL,直接进入文档开发和DEMO下载页面:http://dev.umeng.com/push/ios/integration(下面 ...