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

Issue with SharePoint Permission

$
0
0

Hi All,

We have an issue with the SharePoint Permission. we granted contribute and visitor permission to the user xyz. while accessing the document from the document library, user xyz automatically kick-out from the SharePoint permission. 

Note: User is trying to access the word in preview mode. 

User is internal domain user and non other user have issues to this site. Please suggest.

Thanks in advance!

Thanks

Arun



Arun Prakash


How to Configure the SMTP in sharepoint 2013?

$
0
0

Hi 

How I configure E-Mail in SharePoint 2013 server? Currently I have diff. exchange server. So I would like to use same SMTP account for configure the E-Mail. Please let me know is this possible? If yes Please let me know the steps.

Regards,

Basant Pandey


E-mails stuck in ...\mailroot\drop folder.

$
0
0

Hi,

I am trying to set up SharePoint 2013 incoming e-mail, with the ultimate goal being to use it to create distribution lists (rather than have e-mails land in file libraries, which is also a common use).  I've set up the needed Active Directory OU and related security rights, along with SMTP on my SharePoint server and the needed settings in CA.  I create a new SharePoint security group (with only myself in it) and assign an e-mail address: name@sharepointsite.org, let's say.

On sending an e-mail to this address, I see the .eml file appear in the ...\drop folder.  But then it just stays here.  I receive the following errors in the ULS log:

03/10/2015 10:04:53.98	OWSTIMER.EXE (0x2FC4)	0x47E0	SharePoint Foundation	E-Mail	6873	Warning	An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\drop\7daed0ac01d05aaf00000007.eml. The error was: Unknown alias: monaspdls..	246df19c-c0ad-2037-9bb7-8560edc1ed4c

03/10/2015 10:04:53.98	OWSTIMER.EXE (0x2FC4)	0x47E0	SharePoint Foundation	E-Mail	6871	Information	The Incoming E-Mail service has completed a batch.  The elapsed time was 00:00:00.0019976.  The service processed 1 message(s) in total.  Errors occurred processing 1 message(s): Message ID:    The following aliases were unknown: monaspdls	246df19c-c0ad-2037-9bb7-8560edc1ed4c

This tells me, I believe, that the Timer service is running the job as it should, but not succeeding. 

I've read in numerous locations that running "stsadm.exe -o refreshdms -url <URL name>" fixes the issue, but that didn't seem to do it.

Any ideas?  Thanks!



Workflow Failed on Start when SSRS Integrated Subscription saves to document library

$
0
0

We are on SharePoint 2013 but using SP2010 workflow to send an email when SSRS Subscription saves Excel report to library. SSRS 2012 SharePoint Integrated Mode  

Error says Failed on Start and then cancelled by system account 

ULS logs 

Microsoft.SharePoint.SPException: <Error><CompilerError Line="1" Column="1" Text="The root activity type is invalid." /></Error>     at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web)     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association, Boolean fallback)     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)

AutoStart Workflow: Microsoft.SharePoint.SPException ---> System.Runtime.InteropServices.COMException: <nativehr>0x8102008a</nativehr><nativestack></nativestack>     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId, String bstrModificationXml, Guid correlationId)    at Microsoft.SharePoint.Library.SPRequest.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId, String bstrModificationXml, Guid correlationId)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Workflow.SPWinOeEngine.CreateWorkflow(Object context, SPWorkflowAssociation association, SPWorkflowEvent startEvent, Boolean bCreateOnly)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions)    at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb superUserWeb)

Microsoft.SharePoint.SPException: <Error><CompilerError Line="1" Column="1" Text="The root activity type is invalid." /></Error>     at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web)     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association, Boolean fallback)     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)

Excel,PDF,OneNote preview not working in SharePoint 2013

$
0
0
Hi, We have configured office web app and the preview for word and ppt files are coming fine, but, the preview for excel,pdf and onenote is not coming up in the document library and also in the search result. Can someone please let me know what might be wrong?

Access to a site from the Internet not working, but is for other sites on the same SP

$
0
0

Greetings,

My environment:

  • SP 2013 Enterprise w/ SP1 installed
  • 2 servers in the farm, 1 for SQL, 1 for SP
  • Both servers are VMs running on Hyper-V, SQL is a bit underpowered when it comes to memory, SP is fine
  • 5 web applications running, including a MySites web app and Central Admin (I've seen where separate web apps isn't the recommended configuration any more, but, this is how it was done when setup)
  • All sites run using SSL (443), same NIC, using host headers, pretty standard stuff (I think)
  • Claims authentication on all but Central Admin
  • Central Admin is firewalled off to all but a select few
  • 1 to 1 correspondence between web apps and content databases
  • Other than MySites, all sites have either 1 or 2 site collections (search is in a separate site collection on 2 of the sites); MySites has many more site collections

