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

Error: Access Denied on an upgraded content database from 2010 to sharepoint 2013 - claims based auth misery?

$
0
0

After I took a windows based authentication / content database and copied it from my sql instance for sp2010 and to a new instance.. then created a new web app on the new 2013 box.. which seems to be set to claims based authentication.. and ran the import of the sql db..

If I hit the intranet site I get access denied unless using the system account.

Does anyone know if i'm missing a step here.. I believe it may revolve around claims based authentication which isn't/wasnt used before.

Thanks in advance


Tech, the Universe, Everything: http://tech-stew.com


SharePoint Custom Provider: Authenticate one user using different provider

$
0
0

I have requirement that one user is able to login to SharePoint using AD (normal windows authentication) or custom authentication provider. E.g. 1 user can login using [domain]\[username] using normal windows authentication or any AD attribute (e.g. Email Address) using custom authentication provider (FBA).

e.g. 

For example user1 is in Fabricam AD, with

Accountname: fabricam\user1
Email address: user1@fabricam.com
Employee ID: F12345

Using AD: fabricam\user1, 

Using custom provider: user1@fabricam.com or F12345

Regardless which provider user choose to login, it should access to SharePoint same way.

Is this possible to configure this way or any reference article?

Configuring ADFS - Object reference not set to an instance of an object

$
0
0

Hi,

I am trying to configure my web applications to use ADFS.  So, my systems admin has set up the ADFS server I believe following these steps -http://doitwithsharepoint.blogspot.com.au/2011/01/claims-based-authentication-using-adfs.html

I have now tried to configure the SharePoint side.  So, I have copied the Token-Signing certificate to the SharePoint server and run the following code:

$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("E:\ADFS_Token_Signing_Cert.cer")

New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert

$map = New-SPClaimTypeMapping -IncomingClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" -IncomingClaimTypeDisplayName "EmailAddress" -SameAsIncoming

$realm = “urn:sharepoint:intranet.domain.com.au:443”

$signinurl = “https://ADFSServer.domain.com.au:443/adfs/ls/”

$ap = New-SPTrustedIdentityTokenIssuer –Name "ClaimsProvider" -Description "My Custom Identity Provider" –Realm $realm -ImportTrustCertificate $cert -ClaimsMappings $map –SignInUrl $signinurl -IdentifierClaim $map.InputClaimType

I've then gone into Central Admin> Security> Specify Authentication Providers> selected Default zone (Claims Based Authentication)> and ticked the boxes for Trusted Identify provider and ClaimsProvider> OK.  Once it processes, it just comes back with "Sorry, something went wrong.  Object reference not set to an instance of an object"

I've also added this certificate to the Trusted Root Certification Authorities.  Is there something missing from the ADFS configuration or the SharePoint configuration?

SharePoint 2010 to 2013 upgrade: breaks when Publishing Infrastructure site feature activated

$
0
0

We are testing our migration of SharePoint 2010 content databases to a SharePoint 2013 test farm. When we mount/upgrade these content databases in our test farm some site fail to render with multiple errors in the ULS.

A typical ULS entry looks like this:

