Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations forum
Viewing all 21070 articles
Browse latest View live

How to add Custom Attachment (Show in red line) Column in to SharePoint list (NewForm.aspx)

$
0
0

How to add Custom Attachment (Show in red line) Column in to SharePoint list (NewForm.aspx) on top of the "Save"and "Cancel" Button.

<td colspan="2"><table><tr><td style="width:115px"><b> Attachment    </b></td><td valign="top" class="ms-formbody" id="attachmentsOnClient"><input type="file" name="fileupload0"  id="onetidIOFile" size="50" title="Name">   </input></td><td><input name="attachButton" type="button" value="Attach" onclick='OkAttach()'  /></td></tr></table></td>


Move-SPSite needs SQL db_owner permissions, but Add-SPShellAdmin does not grant db_owner ?

$
0
0

Running SharePoint 2013 Enterprise SP1 (no CUs applied)

I needed to move site collections from one content database to another. I first granted a user named SP_Admin shell admin rights to the content databases as follows:

Get-SPDatabase | where { $_.Name -match 'SourceContentDB|DestinationContentDB' } | Add-SPShellAdmin -UserName 'SP_Admin'

I verified in SQL, that the user SP_Admin was granted the following roles on the source and destination content DBs: SharePoint_Shell_Access and SPDataAccess

Next, I ran the following command (using SP_Admin credentials) to actually move the site collections:

Get-SPSite -Limit All -ContentDatabase SourceContentDB | Move-SPSite -DestinationDatabaseDestinationContentDB

And got this error: "Move-SPSite : The INSERT permission was denied on the object 'AllDocs', database 'DestinationContentDB', schema 'dbo'"

I then manually went into SQL, and granted the db_owner permission to the SP_Admin user on the source and destination content DBs. Once I did this, the Move-SPSite command executed successfully.

This link https://technet.microsoft.com/en-us/library/cc825328.aspx#Section3 mentions that the db_owner role is needed on the databases. It also goes on to mention - "An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets." . However, in my case, Add-SPShellAdmin does NOT seem to be granting sufficient permissions for Move-SPSite to succeed, unless I grant db_owner manually.

Also, SPDataAccess (SP2013) seems to have replaced db_owner (SP2010) permissions when using Add-SPShellAdmin, but again, SPDataAccess does not seem to be sufficient for Move-SPSite to succeed. (at least in my farm)

Would appreciate any thoughts / insights anyone might have about this.

Thanks in advance for your help!

Mario

External Data Refresh Failed

$
0
0

The current setup is TFS 2013, SQL 2012, and Reporting Services on one machine & Sharepoint 2013, SQL 2012 on another. 

Sharepoint has been configured, but I receive the following error on the dashboards


The closest thing I found, was some information in the thread below, but this does not mention rather or not the were using TFS. Neither server has Sharepoint Powerpivot installed.

Will the information in that article resolve my issue, or is it different because of my setup?

If Powerpivot is needed to be setup, can't I just add the feature to the existing SQL setup I have on the Sharepoint server without having to create a new instance?

https://social.technet.microsoft.com/Forums/office/en-US/ecc18319-88d8-4dd0-bafd-fa0d2edceffb/external-data-refresh-failed-we-cannot-locate-a-server-to-load-the-workbook-data-model?forum=sharepointadmin

Alternate access mapping issue

$
0
0

Server Farm environment is single server and SharePoint version is 2013 Sp1.

I have created a web application under which i have 2 site collection. One is root site and second is PWA site (which is project server 2013). My users are going to access only PWA site. DNS entry has been made for the site.

URL :Http://servername:90/PWA  it is accessible with in the server. web application is hosted on port 90.

Now i have completed AAM for the site Http://servername:90/PWA

And when i am trying to access it with in server it is giving me error that sorry Site has not been shared with you.

Though i am accessing it through service account which is having correct privileges.

Host name bindings is for Correct website and port 90 with in IIS.

Now there is two issues

1when i am trying to access the URL it says sorry Site has not been shared with you (which is not correct)

