[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/ ...
随机推荐
- 使用 SVG 实现一个漂亮的页面预加载效果
今天我们要为您展示如何使用 CSS 动画, SVG 和 JavaScript 创建一个简单的页面预加载效果.对于网站来说,这些预载入得画面提供了一种创造性的方法,使用户在等待内容加载的时候不会那么无聊 ...
- Magic CSS3 – 创建各种神奇的交互动画效果
Magic CSS3 Animations 动画是一个独特的 CSS3 动画特效包,你可以自由地使用您的 Web 项目中.只需简单的在页面上引入 CSS 样式: magic.css 或者压缩版本 ma ...
- Theano入门神经网络(二) 实现一个XOR门
与非门的图片如下 示意图 详细解释: 1 定义变量的代码,包括了输入.权值.输出等.其中激活函数采用的是sigmod函数 # -*- coding: utf-8 -*- __author__ = 'A ...
- placeholder的兼容处理(jQuery下)
这是一个老问题,结合前辈们的经验,需要处理的问题有一下几个. 1.只有输入框(input/textarea)下的palaceholder属性存在的时候才需要处理这类兼容 2.处理好输入框上焦点和是焦点 ...
- ASP.NET MVC必知必会知识点总结(二)
一.实现Controller的依赖注入: 1.自定义继承DefaultControllerFactory 类的控制器工厂类并重写GetControllerInstance方法:(如:InjectCon ...
- Git学习笔记(三)
一.标签是什么 发布一个版本时,我们通常先在版本库中打一个标签,这样,就唯一确定了打标签时刻的版本.将来无论什么时候,取某个标签的版本,就是把那个打标签的时刻的历史版本取出来.所以,标签也是版本库的一 ...
- SQL Server数字辅助表的实现
数字辅助表是一个连续整数的数列,通常用来实现多种不同的查询任务.大多分两类:足够大物理数字表和表函数,前者可以称为静态的,后者可以称为动态且按需生产. 物理数字表 物理数字表通常存在一 ...
- [译]学习IPython进行交互式计算和数据可视化(七)
第六章:定制IPython 对于高级用户,IPython可以进行定制和扩展.在本章结束之后,你将会知道: 怎样创建和使用自定义配置文件 怎样为高级功能进行IPython扩展 怎样在notebook中使 ...
- Emit学习(2) - IL - 值类型和引用类型(补)
上周末回家去享受生活了, 工作是为了更好的生活嘛, 所以我把生活, 工作分的比较开. 这几天不是很忙, 在学习工作技能的同时, 发点博文, 也算是做一个学习笔记 上篇中, 贴出的地址里面那位哥, 也有 ...
- 常用Eclipse快捷方式
Ctrl+1 快速修复 Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加) Ctrl+Alt+↑ 复制当前行到上一行(复制增加) Alt+↓ 当前行和下面一行交互位置(特 ...