System.ArgumentException: Exception of type 'System.ArgumentException' was thrown.  Parameter name: encodedValue  

 at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)   

 at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaim(String value)   

 at Microsoft.SharePoint.SPUserToken.GetClaimsUserLoginName()   

 at Microsoft.SharePoint.SPSite.CopyUserToken(SPUserToken userToken)   

 at Microsoft.SharePoint.SPSite.SPSiteConstructor(SPFarm farm, Guid applicationId, Guid contentDatabaseId, Guid siteId, Guid siteSubscriptionId, SPUrlZone zone, Uri requestUri, String serverRelativeUrl, Boolean hostHeaderIsSiteName, SPUserToken userToken, Boolean appWebRequest, String appHostHeaderRedirectDomain, String appSiteDomainPrefix, String subscriptionName, String appSiteDomainId, Uri primaryUri)   

 at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, Boolean swapSchemeForPathBasedSites, SPUserToken userToken)   

 at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)   

 at Microsoft.SharePoint.SPSite..ctor(String requestUrl, SPUserToken userToken)   

 at Microsoft.SharePoint.Publishing.CachedObjectFactory.get_SuperUserSite()   

 at Microsoft.SharePoint.Publishing.CachedObjectFactory.OpenWebFromSuperUserSite(Guid webId)   

 at Microsoft.SharePoint.Publishing.CacheManager..ctor(SPSite site)   

 at Microsoft.SharePoint.Publishing.CacheManager.GetManager(SPSite site, Boolean useContextSite, Boolean allowContextSiteOptimization, Boolean refreshIfNoContext)    

 at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationSettings.GetCachedArea(SPWeb web)   

 at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationContext.GetMetadataNavigationHintsForList(SPWeb web, Guid listGuid)   

 at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataHierarchyNodeSiteObject.get_HasChildren()   

 at System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand)   

 at System.Web.UI.WebControls.TreeView.PerformDataBinding()   

 at Microsoft.SharePoint.WebControls.SPTreeView.PerformDataBinding()   

 at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()   

 at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()   

 at System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e)   

 at System.Web.UI.WebControls.TreeView.OnPreRender(EventArgs e)   

 at Microsoft.SharePoint.WebControls.SPTreeView.OnPreRender(EventArgs e)   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()    

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Control.PreRenderRecursiveInternal()   

 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

We have found that the only sites that fail that way are sites with the Publishing Infrastructure feature activated. If we deactivate that feature, the site will render (as a 14-mode site) properly.

We do not believe that the problem is with the content databases, because when we attach the same upgraded database to a different SharePoint 2013 farm, the sites with this particular feature render properly. Both of these farms are on build 15.0.4569.1000.

Get warning when try to run bat file from sharepoint 2013 - Some file could harm your computer

$
0
0

When try to run bat file from SharePoint 2013 get warning This type of file could harm your computer

Also Run option is not available, Save and Run is disable.

Thanks,

Jitendra

Connect to Office not working - nothing happens

$
0
0

I'm running Sharepoint server 2013 March CU and Office 2013 pro.

When I go to a document library and choose "connect to office" I was sort of hoping to get a link in my explorer Favorites and also in my office apps as this post describes very well:http://www.learningsharepoint.com/2012/11/19/sharepoint-2013-create-shortcut-to-your-sharepoint-library-for-saving-files/

However the only thing happening is that the site is added to "my site links" and nothing more. Tried to restart the client computer, wait several days and log in. Abosuletly nothing happens.

This is the case on 3 environments so the question is. What have I misconfigured? What is the exact requirements of this function to work? Do I need some GPOs or something?

Thank you

Sharepoint 2013 - Two servers on Manage Services on Server

$
0
0

Hi,

my Sharepoint 2013 Enterprise:

- Standalone on premises

- SQL Server on the same server

- VMware VM

When I go to "Manage Services on Server" I see two servers:

1. One with the hostname - netbios (nic-vm-005) as server name with SharePoint Enterprise 2013 and all the services on it (Search, Secure Store, Excel, User Profile, etc etc).

2. One with the alias name (minux) as server name with SharePoint Foundation installed and with only one service on it.

Is this normal?

Could I get all the services from 1. and move them to 2.?

Thanks!


Group policy for sharepoint automatic login

$
0
0

I added a group policy for sharepoint automatic login. Added my sharepoint site to trust sites and intranet sites and 

set "Automatic login with current user name and password", but it is not working, I need still enter user name and pw when open sharepoint site.


Awen


Unable to decline access request with "Failed to decline request" error

$
0
0

Hi

I setup Access Request for some of the sites and all things seem to work properly,  except for one site that for some reason, I cannot decline any Access Request at all.  When I tried to decline, i got an error"Failed to decline request".  but I can Approve with no problem so don't look like permission is the problem as I have Site Collection Administration and Full Control permission to this site.

As this the only site that I have this problem and I don't see any different settings from the others sites as the settings are simple to miss anything.  I just don't know how to troubleshoot it beside checking the permission and email address.

Anyone have experience this or have any advice,  please share