2 When went through the Log i found that internally Url(Http://hostname.com/PWA)

getting redirected to Port 80 http://hostname.com:80/PWA which is not correct as site is hosted in port 90.

Images of AAM are attached.


kirtesh

how to restrict users not search words like test and not display any results in share point 2013

$
0
0

HI

how to restrict users not search words like test and not display any results in share point 2013

when users search some works it include some bad words , we created new search service applicaton


adil


TypeError: Unable to get property 'GroupField' of undefined or null reference

$
0
0

Hello

I have an Announcement Web Part that I am trying to add to our homepage.  When I try and edit the web part and choose Summary View under "Selected View" I get the following error in the web part:

TypeError: Unable to get property 'GroupField' of undefined or null reference

Can anyone assist?  Thanks.

Error during Decryption. Ensure the passphrase is correct

$
0
0

Hi Team,

I am getting an error while adding a server to farm. we had the issue where we forgot out passphrase and we reset the pass phrase using set-sppassphrasecommand.

$passphrase = ConvertTo-SecureString -String "mySharePoint2010password" -asPlainText -Force

Set-SPPassPhrase -PassPhrase $passphrase -Confirm 


We were able to update the farm passphrase but while adding a  server to farm I am getting below error.

Task configdb has failed with an unknown exception 
12/29/2015 17:55:32  11  ERR                          Exception: System.ArgumentException: Error during decryption. Ensure the passphrase is correct.
   at Microsoft.SharePoint.Administration.SPCredentialManager.set_MasterKey(Byte[] value)
   at Microsoft.SharePoint.Administration.SPCredentialManager.CreateMasterKey(Boolean generateKeyIfNeeded, SecureString sstrPassphrase, Boolean localOnly)
   at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

We had this server in farm a while back and was later removed and then we updated our passphrase. while adding the server back into farm we are getting the error.

We have already tried below steps to troubleshoot

1) restarting admin and timer services on all servers

2) Running Psconfig on all servers.

3) Clearing Config Cache

4) Verified "Master Passphrase Deployment" timerjob successfully completed on all server

5) iisreset

6) Tried to remember old passphrase and tried multiple guess :(

Since I cant rebuild the farm, Please suggest me for some solution.

I also refered to the below forum where they talk about regedit key but not able to trace the key as the server is not connected to farm.

https://social.msdn.microsoft.com/Forums/office/en-US/7b9eeb86-fb78-408c-9653-ea555a22bb37/second-wfe-seems-to-store-the-passphrase?forum=sharepointadmin


Thanks

Hemant



OWA Showing Unknown Zone Instead of Local Intranet

$
0
0

Hey SharePoint Fam,

I have an issue where my entire SharePoint sites/pages load fine 100% within the Local Intranet zone as they should.  When users click on office files and view within Office Web Apps the zone automatically goes to Unknown Zone(Mixed) and prompts for password whenever the user tries to edit a file within the office application(excel, word,etc).  Is there something on my end within OWA that needs to be configured or are there network Group Policies conflicting with each other making owa go to unknown zone each time?

I have the WOPIZone set to internal-http

Thanks so much N Advance



add new item error in custom solutions after sharepoint 2013 SP1 Upgrade

$
0
0

we had 3 servers farm, 1 app and 2 wfe servers, after sharepoint 2013 sp1 all our custom solution workflows are not working up on submitting the request. add new item code is throwing error after upgrading to sp1. please find link of errors raised in even viewer and in application. Please send the reply ASAP as we are facing problem on production server.

http://1drv.ms/1ZiyJq4

http://1drv.ms/1ZiyKu8

Thanks and Regards

krishna

Delete orphan database in SharePoint 2013

$
0
0

While Deleting Project Server database from sharepoint farm I am getting below error message.

Exception calling "Delete" with "0" argument(s): "An object in the SharePoint
administrative framework, "ProjectDatabase
Name=PWA-Server_projects_DB", could not be deleted because other
objects depend on it.  Update all of these dependants to point to null or
different objects and retry this operation.  The dependant objects are as
follows:
ProjectSite Name=942b56f1-5fdd-4d8e-8dcc-3256e5104a4c
"
At line:1 char:1
+ $DatabaseToDelete.Delete()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

 

No Project site exist with 942b56f1-5fdd-4d8e-8dcc-3256e5104a4c ID. Please let me know how to solve this problem.

 Here is the script

 $orphanedDB = Get-SPDatabase | where{$_.Name -eq "PWA-Server_projects_DB"}
 $orphanedDB.Delete()


Amar

change passwords for Farm account and Service accounts

$
0
0

HI,

I have a sharepoint Internet farm,

and for security reasons i have to change passwords for

-sharepoint farm account

-shrepoint web application pool accounts

- sharepoint service accounts

here how i start to do complete my task

-is can i change passwords for these accounts initially in A.D?

- and after update passwords from sharepoint C.A or Powershell?


adil

SharePoint 2013: Versioning of files corrupted throughout the Farm.

$
0
0

We have a library where we have performed below activities:

- enable versioning in a document library using Major and minor Version
- create a new document (e.g. Word).
- make a few changes, save each time to create minor Versions
- promote the latest minor Version (e.g. 0.3) to a Major Version (0.3 --> 1.0)
- make a few more changes to create new minor Versions (e.g. 1.1 and 1.2)
- retract Version 1.0 --> will be reverted back to 0.3, nomenclature of 1.1 and 1.2 does not Change, ok. this is happening same in SP 2010 environment.
- promote 1.2 to Major Version:
   --> SharePoint error, The URL "XXXXXXXXXXXXXXXX" 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.
   --> Version is increased to 2.0
   --> old Version of the document cannot be opened any more.

I have also checked the same behavior in other SP2013 environments and the issue persists there too.

So, is this SP2013 product issue?

Or Somebody faces the same problem.

How to remove a conflicted/nonexistent Site collection?

$
0
0

Hi,

When I perform Upgrade-SPContentDatabase command, an exception was thrown out:

From Site Collection List, I can find the site without metadata table, which should be displayed on the right area.

That is, the properties table is missing:

When search in UPS, the user profile of that user cannot be found. The AD account should be removed/renamed I guess. Could you please advise what to do to get rid of the problem? I need to clean it up. Thank you.


Error while Importing a site 0x80070005

$
0
0

Hi,

I am trying to perform an import operation - importing a subsite on the root site of a new site collection. While the import finishes; it finishes with 50 odd errors; all are -

Error: <nativehr>0x80070005</nativehr><nativestack></nativestack>

Below is the piece of ULS log:

[12/23/2015 11:57:28 PM] [Folder] [AB922B82-8406-4E49-B17B-9057BDF09503] Progress: Importing
[12/23/2015 11:57:28 PM] [Folder] [AB922B82-8406-4E49-B17B-9057BDF09503]   Verbose: Source URL: Lists/PublishedFeed/AB922B82-8406-4E49-B17B-9057BDF09503
[12/23/2015 11:57:28 PM] [Folder] [AB922B82-8406-4E49-B17B-9057BDF09503]   ExtendedVerbose: Creating
[12/23/2015 11:57:28 PM] [Folder] [AB922B82-8406-4E49-B17B-9057BDF09503]   Error: <nativehr>0x80070005</nativehr><nativestack></nativestack>
[12/23/2015 11:57:28 PM] [Folder] [AB922B82-8406-4E49-B17B-9057BDF09503]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
   at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
   at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename, Boolean bPreserveItemUIVersion)
   at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename, Boolean bPreserveItemUIVersion)
   at Microsoft.SharePoint.SPListItem.MigrationAddOrUpdate(Boolean bAddNew, Boolean bIsPublish, Guid newGuidOnAdd, Boolean bNoVersion, Boolean suppressAfterEvents)
   at Microsoft.SharePoint.Deployment.FolderSerializer.CreateFolder(SPWeb parentWeb)
