Feature Description: error message popup after run function “New-SPConfigurationDatabase".
Code error
pipeline issue:The pipeline has been stopped
New-SPConfigurationDatabase : This SharePoint farm currently has pending upgrad
es. The cmdlet New-SPConfigurationDatabase cannot be executed until the upgrad
This SharePoint farm currently has pending upgrades
input |
Description |
"psconfig -cmd upgrade -inplace b2b -wait -force" |
Run this command in powershell |
If this is not work, modify the right of regedit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components, Then run script “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltb ”
|
|
If not work, maybe it is because the web app name or port in config fie is not currect. |
|
output |
Description |
Pipeline upgrade stopped successfully |
After stopped upgrade, rerun the function, it will be ok. |
Feature Description: can't accept the license
License error popup
Selected wrong license/key
input |
Description |
Go to file \\g1w0347.austin.hp.com\software\sharepoint2010 Open Key.txt, the license should be: "393DK-F2X9J-TB87H-WBRF8-66RFR" |
|
output |
Description |
Feature Description: when we create the first farm, we need run command:
New-SPConfigurationDatabase –DatabaseName <Config DB Name> –DatabaseServer <Db cluster name> –AdministrationContentDatabaseName <Central Administration content DB name> –Passphrase (ConvertTo-SecureString <Passphase> –AsPlaintext –Force) –FarmCredentials (Get-Credential)
But we got an error.
When run the SharePoint 2010 Products Configuration Wizard, I got an error message: “SharePoint 2010 – SQL Server has an unsupported version 10.0.2531.0”
if using the powershell to run command, it will show the below error:
It because we haven’t add right aliases in Sql Server Configuration Manager, we need add a content DB alias and a config DB alias both in 32bit and 64bit
input |
Description |
Go to the server, run Sql Server Configuration Manager as administrator, then add content DB alias and a config DB alias both in 32bit and 64bit. |
|
Feature Description: run function “ConfigureUsageDataCollectionn” in sp2010FarmConfig.xml at Farm15 4w4709g.houston.hp.com
PS C:\Windows\system32> F:\temp\script\sp2010FarmConfig.ps1
============= Configure Usage Data Collectionn ==========
Set-SPUsageDefinition : The usage definition with the given identity does not exist.
At F:\temp\script\sp2010FarmConfig.ps1:1270 char:30
+ Set-SPUsageDefinition <<<< -identity "Definition of usage fields for workflow telemetry" -daysretained $RetainedDays -enable:$true
+ CategoryInfo : ObjectNotFound: (Microsoft.Share...initionPipeBind:SPUsageDefinitionPipeBind) [Set-SPUsageDefinition], PSArgumentException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletSetUsageDefinition
Function ConfigureUsageDataCollectionn has been done.
But the value in the section is correctly as document.
It is because the list in “sp2010FarmConfig.xml” is different as the Centre administrator.
input |
Description |
workflow |
Use “workflow” to instead of “Definition of usage fields for workflow telemetry” |
delete “Clickthrough Usage” |
|
there are two “Site Inventory Usage”, delete one |
|
output |
Description |
Feature Description: run function “ConfigureUsageDataCollectionn” in sp2010FarmConfig.xml at Farm13 g2w2803g.austin.hp.com
New-SPUsageApplication : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or
was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provi
der, error: 40 - Could not open a connection to SQL Server)
At F:\temp\Script\sp2010FarmConfig.ps1:1187 char:31
+ New-SPUsageApplication <<<< -Name $UsageAppName -DatabaseServer $DBServer -DatabaseName $DBName
+ CategoryInfo : InvalidData: (Microsoft.Share...sageApplication:SPCmdletNewUsageApplication) [New-SPUsageApplication], SqlException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewUsageApplication
Unable to create Usage Application named as: ent13-UsageSerApp1
You cannot call a method on a null-valued expression.
Set-SPUsageDefinition : The usage definition with the given identity does not exist.
At F:\temp\Script\sp2010FarmConfig.ps1:1275 char:30
+ Set-SPUsageDefinition <<<< -identity "Definition of usage fields for workflow telemetry" -daysretained $RetainedDays -enable:$true
+ CategoryInfo : ObjectNotFound: (Microsoft.Share...initionPipeBind:SPUsageDefinitionPipeBind) [Set-SPUsageDefinition], PSArgumentException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletSetUsageDefinition
It is because that content DB of Farm 13 can’t connect.
input |
Description |
Connect GDBA to configuration, after configuration, run this function again. |
|
Feature Description: run function “ConfigureUsageDataCollectionn” in sp2010FarmConfig.xml at Farm12 g2w2801g.austin.hp.com
New-SPUsageApplication : Login failed for user 'ASIAPACIFIC\longhu'.
At F:\temp\Script\sp2010FarmConfig.ps1:1187 char:31
+ New-SPUsageApplication <<<< -Name $UsageAppName -DatabaseServer $DBServer -DatabaseName $DBName
+ CategoryInfo : InvalidData: (Microsoft.Share...sageApplication:SPCmdletNewUsageApplication
) [New-SPUsageApplication], SqlException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewUsageApplication
Unable to create Usage Application named as: ent12-UsageSerApp1
You cannot call a method on a null-valued expression.
It because you can’t connect to related DB.
input |
Description |
push Beh, Andrew (GDBA) [email protected] and Pui, Woon Yong (GDBA) to help. |
|
output |
Description |
Feature Description: after created first farm, we need connect to this farm in other server. After we input the DB server’s name to get connect, sometimes this error message will popup.
It is because the two binaries were not detected.
input |
Description |
If it occurred on other server as above, you need login the specific server, reinstall the required binaries, then click Refresh button to perform the status check again. |
|
If it occurred on locally, you must quit this program and install the required binaries and patches on this server before restarting this wizard. |
|
if this problem displayed in G1W3833G, we should uninstall the Microsoft Office Web Apps, then reinstall it, besides, we need install the Hotfix in “2011 OCT CU” file. |
|
output |
Description |
Feature Description: unable to add https://xxxxxxxx.houston.hp.com:8888to Default for http://xxxxxxxx:8888
You cannot call a method on a null-valued expression.
At F:\temp\script1\sp2010WebApps.ps1:1038 char:36
+ $webApp.AlternateUrls.Clear <<<< ();
+ CategoryInfo : InvalidOperation: (Clear:String) [], RuntimeExc
eption
+ FullyQualifiedErrorId : InvokeMethodOnNull
Unable to add https://g4w4709g.houston.hp.com:8888to Default for http://g4w4709g:8888
You cannot call a method on a null-valued expression.
Unable to add https://g4w4708g.houston.hp.com:8888to Extranet for http://g4w4709g:8888
You cannot call a method on a null-valued expression.
Unable to add https://g4w4710g.houston.hp.com:8888to Custom for http://g4w4709g:8888
You cannot call a method on a null-valued expression.
Unable to add https://g9w2422g.houston.hp.com:8888to Intranet for http://g4w4709g:8888
You cannot call a method on a null-valued expression.
Unable to add https://g9w2421g.houston.hp.com:8888to Internet for http://g4w4709g:8888
You cannot call a method on a null-valued expression.
It is because the address in sp2010WebApps.ps1is not correct.
input |
Description |
open the EntFarm$.xml ( $ is the number of the farm) use notepad, find the <AAMs>…</AAMs>, change the server name to the full name, eg: <WebApp url = https://g2w2803g:8888 to <WebApp url = https://g2w2803g.austin.hp.com:8888. Then rerun the script. |
|
Feature Description: IIS_Authentication function error in IISRemote.xml
Set-WebConfigurationProperty : There is no configuration defined for object at path IIS:\SslBindings.
At F:\temp\script1\sp2010IISRemote.ps1:419 char:41
+ Set-WebConfigurationProperty <<<< -filter /system.WebServer/security/authentication/AnonymousAuthenticat
ion -name enabled -value true -ErrorVariable err
+ CategoryInfo : InvalidOperation: (:) [Set-WebConfigurationProperty], ArgumentException
+ FullyQualifiedErrorId : invalidOperation,Microsoft.IIs.PowerShell.Provider.SetConfigurationPropertyCommand
g4w4709g.americas.hpqcorp.net Unable to update IIS Authentication in local server.
g4w4709g.americas.hpqcorp.net There is no configuration defined for object at path IIS:\SslBindings.
If run the component on other Farm, no this issue "Unable to update IIS Authentication in local server" . Not sure if "Has set log file perssion …" is error, if not, should change the message color
input |
Description |
output |
Description |
Feature Description: Run Logfile_permission function error in IISRemote.xml
Cannot find directory:u:\spdata\excel in server:g4w4709g.americas.hpqcorp.net
g4w4707g.americas.hpqcorp.net Has set Logfile permission for E:\Logfiles\SharePoint for NetworkService in server:g4w4707g.americas.hpqcorp.net Has set Logfile permission for E:\Logfiles\SharePoint for LocalService in server:g4w4707g.americas.hpqcorp.net Cannot find directory:u:\spdata\excel in server:g4w4707g.americas.hpqcorp.net
It is because the folder u:\spdata\excel is missing.
input |
Description |
1. Go to Central administrator |
|
2. Click Create site collections, type title, Url and User name. Click Ok button. |
|
3. Go to Central Administrationà Manage we applications, click “ent151.sharepoint.hp.com” |
|
4. Click “Service Connections” of Manage, select Custom from dropdown and checked all checkbox and click Ok. |
|
5. Go to http://vg4w4709g-ent151.houston.hp.com/teams/test151 |
|
6. Click “Add document”, upload an excel file. 7. Go to 2 query servers, check if the folder is created : U:\spdata\excel |
output |
Description |
Feature Description: run ProvisionSearchServiceApplication function in SP2010-ServiceApplication.ps1
============= Provision Search Service Application ==========
Create New Service Application Pool successfully: ent12_SearchApp1_Pool
Create New Service Application Pool successfully: ent12_SearchApp1_QueryPool
ent12_SearchApp1 :Create New Search Service Application
ent12_SearchApp1Proxy :Create New Search Service Application proxy
Set-SPEnterpriseSearchAdministrationComponent : The search service instance on this server is not online
At F:\temp\Script\SP2010-ServiceApplication.ps1:1624 char:58
+ Set-SPEnterpriseSearchAdministrationComponent <<<< -SearchApplication $SSApp -SearchServiceInstanc
e $searchSvc
+ CategoryInfo : InvalidData: (Microsoft.Offic...rationComponentetSearchAdministrationComponent)
[Set-SPEnterpris...rationComponent], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.SetSearchAdministrationComponent
It is because the search service is disabled.
input |
Description |
You have to make sure the search service is started on the local, index and App Servers first. |
|
You can start the Search service on the Central Administration. |
|
Or you can run this command: Start-SpEnterpriseSearchServiceInstance –identity G4W4193G (local, index and App names) |
|
Feature Description: run ProvisionSearchServiceApplication function in SP2010-ServiceApplication.ps1
============= Provision Search Service Application ==========
ent15_SearchApp1 Removing for re-create
Cannot remove search service application
Cannot remove search service application:ent15_SearchApp1 Cannot open database "ent15_Search1_Admin" requested by the login. The login failed.
Login failed for user 'ASIAPACIFIC\XXXXX'.
It is a problem of account in DB. Some dbs in this farm are newly created by share point service, where the execution was previously done by other, not XXXXX, so XXXXX can’t access the DB.
input |
Description |
Need contact GDBA(Pui, Woon Yong (GDBA)) to grant the right to you. |
|
output |
Description |
Feature Description: maybe you will get some errors when run this script, ensure you did below things.
input |
Description |
1. You need skip below functions: #MMServiceAppPool #ProvisionManagedMetadata #MetadataServiceConnection #ProvisionMetadataServiceApplication #ProvisionUserProfileServiceApplication #StartUserProfileService #IISResetForUPA #AssociateUPAProxy #SetUPAProperties #ConfigureSynchronizationTimerJob #SetSocialRatingSynchronizationJob #DisableMySiteSuggestionsEmailJob #IncreaseTimeoutforUPA |
|
2. You’d better run the function about “word” together: #ProvisionWordviewing #WordviewingServiceSetting |
|
3. you’d better run function “#ProvisionSearchServiceApplication” and function”#BuildSearchTopology” together and only once. |
|
output |
Description |
4. After run these two functions, you need connect GDBA to reconfigure the four DBs which created by SharePoint. You need add the link of the DB list: |
|
5. run the functions after “#BuildSearchTopology” |
|
6. Delete the default search DBs, such as ent15_Search1_Admin_CrawlStore ent15_Search1_Admin_PropertyStore you can follow below steps to delete the DBs: 1. Go to SP Central administrator --> Application Management --> Manage service applications 2. Click ent15_SearchApp1 ---> Click Modify ---> delete those two DBs 3. Open Sharepoint 2010 Managed Shell --> run below 3 command (type Y if need type): $searchApp = "ent15_SearchApp1" $PropertyStoreDB = "ent15_Search1_Admin_PropertyStore" $QT = $searchApp | Get-SPEnterpriseSearchQueryTopology | Where-Object {$_.State -eq 'Inactive'} $QT $QT | Remove-SPEnterpriseSearchQueryTopology Remove-SPEnterpriseSearchPropertyDatabase -Identity $PropertyStoreDB -SearchApplication $searchApp |
|
7. After finish component 4 (SP2010-ServiceApplication.ps1), we need delete two default search DBs: ent15_Search1_Admin_CrawlStore ent15_Search1_Admin_PropertyStore delete step: 1. Go to SP Central administrator --> Application Management --> Manage service applications 2. Click ent15_SearchApp1 ---> Click Modify ---> delete those two DBs 3. Open Sharepoint 2010 Managed Shell --> run below 3 command (type Y if need type) $searchApp = "ent15_SearchApp1" $PropertyStoreDB = "ent15_Search1_Admin_PropertyStore" $QT = $searchApp | Get-SPEnterpriseSearchQueryTopology | Where-Object {$_.State -eq 'Inactive'} $QT $QT | Remove-SPEnterpriseSearchQueryTopology Remove-SPEnterpriseSearchPropertyDatabase -Identity $PropertyStoreDB -SearchApplication $searchApp |
Feature Description: After finish component 4 (SP2010-ServiceApplication.ps1), we need delete two default search DBs:
ent15_Search1_Admin_CrawlStore
ent15_Search1_Admin_PropertyStore
The delete step is showed in last question. But we only deleted one DB: ent15_Search1_Admin_PropertyStore
DB ent15_Search1_Admin_CrawlStore is still there.
It because the command:
$searchApp = "ent15_SearchApp1"
$PropertyStoreDB = "ent15_Search1_Admin_PropertyStore"
$QT = $searchApp | Get-SPEnterpriseSearchQueryTopology | Where-Object {$_.State -eq 'Inactive'}
$QT
$QT | Remove-SPEnterpriseSearchQueryTopology
Remove-SPEnterpriseSearchPropertyDatabase -Identity $PropertyStoreDB -SearchApplication $searchApp
Only deleted DB ent15_Search1_Admin_PropertyStore.
input |
Description |
$searchApp = "ent12_SearchApp1" $CrawlStoreDB = "ent12_Search1_Admin_CrawlStore"
$QT = $searchApp | Get-SPEnterpriseSearchQueryTopology | Where-Object {$_.State -eq 'Inactive'} $QT
$QT | Remove-SPEnterpriseSearchQueryTopology Remove-SPEnterpriseSearchCrawlDatabase -Identity $CrawlStoreDB -SearchApplication $searchApp |
We need run this command to delete ent15_Search1_Admin_PropertyStore. |
output |
Description |
Feature Description: can’t find /teams/Office_Viewing_Service_Cache which need to be deleted when we need do manual configuration.
We need delete /teams/Office_Viewing_Service_Cache when manual configuration, but we follow the step, we can’t find it in Application Management --> Delete a Site Collections -->change Site Collectionà Delete the current cache site (‘/teams/Office_Viewing_Service_Cache).
Not clear
input |
Description |
Skip this step, check if it appear after run timer job “Office web apps Cache Creation” |
|
If yes, it will be ok, else, ask Rijal for help. |
|
output |
Description |
Feature Description: detail about Office Cache Site.
input |
Description |
1. Central AdministrationàApplication ManagementàManage content database (check the Web Application, eg: http://ent151.sharepoint.hp.com )àAdd a Content databaseàcheck the Database Server name is the config db server name, in farm 15, it is GVV40902àchange the Database Name to ent151_OWACacheàok. |
|
2. Stop all content_XX except OWA db. (the cache site will be create on OWA db) |
|
3. Application Management --> Delete a Site Collections -->change Site Collectionà Delete the current cache site(‘/teams/Office_Viewing_Service_Cache), |
|
4. Central AdministrationàMonitoringàtimer job statusà in the ‘view’, select ‘job definition’, in the ‘job definition’ click and select ‘change job definition’. |
|
5. Repeat step 1~4 to ent152. (Create owa cache for 152 first, then Stop all content, Delete the current cache site, and run timer job. ) |
|
6. Application Management --> Site Collections -->View all site collectionsàcheck if the OWA cache already created, |
|
7. Start all content dbs for ent151 & ent152, and stop OWA dbs. |
|
8. Run commd in Sharepoint management shell: $100gbInBytes = 1024 * 1024 * 1024 * 100 Get-SPWebApplication | Set-SPOfficeWebAppsCache -ExpirationPeriodInDays 30 -MaxSizeInBytes $100gbInBytes |
output |
Description |
Feature Description: Before you can create IM ticket, you need Request ACR CHG TECHPLAN Role first.
input |
Description |
Click HPSM Administration Servicesà HPSM OperatorsàHPSM Admin-Add OperatoràProceed to Order |
|
Select “ES IT” in Owner’s Organization àselect “ACR CHG TECHPLAN” in Role Name |
|
Click Add Item to Cart à submit |
output |
Description |
Create ticket in http://itsm-hpit.corp.hp.com/sm/index.do |
|
Feature Description: Can’t attach content database “entxxx_OWACache” to web application http://entxxx.sharepoint.hp.com.
Have added DB ent132_OWACache to web application http://ent132.sharepoint.hp.com before, but it disappeared later, when we try to recreate it, we got error as below:
input |
Description |
Consider the database ID conflict, we tried to attach the content database by stsadm command, we use “assignnewdatabaseid” parameter to assign new id to avoid any conflict: stsadm.exe -o addcontentdb -url <URL name> -databasename <database name> -assignnewdatabaseid |
Feature Description: Cannot create SharePoint site under certain web application, we get below error message:
Object reference not set to an instance of an object
the cause is content database corruptted in our config database
input |
Description |
1. Collected SharePoint logs and analyzed the logs |
|
2. Checked if the problematic web application has orphan data in the SharePoint configuration database: $web=get-spwebapplication http://webapplication SELECT [Id],[Name],cast(Properties as XML) FROM [SPS2010_SharePoint_Config].[dbo].[Objects] (nolock) |
|
3. Found there exists some orphan data in the content database: <fld type="null” /> 4. Verified the content data is the faulty one: SELECT * FROM [SPS2010_SharePoint_Config].[dbo].[Objects] (nolock) No row is returned by this SQL command, it indicates the content database is the faulty one. |
|
5. Deleted the orphan content database with powershell: $web.ContentDatabases.Delete('fe854b89-0be1-4fb7-98ed-94b52d241d96') |
|
6. Tried the create the site collection again, the site collection could be created successfully. |
output |
Description |
Feature Description: we need use farm account to run below command to do farming:
New-SPConfigurationDatabase –DatabaseName "ent17_SharePoint_Config7" –DatabaseServer "GVV10932" –AdministrationContentDatabaseName "ent17_SharePoint_AdminContent7" –Passphrase (ConvertTo-SecureString "CommEnt17SP2010Luck!" –AsPlaintext –Force) –FarmCredentials (Get-Credential) , will got an access is denied error and a config db will display.
But I got an access is denied error when I run the command first time, and there will create a config db: ent17_SharePoint_Config7,
When I run the command second time, I got an error that the db is not empty.
Anyway, I can run this command successfully use my own account, I have checked the dbo right of farm account, it is the same as my account, it’s so strange.
Check the account in sql server management studio, expand SecurityàLogins, select the farm account and right clickàpropertiesàcheck the default databaseàUser Mappingàcheck if the default database is selected in the list, if not, select it.
input |
Description |
Feature Description: when forming the farm, you may got Requested registry access is not allowed error.
Requested registry access is not allowed error
+ New-SPConfigurationDatabase <<<< -DatabaseName "ent17_SharePoint_Config2" -D
atabaseServer "GVV10932" -AdministrationContentDatabaseName "ent17_SharePoint_A
dminContent2" -Passphrase (ConvertTo-SecureString "CommEnt17SP2010!" -AsPlainte
xt -Force) -FarmCredentials (Get-Credential)
+ CategoryInfo : InvalidData: (Microsoft.Share...urationDatabase:
SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase], Securit
yException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon
figurationDatabase
This is because you didn’t run the powershell under administrator, or the account you used is not in administrator group.
input |
Description |
1. Run powershell under administrator |
|
Else 2. Check if the account you used in administrator group |
|
If 1&2 are yes, you can change the UAC of this server: startàrunà”msconfig”àToolsàselect “Change UAC Settings”àlangchàselect Never NotifyàOKà OKàrestarts server. |
|
output |
Description |
Feature Description: when delete a site collection in CA, can’t select the site. Will got <nativehr>0x80070003</nativehr><nativestack></nativestack> error.
when delete a site collection in CA, can’t select the site. Will got <nativehr>0x80070003</nativehr><nativestack></nativestack> error.
Something wrong when connect db.
input |
Description |
1. Open Config DB serveràOpen entxx_SharePoint_Config DB |
|
2. Right click SiteMap tableàselect Top 1000 Rows |
|
3. Record the Database ID of deleting site |
|
4. Open entxx_SharePoint_AdminContent DBàright click DatabaseInformation table àselect Top 1000 Rows, find the db name with the database ID. 5. Find the DB in CA, remove it, the site will be removed 6. Recreate the db with the same configuration. |
output |
Description |
Feature Description: Failed to access CA in a farm.
Got below error when run CA as administrator.
Central Administrator IIS stopped, or the url should be “https://”
input |
Description |
1. Open IIS, check if “SharePoint Central Administration v4”stopped. If it is stopped, start it. |
|
2. Else check the url, change it from “http://” to “https://” |
output |
Description |
Feature Description: got an issue when run the “Creating Root Sites” function in web apps:
$roleAssign.RoleDefinitionBindings.Add($roleDef)
$web.RoleAssignments.Add($roleAssign)
$web.Update()
============= 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 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))."
PowerGUI from enumerating all the properties inside certain objects and causing the error
input |
Description |
1. Check EntFarmXX.xml document, in <Rootsite>, check if AuthenUser="Read" at the <rootsite>, if not, add it. |
|
2. If error still occur, close the Variables panel on the right |
|
Feature Description: get 404 error when access a site URL, for example: vg1w4232g-ent121.austin.hp.com
Can’t access DB server
input |
Description |
1. Make sure you can access the DB server and DB. |
|
2. Check IP address binding in IIS. Step:startàrunàcmdàipconfig, there are three IP v4, should be the three site’s ip. |
|
3. If after above two step, still can’t access the site, you can try to check the changeowner, step: login IIS, expand sitesà entxxx.sharepoint.hp.comà_layoutsàhpàcheck the changeowner is a folder or an application, if it is a folder, right lick this folderàconvert to Application… |
|
output |
Description |
Feature Description: 1. when search something in a site home page use “Search this site…”, you will got an error message “The search request was unable to connect to the Search Service.” 2. You will got error when access CAàApplication ManagementàService ApplicationàManage service Applicationàentxx_SearchApp1. 3. Can’t create “Office_Viewing_Service_Cache“ site auto.
Got message “The search request was unable to connect to the Search Service.” When search some thin in one site.
This is because you didn’t setup all the search services of this site.
input |
Description |
1. Login CAàApplication Managementà Service ApplicationàConfigure service application associations. |
|
2. Click all the item in column Application Proxy Group, “Configure Service Application Associations” popup |
|
3. Check all the items, then click OK button. |
|
Feature Description:
The SharePoint Health Analyzer detected an error. Drives used for SQL databases are running out of free space.
The following databases have one or more files that may exceed the available free drive space. If this happens, operations will start to fail. ent121_GVV10822_content1 on GVV10822, ent121_GVV10822_content1 on GVV10822, ent121_GVV10822_content1 on GVV10822, ent121_GVV10822_content1 on GVV10822, ent121_GVV10822_content10 on GVV10822, ent121_GVV10822_content10 on GVV10822, ent121_GVV10822_content10 on GVV10822, ent121_GVV10822_content10 on GVV10822, ent121_GVV10822_content11 on GVV10822, ent121_GVV10822_content11 on GVV10822, ent121_GVV10822_content11 on GVV10822, ent121_GVV10822_content11 on GVV10822, ent121_GVV10822_content12 on GVV10822, ent121_GVV10822_content12 on GVV10822, ent121_GVV10822_content12 on GVV10822, ent121_GVV10822_content12 on GVV10822, ent121_GVV10822_content13 on GVV10822, ent121_GVV10822_content13 on GVV10822, ent121_GVV10822_content13 on GVV10822, ent121_GVV10822_content13 on GVV10822, ent121_GVV10822_content14 on GVV10822, ent121_GVV10822_content14 on GVV10822, ent121_GVV10822_content14 on GVV10822, ent121_GVV10822_content14 on GVV10822, ent121_GVV10822_content15 on GVV10822, ent121_GVV10822_content15 on GVV10822, ent121_GVV10822_content15 on GVV10822, ent121_GVV10822_content15 on GVV10822, ent121_GVV10822_content2 on GVV10822, ent121_GVV10822_content2 on GVV10822, ent121_GVV10822_content2 on GVV10822, ent121_GVV10822_content2 on GVV10822, ent121_GVV10822_content3 on GVV10822, ent121_GVV10822_content3 on GVV10822, ent121_GVV10822_content3 on GVV10822, ent121_GVV10822_content3 on GVV10822, ent121_GVV10822_content4 on GVV10822, ent121_GVV10822_content4 on GVV10822, ent121_GVV10822_content4 on GVV10822, ent121_GVV10822_content4 on GVV10822, ent121_GVV10822_content5 on GVV10822, ent121_GVV10822_content5 on GVV10822, ent121_GVV10822_content5 on GVV10822, ent121_GVV10822_content5 on GVV10822, ent121_GVV10822_content6 on GVV10822, ent121_GVV10822_content6 on GVV10822, ent121_GVV10822_content6 on GVV10822, ent121_GVV10822_content6 on GVV10822, ent121_GVV10822_content7 on GVV10822, ent121_GVV10822_content7 on GVV10822, ent121_GVV10822_content7 on GVV10822, ent121_GVV10822_content7 on GVV10822, ent121_GVV10822_content8 on GVV10822, ent121_GVV10822_content8 on GVV10822, ent121_GVV10822_content8 on GVV10822, ent121_GVV10822_content8 on GVV10822, ent121_GVV10822_content9 on GVV10822, ent121_GVV10822_content9 on GVV10822, ent121_GVV10822_content9 on GVV10822, ent121_GVV10822_content9 on GVV10822, ent122_GVV10822_content1 on GVV10822, ent122_GVV10822_content1 on GVV10822, ent122_GVV10822_content1 on GVV10822, ent122_GVV10822_content1 on GVV10822, ent122_GVV10822_content10 on GVV10822, ent122_GVV10822_content10 on GVV10822, ent122_GVV10822_content10 on GVV10822, ent122_GVV10822_content10 on GVV10822, ent122_GVV10822_content11 on GVV10822, ent122_GVV10822_content11 on GVV10822, ent122_GVV10822_content11 on GVV10822, ent122_GVV10822_content11 on GVV10822, ent122_GVV10822_content12 on GVV10822, ent122_GVV10822_content12 on GVV10822, ent122_GVV10822_content12 on GVV10822, ent122_GVV10822_content12 on GVV10822, ent122_GVV10822_content13 on GVV10822, ent122_GVV10822_content13 on GVV10822, ent122_GVV10822_content13 on GVV10822, ent122_GVV10822_content13 on GVV10822, ent122_GVV10822_content14 on GVV10822, ent122_GVV10822_content14 on GVV10822, ent122_GVV10822_content14 on GVV10822, ent122_GVV10822_content14 on GVV10822, ent122_GVV10822_content15 on GVV10822, ent122_GVV10822_content15 on GVV10822, ent122_GVV10822_content15 on GVV10822, ent122_GVV10822_content15 on GVV10822, ent122_GVV10822_content2 on GVV10822, ent122_GVV10822_content2 on GVV10822, ent122_GVV10822_content2 on GVV10822, ent122_GVV10822_content2 on GVV10822, ent122_GVV10822_content3 on GVV10822, ent122_GVV10822_content3 on GVV10822, ent122_GVV10822_content3 on GVV10822, ent122_GVV10822_content3 on GVV10822, ent122_GVV10822_content4 on GVV10822, ent122_GVV10822_content4 on GVV10822, ent122_GVV10822_content4 on GVV10822, ent122_GVV10822_content4 on GVV10822, ent122_GVV10822_content5 on GVV10822, ent122_GVV10822_content5 on GVV10822, ent122_GVV10822_content5 on GVV10822, ent122_GVV10822_content5 on GVV10822, ent122_GVV10822_content6 on GVV10822, ent122_GVV10822_content6 on GVV10822, ent122_GVV10822_content6 on GVV10822, ent122_GVV10822_content6 on GVV10822, ent122_GVV10822_content7 on GVV10822, ent122_GVV10822_content7 on GVV10822, ent122_GVV10822_content7 on GVV10822, ent122_GVV10822_content7 on GVV10822, ent122_GVV10822_content8 on GVV10822, ent122_GVV10822_content8 on GVV10822, ent122_GVV10822_content8 on GVV10822, ent122_GVV10822_content8 on GVV10822, ent122_GVV10822_content9 on GVV10822, ent122_GVV10822_content9 on GVV10822, ent122_GVV10822_content9 on GVV10822, ent122_GVV10822_content9 on GVV10822, ent12r_GVV10822_content1 on GVV10822, ent12r_GVV10822_content1 on GVV10822, ent12_WSS_Usage on GVV10822, ent12_WSS_Usage on GVV10822, ent12_WSS_Usage on GVV10822, ent12_WSS_Usage on GVV10822, ent12_WSS_Usage on GVV10822, ent12_WSS_Usage on GVV10822, ent12_WSS_Usage on GVV10822, ent12_SharePoint_Config2 on GVV10835, ent12_SharePoint_Config2 on GVV10835, ent12_Search1_Crawl1 on GVV10835, ent12_Search1_Crawl1 on GVV10835, ent12_Search1_Crawl1 on GVV10835, ent12_Search1_Crawl1 on GVV10835, ent12_Search1_Crawl1 on GVV10835, ent12_Search1_Crawl1 on GVV10835, ent12_Search1_Crawl1 on GVV10835, ent12_Search1_Property1 on GVV10835, ent12_Search1_Property1 on GVV10835, ent12_Search1_Property1 on GVV10835, ent12_SharePoint_AdminContent2 on GVV10835, ent121_OWACache on GVV10835, ent121_OWACache on GVV10835, ent121_OWACache on GVV10835, ent122_OWACache on GVV10835, ent122_OWACache on GVV10835, ent122_OWACache on GVV10835
Examine the drives containing the specified databases' log and data files. Free space on these drives or move the database files to another drive. A drive should have enough free space for the largest database file on it to autogrow twice. For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=163560".
input |
Description |
1. Go to CA ->Monitoring ->Review rule definitions. |
|
2. Click the “Drives used for SQL databases are running out of free space.” |
|
3. |
|
output |
Description |
Feature Description:
An exception occurred while updating addresses for connected app {844d112b-982e-44c0-a6a4-70a1c67b9655_4bd9b16a-4826-45f2-9768-df5e8eaeb237}. The uri endpoint information may be stale. System.InvalidOperationException: The requested application could not be found.
at Microsoft.SharePoint.SPTopologyWebServiceApplicationProxy.ProcessCommonExceptions(Uri endpointAddress, String operationName, Exception ex, SPServiceLoadBalancerContext context)
at Microsoft.SharePoint.SPTopologyWebServiceApplicationProxy.ExecuteOnChannel(String operationName, CodeBlock codeBlock)
at Microsoft.SharePoint.SPTopologyWebServiceApplicationProxy.GetEndPoints(Guid serviceId)
at Microsoft.SharePoint.SPConnectedServiceApplicationAddressesRefreshJob.Execute(Guid targetInstanceId)
some useless GUID in config db.
input |
Description |
1. Use below Sql to search the guid . SELECT ID, NAME, * FROM Objects WHERE Name like '%d4906517-67a9-4e26-9767-9c9452db71ae_9dd8eeba-583d-4413-a0ab-bb8f9d59fe36%' (this is guid in event properties ) |
|
2. Copy the search result id and use this command to delete it . To directory C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN Run STSADM -o deleteconfigurationobject -id GUID |
|
Note : |
before you delete the guid , you need to tell GDBA backup ent*_SharePoint_Config2 , ent*_SharePoint_AdminContent2 . |
Feature Description:
Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type 'Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker' from assembly 'Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.
output |
Description |
Feature Description:
An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=so-s.info, OU=EliteSSL, O=PreEmptive Solutions, STREET=767 Beta Drive, L=Mayfield Village, S=Ohio, PostalCode=44143, C=US\nIssuer Name: CN=COMODO High-Assurance Secure Server CA, O=COMODO CA Limited, L=Salford, S=Greater Manchester, C=GB\nThumbprint: 7934A9D5577BD0A1D01960436202B710EE330F49\n\nErrors:\n\n The root of the certificate chain is not a trusted root authority..
The certificate is missing or damaged.
This problem occurs when an administrator deletes the "local" trust relationship of the farm from the "Security" section of the Central Administration web site (Central Administration > Security > Manage Trust)
Maybe it is because of your server have installed PowerGUI, this error throwed out by PowerGUI, if this error don’t display after uninstall PowerGUI, that this error may not have something about sharepoint.
Feature Description:
· The Execute method of job definition Microsoft.Office.Server.Search.Monitoring.TraceDiagnosticsProvider (ID 7ab992f9-a689-4085-b3d7-3fdb98d10f5d) threw an exception. More information is included below.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)
· Unknown SQL Exception 10061 occurred. Additional error information from SQL Server is included below.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)
This error will not affect user to use sharepoint.
They are all related to database connectivity issues. Also, the timer job should belong to “Configuration Cache Refreshing (job-config-refresh)” or “Health Checking (job-diagnostics-performance)”. Since those two jobs will monitor configuration cache modification of your farm and also the status of servers, they will connect to database server very frequently, like job-config-refresh job, it will check configuration & objects every 15 seconds.
· If we have some incorrect database configuration or settings on SharePoint, we could got those errors. Just like today, we found there are two SharePoint content database (number 3 and 4) with incorrect configuration settings on SharePoint farm. We fixed it, and so far, no more errors observed.
· Then, also, sometimes, there will be some connectivity issue that just happens incidentally, and, it tried again and then successfully. If the connectivity issue doesn’t last for a long period (like cannot connect to database for several minutes), it’s very hard to do troubleshooting. And as you told me that you also have encountered some database connectivity issue via SQL Server Management Studio recently. So, if those errors are caused by that, and no impact for end users, but just messages for those SharePoint background timer job processes, we can consider them as false alarm and just ignore them.
input |
Description |
1. Go to one SharePoint server, open one CMD window (run as Administrator). 2. Go to SharePoint root folder: “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN” 3. Run the following stsadm command: stsadm -o getproperty -pn database-connection-timeout 4. The returned value should be “15”, which is the default value. 5. Then, we change it to 45 seconds. stsadm -o setproperty -pn database-connection-timeout -pv 45 6. Get the value to confirm it’s “45” by getting it again, stsadm -o getproperty -pn database-connection-timeout |
|
If the error still happen, check if you can connect to database of this farm, database disconnected will cause this error. |
|
If you can connect to database, and set above setting, you can try to: Turn off the Usage and Data Collection by navigating to your Central Administration > Monitoring > Configure usage and health data collection. Uncheck both Enable usage data collection and Enable health data colletion, assuming they are checked, and click OK. Once this is done restart the SharePoint 2010 Timer service. Then re-enable Usage and Data Collection by checking those same items again. The error should stop appearing in the logs now. |
|
If error still happen, 1. Go to Central Administration -> Monitoring -> Review job definitions 2. Look for the job: Search Health Monitoring – Trace Events and see when it was last run. Chances are the job is set to ‘Disabled’ and never ran. 3. Enable the job and click on ‘Run now’. 4. The errors should stop appearing in the event log. |
Feature Description:
Microsoft.SharePoint.Administration.SPSqmTimerJobDefinition
a5788ef7-9f29-481a-aa49-b8d414a54e73
Data is Null. This method or property cannot be called on Null values.
input |
Description |
1.) Launch an elevated SharePoint 2010 Management Shell |
|
output |
Description |
Feature Description:
The Execute method of job definition Microsoft.Office.Web.Environment.Sharepoint.CacheExpirationJob (ID c051e9e7-2c33-4aac-bac4-7673c5586f63) threw an exception. More information is included below.
List 'cache' does not exist at site with URL 'http://restore-ent16.sharepoint.hp.com/teams/Office_Viewing_Service_Cache'.
That is because the ‘teams/Office_Viewing_Service_Cache' in your webapplication is created by your self. Many things will miss by this way to create ‘teams/Office_Viewing_Service_Cache' site.
input |
Description |
1. Check if the ‘teams/Office_Viewing_Service_Cache' site created manually. 2. If so, delete it, disable other Content DBs except “entXX_OWACache”. 3. After ‘teams/Office_Viewing_Service_Cache' site created, enable other DBs and disable “entXX_OWACache”. |
|
output |
Description |
Feature Description:
The Execute method of job definition Microsoft.Office.Server.Search.Administration.CrawlReportJobDefinition (ID c24197c7-82ab-45ef-884e-872f6eca820e) threw an exception. More information is included below.
Retrieving the COM class factory for component with CLSID {0FF1CE14-0005-0000-0000-000000000000} failed due to the following error: 800703fa.
Search Service got error.
input |
Description |
1. Clear configuration cache in all SharePoint servers of this farm using below steps: 1) Stop the OWSTIMER service on the SharePoint server in the farm. 2) On the SharePoint server, navigate to: Note: Backup this GUID folder first before doing changes 3) Delete all the XML file in the directory. NOTE: ONLY THE XML FILES, NOT THE .INI FILE. 4) Open the cache.ini with Notepad and reset the number to 1. Save and close the file. 5) Start the OWSTIMER service on the server and wait for XML files to begin to reappear in the directory. 2. Restart the “SharePoint Server Search 14” service in the SharePoint server using below command: net stop "SharePoint Server Search 14" net start “SharePoint Server Search 14” 3. Check whether there is still error with Search Service Application or not 4. If there is still error after doing above actions, we can try to reboot all SharePoint servers and check again. |
|
output |
Description |
Feature Description: Claims window server 2008 bug, need make changes in IIS server, one time fix.
input |
Description |
IIS server->app Pool-> security taken application pool –advanced setting->loaduserprofile: set to ‘True’ Only applied on problematic servers |
|
If error still happens after setting, we can ignore it. |
|
output |
Description |
Feature Description: you may get some error when you run component in the farm created by yourself; this is some solution about it.
function name |
description |
How to solve |
AddServiceAccount |
Unable to add account moss2010\$SharePointAdminException calling "AddUser" with "4" argument(s): "1387 |
Modify the “moss2010\$SharePointAdmin” to “moss2010\SharePointAdmin”. |
IISAuthentication |
hspmaam1[Error_IIS_Authentication] There is no configuration defined for object at path IIS:\SslBindings |
Reconfig IIS. |
ConfigAAM |
Unable to add http://16.173.235.212:8888 to Custom for https://hspmaam1:8888Exception calling "Add" with "1" argument(s): "The IncomingUrl is already present in the collection |
The CA’s Default/Intranet/Internet/Custom/Extranet url value must different from each other. |
CreateRootSites |
Unable to create https://hspmaam1. Cannot find an SPWebApplication object that contains the following Name, Id, or Url: https://hspmaam1 |
Modify https://hspmaam1 to http://hspmaam1 .This is the content website url. |
AssociateWebservices |
Cannot get web application hspmaam1.Error:Cannot find an SPWebApplication object with Name, Id, or Url: hspmaam1 |
Caused by wrong web application name. |
IIS_Logging |
hspmaam1 Site Logging Updated: SharePoint - 80. Site Logging Updated: SharePoint - 8080. Site Logging Updated: SharePoint Central Administration v4. Site Logging Updated: WS. |
Caused by wrong domain account. |
UserPolicy |
[Error] Exception calling "Add" with "2" argument(s): "The specified user or domain group was not found |
Modify the account to “moss2010\SharePointAdmin”. |
LBLayerCheck |
Cannot get content from \\hspmaam2\sp-software\health_check\v1.0\healthcheck.aspx |
Corrected the share fold path which contains health check pages. |
CreateSearchCenter |
[Error] Cannot create site http://hspmaam1/search.A site collection could not be created as the provided managed path does not exist. Change the URL to use an existing managed path or create the missing managed path prior to calling this command |
Permission problem. |
DeleteApplicationRegistry |
[Error Application Registry Service : ] Method invocation failed because [Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceApplication] doesn't contain a method named 'op_Addition' |
I didn’t know the real reason,I remembered that I have run SharePoint 2010 Products Configuration Wizard and re-config IIS.BTW,I alse run the follow command to give registry access: secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose |
ProvisionState |
[Error_StateService] Cannot bind argument to parameter 'Name' because it is null |
Wrong config file used,I should use EntFarm11.xml as configuration file,but I make a mistake when I copy content from another file to this file and I saved it at end. |
ProvisionWordviewing |
="[Error] Cannot validate argument on parameter 'Name'. The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again |
|
ProvisionVisio |
[Error] Cannot validate argument on parameter 'ApplicationPool'. The argument is null or empty. Supply an argument that is not null or empty and then try the command again |
|
NewExcelTrustFileLocation |
[Error] Cannot bind argument to parameter 'Address' because it is null |
|
StartServicesOnServers |
[Error] You cannot call a method on a null-valued expression |
|
ProvisionExcel |
[Error] Cannot bind argument to parameter 'ApplicationPool' because it is null |
Feature Description:
1. SQL Database 'WSS_Search_G4W4719G' on SQL Server instance 'GVV40919' not found. Additional error information from SQL Server is included below.
Cannot open database "WSS_Search_G4W4719G" requested by the login. The login failed.
Login failed for user 'AMERICAS\$spent16pro'.
Or
2.SQL Database 'ent17_WSS_Usage' on SQL Server instance 'GVV10899' not found. Additional error information from SQL Server is included below.
Cannot open database "ent17_WSS_Usage" requested by the login. The login failed.
Login failed for user 'ASIAPACIFIC\xuti'.
1.if your DB likes 'WSS_Search_G4W4719G', please check SharePoint Foundation Search from CA à Application Management àManage services on server, is the status is error starting/ error stopping.
2.If your error DB likes“ent17_WSS_Usage'”, please check if you can access this db.
4. start Sharepoint Foundation Search will create a ‘WSS_Search_servername’ DB, if you delete it from SQL, you will got this error.
5. If you need this error DB, it may cause by you can’t access this DB.
input |
Description |
Case1 |
1. for first type error, you need go to CA à Application Management àManage services on server, check if the status of SharePoint Foundation Search is error starting/ error stopping. 2. Open your Services, check the Startup Type of SharePoint Foundation Search V4 Properties services, make sure it is Disabled. 3. Go to CA à Application Management àManage services on server, if SharePoint Foundation Search status is error starting, start it, you will got a DB like ‘WSS_Search_servername’, in the DB server. Then stop it, the DB will gone. And the status should be Stopped. |
Case 2 |
1.for second type error, just ask GDBA to reconfig your permission of this DB, after you can access this DB, 3760 error will gone. |
Action Taken
===============
1. Check SharePoint Farm information.
2. Check event viewer, and found there are some errors 3760 on several servers:
3. Go to SQL Server, found there is not such database named “WSS_Search_G1W4229G”.
4. Had a discussion that confirmed that you have deleted this database from SQL Server directly.
5. Since this database should belong to SharePoint Foundation Search. We go to Central Administration, found this service is in Stopping status.
6. Try to stop it via powershell command, but failed:
7. Go to services page on the other server, found the SharePoint Foundation Search is in Error Starting status.
8. We re-start it by the other database name, it started successfully.
9. Then, we stop it again.
10. After checked on all servers, all status are correct, in Stopped status.
11. Issue has been fixed. And told customer that we cannot delete any SharePoint databases on SQL Server directly.
Feature Description:
Failure trying to synch web application 903f1c22-094d-4b2f-8454-d4d9b11d7dea, ContentDB 6b3b1b22-10e4-42ee-aac3-ae2e4312ca4a Exception message was System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
…….
service不同步引起的,当其他server启动一个service的时候这个server也会去启动,但它启动的时候就发现其他server已经启动了,于是就暂停在这里了,报出了这个error。
Action Taken
===============
12. Check SharePoint Farm information.
13. Collected SharePoint logs and analyzed the logs, and found there are the same errors.
Failure trying to synch web application 903f1c22-094d-4b2f-8454-d4d9b11d7dea, ContentDB 6b3b1b22-10e4-42ee-aac3-ae2e4312ca4a Exception message was System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
14. Checked that UPA synch is up and running.
15. No timer job is stuck.
16. Synch connection is configured correctly.
17. On ALL of the SharePoint servers in the farm, Run à services.msc à stop “SharePoint 2010 Timer” service.
18. Go to one SharePoint server, navigate to: Server 2008 location: “C:\ProgramData\Microsoft\SharePoint\Config\<GUID>”
(You can see lots of XML file in that folder and also one *.ini file named “cache.ini”)
19.
20. Delete all the XML files in that directory, but keep the “cache.ini”.
21. Open the cache.ini with Notepad and change the number to “1”. Then, save and close the file.
22. Repeat step b~d on all SharePoint server in your farm.
23. Go to one SharePoint server, start “SharePoint 2010 Timer” service. Then, wait for all XML files generating. (should be finished in several minutes.)
24. Repeat step f on all SharePoint server in your farm.
25. It’s done after all XML files have been generated again on all SharePoint server.
26. Issue has been fixed.
Feature Description: event viewer always popup some strange error, you can use this way to optimization your system.
input |
Description |
1. Open a SharePoint power shell, run command : |
|
2. Run below two lines to disable chimney and rss: netsh int tcp set global chimney=disabled
netsh int tcp set global rss=disabled |
|
3. Run below command to check the status: |
|
4. Use Startàrunàregedit to enter registry Editor, open: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters, right click Parameters, create a new DWORD(32-bit value) parameter, name: EnableTCPA, double click EnableTCPA, make sure it’s value data is 0. |
output |
Description |
Feature Description: when uninstall Microsoft Office Web Apps, System is no response.
Notice: you need uninstall Web App before SharePoint, if you uninstall SharePoint first, there will have some errors.
input |
Description |
http://technet.microsoft.com/zh-cn/library/hh230314 there are some solution |
|
output |
Description |
Feature Description:
File D:\software\SP2010\AutoSPInstaller3\2Installation\script\2Sp2010_Binary_Installation.ps1 cannot be loaded because the execution of script
s is disabled on this system. Please see "get-help about_signing" for more details.
At line:1 char:2
input |
Description |
Feature Description: Run script 3Sp2010_Forming_Automation.ps1 failed, error message: Cannot access the local farm. Verify that the local farm is properly configured, currently available, and that you have the appropriate permissions to access the database before trying again.
Got report:
Action |
Status |
Message |
ConfigureFarmAdmin |
Already installed |
|
CreateOrJoinFarm |
Failure |
- Error creating new farm configuration database |
CheckFarmTopology |
Failure |
Cannot access the local farm. Verify that the local farm is properly configured, currently available, and that you have the appropriate permissions to access the database before trying again. |
ConfigureFarm |
Failure |
Cannot access the local farm. Verify that the local farm is properly configured, currently available, and that you have the appropriate permissions to access the database before trying again. |
ConfigureOfficeWebApps |
Failure |
Cannot access the local farm. Verify that the local farm is properly configured, currently available, and that you have the appropriate permissions to access the database before trying again. |
End TimeStamp |
2012-10-24 22:59:02 |
input |
Description |
Check the .net framework on your server, it should be 3.5, can’t be .net framework 4 or other version. |
|
Feature Description:
Error
---------------------------
Unable to cast COM object of type 'Microsoft.Office.Server.Search.Administration.CTaskScheduler' to interface type 'Microsoft.Office.Server.Search.Administration.ITaskScheduler'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{148BD527-A2AB-11CE-B11F-00AA00530503}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
---------------------------
OK
---------------------------
input |
Description |
Run this script in powershell instead of powerGUI |
|
output |
Description |
Feature Description: function Search Topology: Crawl Components got error message:” Should Remove Inactive Crawl Topology: 1ee03ec9-9184-4732-b9cd-18add01a51f8” in farm validation report:
1. Execute “Get-SPEnterpriseSearchCrawlTopology –SearchApplication $applicationName” , tip: $applicationName is a dynamic variable you need to change to probably value to meet your require.
Then you will get the ID: 1ee03ec9-9184-4732-b9cd-18add01a51f8 and which State is Inactive
2. To execute the following command with sequence:
$searchapp = Get-SPEnterpriseSearchServiceApplication "farmTwo_SearchApp1"
$topo = Get-SPEnterpriseSearchCrawlTopology -SearchApplication $searchapp –Identity 1ee03ec9-9184-4732-b9cd-18add01a51f8
$topo | Remove-SPEnterpriseSearchCrawlTopology
3. After the step 2, run the “Get-SPEnterpriseSearchCrawlTopology –SearchApplication $applicationName” command again, you’ll see the inactive crawl component disappear like below:
Feature Description: Alternate Access Mappings error in farm validate report
The AAM config is not success.
input |
Description |
1. Go to CAàApplication managementàConfigure alternate access mappings to check is all the AAM configured in each web app. |
|
2. Add all the AAM, and run farm validate again. |
|
output |
Description |
Feature Description: SQL Server Setting error in farm validates report:
The fill-factor option is provided for fine-tuning index data storage and performance, you just right click the database instance then hit the Properties and click the Database Settings tab, and you’ll see the following figure, for more information about the fill-factor please refer to http://msdn.microsoft.com/en-us/library/ms177459(v=sql.105).aspx
Or to execute the following T-SQL:
USE MHSMOYM3\MHSMOYM3;
GO
ALTER INDEX ALL ON Table
REBUILD WITH (FILLFACTOR = 80, SORT_IN_TEMPDB = ON,
STATISTICS_NORECOMPUTE = ON);
GO
Feature Description: got error of The number of days items are kept in the recycle bin in farm validate report.
input |
Description |
output |
Description |
Use SharePoint management shell to run command: $200gbInBytes = 1024 * 1024 * 1024 * 200 Get-SPWebApplication | Set-SPOfficeWebAppsCache -ExpirationPeriodInDays 30 -MaxSizeInBytes $200gbInBytes |
|
Feature Description: Database Recovery Setting error in farm validates report:
input |
Description |
There are two approaches to do that and to avoid such kind of issue happening again:
1. One is programming, Awen to active the content db’s Recovery model to “FULL” before to run the “VerifyDatabaseSetting” in 6Sp2010_Farm_validation.ps1, (ALTER DATABASE farmTwo1_MHSMOYM3_content1 SET Recovery FULL )
2. The other one is: to set the specify value manually, refer to the following figures:
Lookup the content db from Farm Sql server Explore, then right click the content db and hit the properties, after that you’ll see the following screen,
Feature Description: Method invocation failed because [System.Management.Automation.FunctionInfo] doesn't contain a method named 'op_Additio
n'.
At C:\AutoSPInstaller3\SP2010\2Installation\script\2Sp2010_Binary_Installation.ps1:1465 char:58
+ if($pipeEnable -eq "true"){$client.WriteString($action + <<<< ": " + $msg)}
+ CategoryInfo : InvalidOperation: (op_Addition:String) [], RuntimeException
1465行的代码是:
if($pipeEnable -eq "true"){$client.WriteString($action + ": " + $msg)}
这种情况下powershell 会把$action 识别为一个function,所以会报错
If you invoke the “if($pipeEnable -eq "true"){ $client.WriteString($action + ": " + $Message)}”
If capture the send string is like CreateOrJoinFarm + : + : - Error creating new farm configuration database , which will be send to the toolset, but the format is incorrect it should be:
“CreateOrJoinFarm :Error creating new farm configuration database” so I change the sentence to:
if($pipeEnable -eq "true"){ $client.WriteString(“$action:$Message”)} to let powershell cast it force
While you using $MyInvocation.MyCommand to obtain current function name you should cast it to string $MyInvocation.MyCommand.tostring() first then to invoke and pass it to processvalue methodlike below
$report += processvalue -status "1" -msg "" -action $MyInvocation.MyCommand.tostring()
Or
if($pipeEnable -eq "true"){ $client.WriteString(“$action:$Message”)} to let powershell to cast the $MyInvocation.MyCommand to string force.
input |
Description |
把这行改为 if($pipeEnable -eq "true"){$client.WriteString(“$action : $msg”)} |
|
Feature Description: got error when install sharepoint 2013.
Error in powershell:
WARNING: 2012-11-09 01:46:20 - Error when enabling ASP.NET v4.0.30319
WARNING: 2012-11-09 01:46:20 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
WARNING: 2012-11-09 01:46:20 - Last return code (-2146646015)
- A known issue occurred configuring .NET 4 / IIS.
Error in sharepoint server 2013 Preview:
input |
Description |
1. Open Server Manager. 4. reinstall Web Server (IIS), select all the items when install. 6. run command aspnet_regiis –enable –i, if this command failed, you can try aspnet_regiis –r, the message should be like below: |
|
output |
Description |