Thanks

 


Swanl

QR Code with current URL

$
0
0

Hi everyone,
I'm trying to display the QR code with the actual URL including the LIST and ID item.  I tried to use the code "_spPageContextInfo.webAbsoluteUrl"but it won't give me the List and ID item. 

This is what I want:
http://sharepointewebsite.com/Lists/Assets/Item/displayifs.aspx?List=0eb23f6c-5c12-44ff-8b12-962627a16c01&ID=2

This is what I get:
http://sharepointewebsite.com/

Below is the full code:

< script  src = " http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js " > </ script >
< script  type = "text/javascript"  src = " http://sharepoint.demo.com/Style%20Library/jquery.qrcode-0.2.min.js " ></ script >
< script  type = "text / javascript" >
$ (Document). Ready (function () {
    $ ("# Qrcode"). Qrcode ({
        render: 'canvas',
        width: 100,
        height: 100,
        color: '# 0C71C1'
        text: _spPageContextInfo.webAbsoluteUrl
    });
});
</ script >
< div id = "qrcode" > </ div >

Thanks everyone! 

flavio

Ssharepoint 2013 "shared with me"

$
0
0

Hi everyone,

I would like to know if the resource "Shared with me" and "Recents documents" on Skydrive is available on Sharepoint 2013 on-premise. 

Thanks!


flavio

Upgrading WSS 3.0 to 2013

$
0
0
I am in the process of migrating TFS 2010 which came with WSS 3.0. I am migrating to  TFS 2013 with Sharepoint 2013. I took the content database and restored it to the new server (2012r2 with SQL 2012 sp1). Then I installed Sharepoint 2010 foundation on another server. I ran the  stsadm -o addcontentdb with a local url and the remoted restored database. the first time I ran it I got some errors on the upgrade so, I realized I forgot some tfs sharepoint extensions so I went and installed them. Now when I run the command it no longer upgrades the database just attaches it. So I blew away the database on the new server restored it again and attempted to upgrade but I get the same thing it just attaches the database but does not upgrade. Not sure what I am missing. Is there a command to go re verify it? 

Request management service issue with SSL Sites

$
0
0

Hi guys,

I've configured up the request management service, but after start the service on our wfe servers (even before to configure specific web applications),  our ssl sites begin to fail and the event viewer start to alert several errors, by the other hand, sites over 80 port with no SSL works as expected.

I've found some similiar scenarios without a happy ending. Below you can find some of the main errors in event viewer and ULS Logs. In this post  solved a very similar issue using ssl host headers with a unique ip but we are using fqdn certificates so it is not an option for us.

I've already checked the good posts from Spencer Harbar and He says that is good idea to use host named site collection, but this is not an option for me because we need to use Self Service Creation and mixed authetnication, besides, None of the Technet literature that i've reviewed says  something about don't support path based site collection.

So far, the only way to avoid this errors is not using the service(discouraging finding), These are some errors we got on Event viewer and logs:

Machine 'MACHINENAME (AppPool(_LM_W3SVC_515444293_ROOT))' failed ping validation and has been unavailable since '3/28/2014 3:55:48 PM'.  (Just starting the service Event viewer begis to have a bunch of this errors)

03/28/2014 13:34:01.96w3wp.exe (0x1184)0x154CSharePoint FoundationRequest Managementai2q3HighReached maximum number of failed machines based on ping results for this routing group53c2819c-8216-20f3-68c0-c0a3e55c92d5

03/28/2014 13:34:01.96w3wp.exe (0x1184)0x154CSharePoint FoundationRequest Managementai2q4MediumUnavailable machines based on ping results: MACHINENAME53c2819c-8216-20f3-68c0-c0a3e55c92d5

03/28/2014 13:34:01.97w3wp.exe (0x1184)0x1C2CSharePoint FoundationRequest Managementadc7uMediumMapping URI from 'https://HOSTNAME:443/Style Library/somos-sura-css/inicio/inicio.css' to 'https://MACHINENAME/Style%20Library/somos-sura-css/inicio/inicio.css'53c2819c-8217-20f3-68c0-cb2f392c388b