[12/23/2015 11:57:30 PM] [Folder] [FEB96200-6E92-41DB-856B-E8702BCDF33A] Progress: Importing
[12/23/2015 11:57:30 PM] [Folder] [FEB96200-6E92-41DB-856B-E8702BCDF33A]   Verbose: Source URL: Lists/PublishedFeed/FEB96200-6E92-41DB-856B-E8702BCDF33A
[12/23/2015 11:57:30 PM] [Folder] [FEB96200-6E92-41DB-856B-E8702BCDF33A]   ExtendedVerbose: Creating
[12/23/2015 11:57:31 PM] [Folder] [FEB96200-6E92-41DB-856B-E8702BCDF33A]   Error: <nativehr>0x80070005</nativehr><nativestack></nativestack>
[12/23/2015 11:57:31 PM] [Folder] [FEB96200-6E92-41DB-856B-E8702BCDF33A]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
   at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
   at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename, Boolean bPreserveItemUIVersion)
   at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename, Boolean bPreserveItemUIVersion)
   at Microsoft.SharePoint.SPListItem.MigrationAddOrUpdate(Boolean bAddNew, Boolean bIsPublish, Guid newGuidOnAdd, Boolean bNoVersion, Boolean suppressAfterEvents)
   at Microsoft.SharePoint.Deployment.FolderSerializer.CreateFolder(SPWeb parentWeb)

I am unable to understand the reason for this. I have tried disabling and enabling Publishing feature with no luck. 

Display Quota Available on for each site collection.

$
0
0

Hi All,

I have a business requirement where management wants to display site banner along with Quota available for that site collection. There are some minor customization on home page as well. Management wants to make this least available efforts.     

For e.g. Contoso Home   (50% available of 100 GB). 

To achieve this, I am make planning as follows:

  • Custom master page as a feature.
  • Write custom code for quota calculations using object model.
    • Will visual web part be helpful in this?
  • Display the Quota on the home page.