So, site A, site B, site C, and site M are all supposed to be available from the Internet (with SSL and authentication) and also from the internal network. For site A, C, and M, this is true, no problem. Site B however doesn't work when coming in from the Internet, just internally. I've received multiple reports of this from some of my users around the country, and I've been able to replicate it on my computers.

IIS just gives a blank page, no messages, no login. Chrome does present a login box, and will log into the site and work. This is from a laptop that is a part of our domain with cached credentials, but not directly connected to our network or using our VPN. A non-domain laptop without cached credentials prompts me to login, as it should, and seems to work. The domain laptop will use the cached credentials to auto-authenticate to A, C, and M, but not B.

I'm using IE 11. I've tried putting the site into Compatibility mode, no joy. I've added the site to the Trusted Sites list, no joy. I don't have IE 10 available for testing (or 9 or 8 or ... just 11 :-(  ) I've flushed the browser cache, emptied the cookies, etc.

So, 3 of 4 sites work fine on the same machine, same Internet connection, same browser, same SP. I'm thinking it's something with IE, but, what? Seems like IE should be sending the same creds to all the sites, as they're all in the same Internet domain. Does IE or Windows cache different creds somewhere? Or is there something in SP? I could see where one person's settings could get hosed somehow, but numerous people around the country with different h/w, different Internet connections, different credentials?

ARGH! HELP!!! Point me at something to look at, because I'm drawing a blank (and getting permanent dents in my forehead from banging it on my keyboard)...

Thanks much,
Steven

Force downloading mysite HD photos from Exchange 2013

$
0
0

Hi Sharepoint Admins,

I want to force download all HD photos from Exchange 2013 into users mysite profiles. I already provisioned all user mysites by powershell. HD photos are also available, but every user has to open his own mysite by himself to trigger the picture download.
The goal is to download photos without having every user to logon on their site.

Is there any way to force this?

"SharePoint Server 2013 requests photos from Exchange 2013 automatically when a user performs an operation that causes a request for their own photo (for example, browsing to their own user profile page). That means that the user needs to have requested his/her own photo, before other users will be able to see it."

Best Regards
Markus Kühn


SharePoint 2013 Hardware Requirements

$
0
0
Are the SharePoint 2013 minimum hardware requirements based number of concurrent users (16GB)? Also is redundancy recommended in test to mirror production?

SharePoint 2013 - Change Page Layout of documents in a Publishing library.

$
0
0

We are converting over from SP 2010 to SP 2013. We have 2000+ Documents that needed to have a new page layout set up to work properly in SP 2013. I can go through each document individually and change them to the new Layout Page, but I do not have the time for this. I found a great PowerShell script that looks like it will do EXACTLY what I want. However, I'm still a novice when it comes to PowerShell. This script has stumped me in the most basic of ways. I can not figure out where to add the variables to declare the name of the Current Page Layout and the New Page Layout. I've tried numerous methods, but nothing is working for me. Can anyone take a look at this code and give me some insight?

# Description:
# Update the layout page for all matching pages of the current page layout
# Checkout, Change layout, Check-in pages in a site collection
#
# Syntax:
# ./UpdateLayoutPages [-PageLayoutCurrent] [-PageLayoutNew] [-all]
#
# Parameters:
# -PageLayoutCurrent     - The page layout that is currently in use and will be updated
# -PageLayoutNew        - The new page layout that pages will be updated to
# -all                     - Update subsites in the site collection
#
# Modifications:
# v1.0 - April 5th, 2011
# Initial version
#
# Settings
set-variable -option constant -name url  -value http://localhost   # Site collection
set-variable -option constant -name comment -value "Batch PageLayout Update"   # Publishing comment

# Function: Update-SPPagesPageLayout
# Description: Update a single page in a Publishing Web
# Parameters: publishingPage, pageLayout, comment
function Update-SPPagesPageLayout ([Microsoft.SharePoint.Publishing.PublishingPage]$publishingPage,
    [Microsoft.SharePoint.Publishing.PageLayout] $pageLayoutNew, [string]$comment)
{
    Write-Host "Updating the page:" $publishingPage.Name "to Page Layout:" $pageLayoutNew.Title
    $publishingPage.CheckOut();
    $publishingPage.Layout = $pageLayoutNew;
    $publishingPage.ListItem.Update();
    $publishingPage.CheckIn($comment);
    if ($publishingPage.ListItem.ParentList.EnableModeration)
    {
        $page.ListItem.File.Approve("Publishing Page Layout correction");
    }
}

# Function: Update-AllSPPagesPageLayouts
# Description: Loop through all the pages in a Publishing Web and update their page layout
# Parameters: web, pageLayoutCurrent, pageLayoutNew, comment
# comment Comment to accompany the checkin
Function Update-AllSPPagesPageLayouts ([Microsoft.SharePoint.SPWeb]$web, [Microsoft.SharePoint.Publishing.PageLayout]$pageLayoutCurrent,
    [Microsoft.SharePoint.Publishing.PageLayout]$pageLayoutNew, [string]$comment)
{
    #Check if this is a publishing web
    if ([Microsoft.SharePoint.Publishing.PublishingWeb]::IsPublishingWeb($web) -eq $true)
    {
      $pubweb = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($web);
      $pubcollection=$pubweb.GetPublishingPages()
      #Go through all pages checking for pages with the "current" page layout
      for($i=0; $i -lt $pubcollection.count; $i++)
      {
        if($pubcollection[$i].Layout.Title -eq $pageLayoutCurrent.Title)
        {
            Update-SPPagesPageLayout $pubcollection[$i] $pageLayoutNew $comment
        }
      }
    }
    $web.Close();
}

# Check Parameters
if(($args[0] -ne $null) -and ($args[1] -ne $null))
{
    Write-Host "** Update Layout Pages from-" $args[0] "-to-" $args[1] "-on URL" $url
    $pageLayoutNameCurrent = $args[0];
    $pageLayoutNameNew = $args[1];

    $site = new-object Microsoft.SharePoint.Publishing.PublishingSite($url)

    Write-Host "Checking if both page layouts exist in the site..."
    # Check if the current pagelayout exists in this site collection
    $pageLayouts = $site.GetPageLayouts($true);

    $pageLayouts | ForEach-Object {
        if ($_.Title -eq $pageLayoutNameCurrent)
        {
            Write-Host "Found CURRENT page layout: " $pageLayoutNameCurrent
            $pageLayoutCurrent = $_;
        }
    }

    # Check if the new pagelayout exists in this site collection
    $pageLayouts | ForEach-Object {
        if ($_.Title -eq $pageLayoutNameNew)
        {
            Write-Host "Found NEW page layout: " $pageLayoutNameNew
            $pageLayoutNew = $_;
        }
    }

    # Do not continue if the either pageLayout does not exist
    if(($pageLayoutCurrent -ne $null) -and ($pageLayoutNew -ne $null))
    {
        # Update all subsites
        if($args[2] -eq "-all")
        {
         $site.Site.allwebs | foreach {
            Write-Host "Checking Web: " $_.Title
            Update-AllSPPagesPageLayouts $_ $pageLayoutCurrent $pageLayoutNew $comment
            }
        }
        else
        {
         $site.rootweb | foreach {
            Write-Host "Checking Web: " $_.Title
            Update-AllSPPagesPageLayouts $_ $pageLayoutCurrent $pageLayoutNew $comment
            }
        }
    }
    Write-Host "**Done"
}
else
{
    Write-Host "Missing arguments.  Please check your parameters"
}
#End

The original post for this script is here: jakejacobsen.net/2011/04/06/powershell-script-for-updating-page-layouts-in-a-site-collection/

It's very well written, just lacking in the instruction as to where to declare these values...  It's a bit maddening!

Thanks for any help you can give!

- Matt

Removing Stock SharePoint 2013 Applications

$
0
0

Hi all,

I have a few Stock Apps that I would like to remove from SharePoint. I do not want these to show up on the "Add an app" page.

Site Mailbox

External List

Access App

Data Connection Library

Is there any way to do this? If not, is there other way to let users know that those apps are unavailable?

Let me know if you need any other information for answering this question.

Thanks,

Nick

How do I add the check out feature to the Excel (desktop) ribbon?

$
0
0
How do I add the check out feature to the Excel (desktop) ribbon?  I am using Excel 2013, is there a way to add this so I don't have to click: File, manage versions, check out...

SharePoint 2013 - Setup People Picker for domain with one way trust

$
0
0

Hi

we have successful setup a one way trust to let domain users from a forest / domain to be authenticated and access SharePoint resources on a different forest / domain.  as below

Forest A / DomainA.testA.com   ---------> external trust to ForestB / domainB.testB.com
SharePoint installed on A                         domain B users can access to SharePoint on domain A

from my understand this translated into:
Domain A  is trusted domain and Domain B is trusting domain.

Now I need to setup People Picker so that domain B users can be searched and select in SharePoint.
I have created an domain B user account ( domainB_ppicker)

I have followed several blog to see how to setup stsadm command for People Picker with one way trust, checked the register key for WSS_WPG access and still without success.  The command is as below.
as this point I think the account may be the problem but I don't know.

stsadm -o setproperty -propertyname peoplepicker-searchadforests -pv "domain:domainA.testA.com;domain:domainB.testB.com,domainB_ppicker, password" -urlhttps://spweb1

Can anyone advise on what more do i need or what I need to change to make this work.

Thanks


Swanl

"Access denied by Busines Data Connectivity" BDC

$
0
0

Hi!!!

I have brand new SharePoint 2013 Ent installed, and I'm part of Farm Administrators AD group.

 I'm trying to create External Content Type for SQL Server with windows identity impersonation authentication and preset TargetAppID  

  • I'm getting BCS Secure Store: TargetAppID  popup prompt for password and Username (not sure what kinda id it requires)
  • Then I'm getting "Access denied by BDC" 

Secure Store Service application -> added AD CORP_DOMAIN\SP_Farm group as Administrators and all Permissions
Business Data Connectivity Service application -> added AD CORP_DOMAIN\SP_Farm group as Administrators and all Permissions

What kind of permissions am I missing?

What kind of permissions (built-in or custom) are needed to run to run BDC Service ?


I suspect that my BDC Service is running under CORP_DOMAIN\SP_Farm . Could this be a problem?


WAP and SharePoint 2013

$
0
0

How shall SP configures in order to give access via WAP?   

Tried - but it gives me an 401 error  

Excel Web Access Web Part & In-Memory DCL

$
0
0

I wanted to load an Excel Web Access Web Part with an In-Memory table/objects instead of Database Tables.

Is that possible?


Visual Upgrade to 2013 - Missing Site Templates for ITTEAM and PROJSING

$
0
0

I've been working on Upgrading some old WSS 3 sites to SharePoint 2013.   I Have been able to get all of them imported to SharePoint 2010,and then have imported them all to my Sharepoint 2013 server. Now at the to of all of my sites is the  Experience all that SharePoint 2013 has to offer. Start now or Remind me later tag line.  I Click the Start Now option and it goes though its Checks and comes back with:

Missing Site Templates

The following sites are using templates that are not yet supported after upgrade:
  • http://<site>/it/Projects - ITTEAM#0
  • http://<site>/it/webservices - PROJSING#0

I understand that those Fab 40 Templates are no longer available to create in 2013, though what can I do with the Existing content that I have? Seems wrong to Leave it at the 2010 Visual Representation. 

For this one Sharepoint Site I could recreate the 2 Webs. Though on another Sharepoint site there are 123 sub sites with the sa,e two templates. I can't Abandon them.  Is there a way to convert them to a new template first?  How can I do the Upgrade and keep my content? If I have to use a new template for new sin sites, I'm fine, I just don't want to lose what I have.

Thanks!

How to add a reference to a custom stylesheet from a Team Site wiki page

$
0
0

We have a Team Site (no publishing feature enabled).  We have several wiki pages where we inserted custom html content via "edit source".  This custom content has some divs defined in it to which we want to apply some styling.  We have styles.css saved in Style Library.  How do I reference this style.css from the wiki page?  I don't want to put the style definition on the wiki page itself since the same style will be shared by multiple pages.

thanks,

bypass default login page - adfs

$
0
0

followed this: 

https://technet.microsoft.com/en-us/library/hh305235.aspx#AuthProvider 

but SP prompts me for login when I try to access the portal from the LAN side - and it's not using the Windows Authentificaton default.......what's missing? 

SharePoint 2013 Migration - Test all site collection are working or not?

$
0
0

How can i test all site collection are working proper or not after  migrated from Sharepoint 2010 to SharePoint 2013 ?

Any easy way to find out proper?

Thanks,

Deepak

Access Denied on incoming email with claims based user accounts

$
0
0

I have a somewhat unusual set up - I am using Foundation 2013, and have integrated Windows Azure AD accounts for external users through a trusted identity provider. That part works fine, and I can assign permissions based on the account name (which is equivalent to the email address). Users can access sites based on permissions, add content, etc. What doesn't work is incoming email for these external users.

I get the following error message in the ULS log:

An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\Drop\6f859b7b01d05c440000001c.eml. The error was: Access denied. You do not have permission to perform this action or access this resource..

Incoming mail works fine for normal domain users, just not external users. On a test account, I have ensured that the user has the Email field filled in on their profile, as well as the SIP, since I figured SP may be checking the email address against one of these fields, which are empty for these users by default.

Unfortunately, that did not help. I have also verified that the "X-Sender" address in the incoming email header is correct, which it is. Also, while an email is sitting in the SMTP drop folder waiting to be picked up, I can replace the X-Sender address with a normal domain user address, and it is processed correctly by SP.

When incoming email is enabled for everyone on a list, emails from external users are processed and posted in SharePoint under the System Account. So it seems apparent that SharePoint is unable to match up external user email addresses with an existing account in SharePoint.

Right now I am trying to figure out what the X-Sender field is verified against so I can see if there's a way to make them match up. Or, if anyone can think of another possible solution I'm all ears.

Viewing all 21070 articles
Browse latest View live


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