Seems like it tries to find a site with the machine name, not the host name registered in the Alter access mappings (like portal.acme.com) .

I would appreciate some feedback about this. Another posts with similar issues:

http://amolmeshe.blogspot.com/2013/05/sharepoint-2013-request-management.html 

http://www.akspug.org/Blog/Post/4/Request-Management-and-Error-8316 

Regards,









third party tool for document preview in sharepoint 2013

$
0
0

Hello,

we are looking for third party tool which provide preview of any documents in documnet library in sharepoint 2013. So when users just hover over the document, they can see the preview. Do any of you please provide a good suggetion in case if you have used in the past? In my research I came acrossKnowledgelake and harepoint. Also I think there is one Metalogix but I know for sure it a way too costly. So please help if you know who does this job with a fair amount of price.

Thanks.

ADFS Claims Authentication & Migrated Site Collections

$
0
0

Hi there,

I am in the process of migrating my current SharePoint 2010 site collections to SharePoint 2013.  The 2010 setup was on a local server so authentication was just using Windows.  The new 2013 setup is on an offsite server so is not our local domain.  No real problem, we are in the process of setting up ADFS to authenticate.

I guess I'm a little confused about authentication.  So most posts suggest using the UPN/Email address as the Claims authentication.  But, with my migrated sites, I have migrated them to retain permissions as domain\firstname.surname (I believe this is the SAM-Account-Name. 

Does this mean that those permissions will in the end be lost because the authentication is not Windows?


Workflow 404 Not Found : Originally Setup as HTTPS only

$
0
0

After installing Workflow manager, I tried to register the site and received an error.

After further investigation into IIS I realized that I accidentally setup HTTPS only and not only HTTP.  I changed the binding, did an IIS reset, added a host file entry, tried the -scopename switch, nothing works.  I get the following error:

Register-SPWorkflowService : The remote server returned an error: (404) Not Found.

I am able to navigate to http://servername.site.domain:12291 and it displays the XML. 

How should I proceed? Am I missing something that I need to change other than the binding?


my powershell script works but not showing list data(scheduled task)

$
0
0

Hi there,
        I have a powershell script scheduled to get data from list item and send it as email.

I do get the email but the content is empty its not picking up list data.

When i run it from powershell command it works.

I have made sure i ran it using the same credentials i use to login into the sharepoint site.

Any ideas why this is happening.....

Thanks in advance

Issues following SP2010 to SP2013 Upgrade - Password Prompt

$
0
0

Hello,

I have upgraded a SharePoint site from SP2010 to SP2013 and everything is working fine apart from the fact that whenever I create a new document I am prompted for username and password.  I can save the credentials but after rebooting the PC it forgets the authentication and prompts again.

I have set up new sites on the same server and they do not have this issue.

I have the site address listed in the Local Intranet zone and everything is the same as what it was when running the SP2010 site.

Help!

Do SP2013 Standard on-premise have cross-site publishing-similiar ability?

$
0
0

I understand there is cross-site publishing feature on SP2013 standard. However it depends on search content webpart which is limited to enterprise edition only.  I wonder whether I can achieve similiar result on standard edition.

We only need to publish some rows of text (daily company news) in single point. The content will be published to multiple site collections' frontpage (using a layout like "announcement" app).

All site collections are resident within the same farm. Can I do it on SP2013 standard on-premise? Thanks.

Suspended Workflow in SharePoint 2013 with HTTP 401 Error!

$
0
0

I have a list workflow which starts automatically when creating an item to generate a serial number. But when any user create a new item, the workflow suspend with the following details, and only the users with "Full Control" permissions can make the workflow work:

RequestorId: eda26c74-95ef-2733-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["88"],"SPRequestGuid":["eda26c74-95ef-2733-87b9-028d0512861d"],"request-id":["eda26c74-95ef-2733-87b9-028d0512861d"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"Cache-Control":["max-age=0, private"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM","Basic realm=\"sp.contoso.com\""],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Sun, 27 Apr 2014 11:13:07 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Viewing all 21070 articles
Browse latest View live


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