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

Visio - bug - The server failed to process the request

$
0
0

Hi

When uploading a visio diagram into one of our sharepoint document libraries we then get a 'The Server failed to process the Request' error when we then try and view the document in the Web Browser. Does anyone know how to fix this?

Thanks


Terminate Suspended SharePoint 2013 Workflows with PowerShell

$
0
0

Greetings,

I have a large list (form library) with hundreds of 2013 workflows in a Suspended state.  I would like to write a PowerShell script to terminate these workflows and restart for each item.  Can someone point me to an example?

Thank you!

Bob

SharePoint 2013 - 401 - Unauthorized: Access is denied due to invalid credentials.

$
0
0

I have a dev/lab environment with 4 virtual machines. I need to give my fellow developer access to my SharePoint 2013 demosite via IP-address (don't bother to ask why I'm using ip-adress. It's too complicated network setup to describe it here).

However i get this error when I try accessing the site using server IP 10.100.101.XX:80

<fieldset>

401 - Unauthorized: Access is denied due to invalid credentials.

You do not have permission to view this directory or page using the credentials that you supplied.

</fieldset>

I get same error locally and on other machines in the network when using IP.

Here's my setup: VMs: DC + SP2013-WFE + SQL2012 + Office Web App Server

SharePoint 2013 is RTM version. Web Application I'm trying to access is the default SharePoint - 80. I have DisableLoopbackCheck set. No alternate access mappings set so far. I can access the site on SharePoint 80 using the servernamehttp://devmachine  just fine. I tried same scenario on SharePoint 2010 version and using the server IP-adress and it worked fine. I've also tried different credentials. Only difference between SharePoint 2010 and 2013 setups I managed to find was the Authentication Method used by the default SharePoint - 80 web application. SharePoint 2010 default SharePoint - 80 Web Application usesClassic Mode Authenticaton. On 2013 server it is set as Claims Based Authentication.

I haven't played with Claims too much. Is it Claims Authentication that is preventing the access via IP or is it something else? Perhaps changes in SharePoint 2013 IIS websites? Please help me out with this problem!

SharePoint 2013 on-premises face it to the internet

$
0
0

How to allow internal (Authenticated) users to access SharePoint from the internet?

is it using Form Based Authentication and Certificate? or ADFS  other method?

What is the steps for any method selected??

no content will be available to the public people.



How to make a SharePoint site available over the Internet in a secure way?

$
0
0

If we need to make SharePoint  site available over the Internet in a secure way, what is the best way?

As of now we have a single NetScaler sitting in Both DMZ and INTERNAL network. (As of now our SP site is internal only).

Thanks.

Creating Different Site Collections vs Doing all in one (SharePoint Online)

$
0
0

We recently launched our intranet using SharePoint Online. Now it is time to build Team Sites. We want users to be able to access Team Sites from our existing intranet. There will be about 5-6 Team Sites (one for each department).

Should we create a separate (ONE) Site Collection for all Team Sites. That helps in separating permissions but we want users to see the same branding as the Home Page.

In other SharePoint version that can make a significant impact. This is because making a Site Collection very large requires some planning and architectural changes. Add more Web Servers, expand and add Content Databases, etc. But in SharePoint Online, Microsoft takes this burden.

What is the recommended approach? Any downsides, pros and cons.

Thanks so much in advance!

Mayank

Rename SharePoint Search service database

$
0
0

I am attempting to rename the SharePoint search databases from the long GUID name to something standard.  This is a fresh SharePoint install.  I have followed the example from https://technet.microsoft.com/en-us/library/jj219654.aspx with no luck. I am restoring databases onto the same SQL Server but using different names.  I attempt to update the Search Administration database and get the following error:

PS C:\Users\ks1> $SearchService | Set-SPEnterpriseSearchServiceApplication -DatabaseName Search_Service_Application_DB -DatabaseServer ServerName

Set-SPEnterpriseSearchServiceApplication : An item with the same key has
already been added.

I have already tried the clear cache suggestion with no luck.

 

How to display the most visited items in custom list using jquery

$
0
0

HI

I want to display the most visited  items in a custom list using jquery and the row limit is 5.Could you please tell any links.

Regards,

Jayendra


The reason why some subsites can be restored by docave

$
0
0

We use docave to do the migration from 2007 to 2013. But after finishing it we find some subsites are not be restored

from log the message key is below

1.Migration_SharePoint_ImportDoingRestoreError

2.Migration_SharePoint_ImportParentObjectFailed

Can anyone tell us  the reason and how to solve it

In addition, by docave ,what kind of subsite can't be migrated, and  after some option selected .what kind of subsite can be migrated . If can be migrated. what is the option?

naming convention for offline synced folders

$
0
0

Dear all,

hopefully, this is a RTFM question ...

if you synced a library on your Windows computer by default the folder name is the "name"  property of the library in your SharePoint offline Collection. Is there any configuration to change the rule how to build the rule of that folders name?

Example:

I'm working for a company that has several projects (libraries) with properties for the customers name (= custom property "customer") and the library name (name of the customers project). Unfortunately it's not possible to change the  value on the "name" property, as there is a business need to have the project value here.

as I am mostly working on Exchange projects most of the projects are called "Exchange"; so we have several sync folders in the local SharePoint offline library, that are named Exchange, Exchange(1), Exchange(2), ... for the naming conflicts.

As time goes by  you have several folders like that and it's very hard to find the proper project offline folder. So I' looking for a rule to rename the offline folders using a pattern like "customer - project".

Please advise! Thanks.

Kind regards,
Martin

Workflow not starting when items moved

$
0
0

I have created a SharePoint 2013 list workflow that is set to start automatically when an item is created and when an item is changed.

The workflow starts as expected when a document is created or when a document is edited, but not when a document is moved. For example, after moving an item by dragging it into a folder within the web UI, or via dragging into a folder after "Open with Explorer," the modified date on the item gets updated as expected, but the workflow does not start.

Is this expected behavior? Is there any way to have a workflow start when an item is moved?

Thanks in advance.

Report Server Integration and Power View Integration Feature missing in site collections??

Backup and Restore in Multi Tenancy

$
0
0

Hi Everyone

We are in need of backing up contents of few tenants sites(all hnsc's) from one farm to another SP farm. In our case, we'll have different site urls for tenants than from the source SP farm. Think of it as taking backup ofhttps://tenant1.contoso.com to https://tenant1.dev.contoso.com.

I was earlier thinking of using content database backup, but I've observed that it brings site url with it. So I tried using SPSite.Rename() method and it works but somehow it also retains old url with it. Surprisingly, get-spsiteurl does not list any additional urls after renaming. So I guess this will not work for us. Not sure if I'm doing it right.

In search of another method, I used backup-spsite and restore-spsite and it seems to be working for us. I wanted to check with you guys, if this is the way to go. Pls also advise if restore overrides existing subscription or not. If yes, I'm thinking of export subscription settings before restoration and importing them again after restoration. Will that help?

Thanks for all the help.


Thanks
Mohit


Access denied on some personal sites for site col admins : SPRequest.GetWebMetainfo fails with System.UnauthorizedAccessException

$
0
0

Hi,

On this SharePoint 2013 SP1 (15.0.4571.1502) I've been fighting with a couple of My Sites whereas designated Primary and Secondary site col admins and other users cannot access.

The https://mysites.domain.com/personal/account/_layouts/15/viewlsts.aspx leads to :
Sorry, something went wrong
An unexpected error has occurred.

The https://mysites.domain.com/personal/account/default.aspx leads to :
Sorry, something went wrong
User not found.

ULS extract

SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\user, ClaimsCount=67
SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized
SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005
SharePoint Foundation General aix9j High SPRequest.GetWebMetainfo: UserPrincipalName=, AppPrincipalName= ,bstrUrl=https://mysites.domain.com/personal/user 
SharePoint Foundation General ai1wu Medium System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.get_AllProperties()     at Microsoft.Office.Server.Search.WebControls.SearchCommon.<>c__DisplayClass7.<GetCurrentSiteCollectionProperty>b__5()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()     at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)     at Microsoft.Office.Server.Search.WebControls.SearchCommon.GetCurrentSiteCollectionProperty(String key)     at Microsoft.Office.Server.Search.WebControls.SearchCommon.GetSearchCenterUrl()     at Microsoft.Office.Server.Search.WebControls.NavigationNode.get_CurrentNavigationCollection()     at Microsoft.Office.Server.Search.WebControls.ScriptApplicationManager..ctor()     at Microsoft.Office.Server.Search.WebControls.ScriptApplicationManager.GetCurrent(Page page)     at Microsoft.Office.Server.Search.WebControls.SearchBoxScriptWebPart.OnInit(EventArgs e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) c88c6f9d-e063-10d4-bc40-ecfbe2778766

Looking at RoleAssignments, we see that i:0#.w|domain\user has Full Control in addition of being Site Col Admin

We use claims-based auth and Test-SPContentDatabase reports no issue on the Web App.

Some sites in same database and web app have no problem, so I suspect something wrong with failing site collections settings but could not find what.

Help greatly appreciated.


/Patrice

Configuring Sharepoint Products fails at configuration task 8 of 10 with "Failed to create sample data."

$
0
0

I have a new install of Windows Server 2008 R2 and am attempting to install SharePoint 2013 on a single server with a built-in database.  You would assume this should work OOTB given they are all Microsoft Products, however seems it can't be that simple. I am running the SharePoint product Configuration Wizard as administrator, I have tried both installing Windows Updates and skipping them and searched the internet for hours looking for a solution.  The most common solution has to do with sharing the Analytics_GUID folder, however I don't have this folder (I assume it's not even making it this far). The relevant logging is below.  Any help greatly appreciated!

03/15/2016 09:58:02  9  ERR                    Failed to create sample data.
An exception of type System.NullReferenceException was thrown.  Additional exception information: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.SharePoint.SPEvaluatorModeProvisioner.IsProvisioned()
   at Microsoft.Office.Server.EvaluatorModeProvisioning.SharedEvaluatorModeProvisioner.IsProvisioned()
   at Microsoft.SharePoint.SPEvaluatorModeProvisioner.Provision()
   at Microsoft.Office.Server.EvaluatorModeProvisioning.SharedEvaluatorModeProvisioner.Provision()
   at Microsoft.SharePoint.PostSetupConfiguration.EvalModeProvisionTask.EvalProvision()
   at Microsoft.SharePoint.PostSetupConfiguration.EvalModeProvisionTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()


No search results non-partitioned search with site subscriptions?

$
0
0

Hi everyone,

We're trying to get all the search results combined (people search etc.), but we're experiencing different situations:

Situation A

- 1x non-partitioned Search Service application

- 1x non-partitioned User Profile Service application

Result: 0 search results, perfect results people search

Situation B

- 1x partitioned Search Service application

- 1x non-partitioned User Profile Service application

Result: perfect search results, 0 people search results

Could it be because we're using site subscriptions, that an application needs to be partitioned before it can be used? We've tried everything: creating with PowerShell, via GUI etc. And yes, it is also tested with a Search Center. The results are always the same.

We want to avoid to change the User Profile Service application because it's full of information already.

Hopefully someone can help us with this problem, thanks in advanced!

With kind regards,

M. Hekman

Null pointer error during cumulative update

$
0
0

Hello -

I received and resolved this error during the installation of a CU. 

An exception of type System.Data.SqlClient.SqlException was thrown.  Additional exception information: Cannot open database "Search_Service_Application_1_LinksStoreDB_8f37b217ed2941498d48a5a4f3172622" requested by the login. The login failed.

Login failed for user 'domain\spadmin'.

Fix was to remove references to the non-existent database:

$db=Get-SPDatabase | where {$_.Id –eq “e81d46a5-bf24-4874-810f-7d74fb6ad32d”}

$db.Delete()

However, now when I ran the psconfig command to force the upgrade, I find I still have 1 unsuccessful configuration setting.   The log shows:

Attempt to register null pointer at:    at Microsoft.SharePoint.Upgrade.SPHierarchyManager.AddNextLevelObject

I ran a $db.contentdatabses.count against all of my web applications, and they come back as 0, which is good.  Even though Upgrade Status shows Failed, SharePoint is reporting it as the latest version after the CU.    Is there something else that should be done at this point?  thanks



RBS Migrate error in SharePoint 2013 with SQL Server 2014 BI Edition

$
0
0

All,

We are trying to migrate data off of RBS in a SharePoint 2013 farm running an Enterprise version of SharePoint and a SQL Server 2014 BI edition for the database.

When we run the first set of commands from this TechNet article:

https://technet.microsoft.com/en-us/library/ff628254.aspx

We get the following error - which appears has us stumped because the rbs.Migrate appears to not require any paramaters and even if a database is placed in quotes as such with the rbs.Migrate command - we still obtain the similar behavior:

Move-SPUser - System.ArgumentException; Parameter name: loginClaim (ADFS)

$
0
0

Hi,

I am setting up ADFS for a SharePoint 2013 farm.

So far, I have installed ADFS, created the relaying party trusts for each web application in my SharePoint farm and created the Trusted Identity Token Issuer for them.
I added a user from my trusted provider (username@zzzz.com) as an admin of the site collection and I can log into SharePoint through the ADFS with that user and navigate perfectly all webs.
With other users, I get an "Access Denied" error, which is expected, since they dont have permissions for the ADFS trusted provider.

So the next sept should be migrate the users from the NTLM mode to the Trusted provider, that I intend to achive with this PowerShell:

$user = Get-SPUser -Web https://xxxx.yyyyy.com -Identity "i:0#.w|domain\username"
Move-SPUser –Identity $user –NewAlias "i:05.t|adfs|username@zzzz.com" -IgnoreSID

What I get is the following error:

Exception             : System.ArgumentException: Exception of type 'System.ArgumentException' was thrown.
                        Parameter name: loginClaim
                           at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKeyClaim(IClaimsIdentity claimsIdentity, SPClaim loginClaim)
                           at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)
                           at Microsoft.SharePoint.Utilities.SPUtility.GetFullUserKeyFromFullName(String fullName)
                           at Microsoft.SharePoint.Administration.SPFarm.MigrateUserOrGroup(Guid subscriptionId, String oldLogin, String newLogin, Boolean usersOnly, Boolean enforceSidHistory)
                           at Microsoft.SharePoint.Administration.SPFarm.MigrateUserAccount(Guid subscriptionId, String oldLogin, String newLogin, Boolean enforceSidHistory)
                           at Microsoft.SharePoint.Administration.SPFarm.MigrateUserAccount(String oldLogin, String newLogin, Boolean enforceSidHistory)
                           at Microsoft.SharePoint.PowerShell.SPCmdletMoveUser.InternalProcessRecord()
                           at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()
TargetObject          : Microsoft.SharePoint.PowerShell.SPCmdletMoveUser
CategoryInfo          : InvalidData: (Microsoft.Share...PCmdletMoveUser:SPCmdletMoveUser) [Move-SPUser],
                        ArgumentException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletMoveUser
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo

Does anyone have any clue what could be wrong?

File not found on site collection output cache

$
0
0

Hi

I have a single site collection on SP2013 SP1 (host named site collection) and when I go to some of the pages, such as the site collection output cache, I get file not found.

In the ULS logs, I get an error about siteaction.xml file not found, yet it's on the hive on all servers and in the site collection.

This is the only site collection with this issue and there's no custom features etc on the site.

Any ideas what the issue may be?

Viewing all 21070 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>