Please advise what other techniques can I use to achieve this?

Thanks in advance.      


Sandy


Site Collection Health Check not completing successfully

$
0
0

We are planning to migrate one big site collection of around 500+ GB from SP 2010 to SP2013, post test (none of these are related to pre-migration errors) and mount was done but unable to upgrade to this site collection to SP 2013 look & feel as Site Collection Health Check itself is failing, we tried running PS scripts manually in isolation (Test-SPSite, Repair-SPSite and Upgrade-SPSite) to get to the actual root cause but it still fails.

Microsoft.SharePoint.SPException exception thrown in SPSiteHealthChecker.Test():  Cannot complete this action.  Please try again.     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.GetWebListPermMask(String bstrUrl, String bstrListName)     at Microsoft.SharePoint.SPWeb.get_EffectiveBasePermissions()     at Microsoft.SharePoint.SPSecurableObject.DoesUserHavePermissions(SPBasePermissions permissionMask)     at Microsoft.SharePoint.SPSecurableObject.CheckPermissions(SPBasePermissions permissionMask)     at Microsoft.SharePoint.SPSecurity.ValidateSecurityOnOperation(SPOperationCode code, SPSecurableObject obj)     at Microsoft.SharePoint.SPSecurityOnOperationScope..ctor(SPOperationCode code, SPSecurableObject obj)     at Microsoft.SharePoint.SPContentTypeCollection.FetchCollection(IList`1 exceptions)     at Microsoft.SharePoint.SPWeb.get_ContentTypes()     at Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthConflictingContentTypeRule.ProcessWeb(SPWeb spWeb)     at Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthRule.ProcessWebs(SPWeb spWeb)     at Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthRule.ProcessWebs(SPWeb spWeb)     at Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthRule.ProcessWebs(SPWeb spWeb)     at Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthRule.ProcessWebs(SPWeb spWeb)     at Microsoft.SharePoint.Administration.SiteHealth.SPSiteHealthRule.ProcessWebs(Boolean repair)     a)). Execution Time=321.660382069075

Not sure if this has to do with the size of the site collection due to which we are having this upgrade issues ? Do this mean we need to take a different approach to migrate this, may be Import/Export approach or using some third paty tool to have it upgraded/migrated sucessfully.

Please share your experince to understand the root cause or on the approach to migrate/upgrade site collection with this size successfully.

Migrating a large size site collection to SP2013

$
0
0

We are planning to migrate a large size site collection (> 1TB) from SP 2010 to SP2013(on prem).  

Apprehensive due to the size of this site collection with a content db so huge, I doubt that the migration(database attach approach) might fail.

Not sure of the best approach to take for migration.  I have thought of below mentioned approaches so far:

1. Export sub-sites from this Site Collection and Import it to a newly created Site Collection with separate content db. And then migrating to SP2013.

2. Use third party tools like DocAve, Metalogix, Sharegate, etc.

Any help appreciated!

Thanks

SharePoint 2013 config wizard fails

$
0
0

Hello community,

We try to install SP 2O13 SP1 (SW_DVD5_SharePoint_Server_2013w_SP1_64Bit_English_MLF_X19-36118) on Windows 2O12 R2 using trial product key.

I tried to install binaries to different locations and I ended up with "15" folder having 1,5GB and configuration wizard failing at step 2.

Error log contains this:

Last message from task configdb is An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.

Additional exception information: Failed to call GetTypes on assembly Microsoft.SharePoint.Portal.Upgrade,

Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly

'Microsoft.Office.Server, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its

dependencies. The system cannot find the file specified.


Permissions according to technet.Prerequisities OK.

Have anyone experienced such behavior? Never seen this error before.

I appreciate any hint.

Thank you guys.



Check Permissions on user in group (shows none)

$
0
0

In SharePoint 2013, we have added AD security group and trying to check permission unable to find permission level for AD user, some of AD users are showing permission.

my current version is Windows 2012 server.

i have tried gpupdate /force

For Ref http://sharepointconnoisseur.blogspot.in/2011/06/check-permission-levels-given-to-user.html

Thanks 

An error occurred while processing the request on the server. The status code returned from the server was: 0

$
0
0

I just finished an implementation of SharePoint 2013 using host-named sites. The sites authenticate and open correctly, but anytime I try to do anything I end up with the following error: "An error occurred while processing the request on the server. The status code returned from the server was: 0". I have checked and the web application IIS site has anonymous permission enabled.

This is hampering our ability to use our new sites. Does anyone have any thoughts?

Viewing all 21070 articles
Browse latest View live