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

What are possible things to check - SP 2013 site fast after rebooting servers - it becomes very slow in a few minutes?

$
0
0

Hi there

(Enough disk space and memory available on all machines)

What are possible things to check on SP 2013 site:
- After rebooting servers - it is fast (Loads in 1 second or so)
- After 10-15 minutes it becomes slow (Loads in 10-15 seconds)

Thanks a lot


SharePoint 2013 site very slow - does this screenshot give any clues?

$
0
0

Hi there

When I load my SharePoint 2013 site - it takes about 14-15 seconds. Please see this IE Developer Tool screenshot for times taken.

The top two URLs are exactly same - From Click to XMLHTTPRequest - it takes 14.46 seconds - the browser keeps saying "Waiting for site".

Any clue, what might be causing slow performance?

Thanks.

Developer Dashboard:

Developer Dashboard SQL Tab:

If someone can please help me find the cause of slow performance of SP 2013 site - I attach ULS Logs + Server details + Netmon Capture + Fiddler Capture + Developer Dashboard

FBA (Formbased authentication) Setup for SharePoint 2013 environment step by step

$
0
0

Hello Team,

Could you please give me some idea on How to implement FBA in Sharepoint 2013 environment. 

I just gone through many articles, but still I am confused with creating .net provider, Role.

Could you kindly guide me on this. It would be great if you share any documents/links for FBA Setup (A-Z).

Regards,

Rathan.


Y.K


For SharePoint 2013 - SQL Server > Temp DB > Properties > File > initial Size (MB) settings

$
0
0

Hi there

My largest content DB is 160 GB. I have been advised to do this:

:: SQL Server > Temp DB > Properties > File > initial Size (MB) – change from 55 MB to around 50 GB (about 30% of the size of the largest DB size).

Is above good?

Thanks so much.



User Profile Pictures does not replicate to AD using Profile Synchronization

$
0
0

Hi,

I am working with SP 2013 Intranet Site.

I am working on a issue where I can upload a photo to User My Site and it gets replicated to AD and then to Outlook. However, existing photos in User MySites does not get replicated to AD.

I have verified permissions on AD and everything seems normal. The Export Synchronization process is working from SP to AD. But existing pictures residing in MySites user profiles does not get exported to Thumbnail property in AD. I ran MIISClient.exe to see if there are any export errors but I could not see any errors being reported.

What steps should I take to resolve this issue. Thanks.

Thanks,

Amit

View Site Contents filter

$
0
0

Hi,

I need to filter and display contents from the OOTB url /_layouts/viewlsts.aspx?BaseType=1 using query string filter.

Viewlts.aspx page query string filter parameter works in SP2007 and SP2010, but it's not working in SP2013.

Is there is a way to bring back the filter?


Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

SSL offloading SharePoint 2013

$
0
0

For my web front end's I plan to put the two of them against a load balancer (netscaler) the admin i'm working with gave me the option to Offload SSL on the load balancer...in 2010 I would have said yes to this but i'm not sure how this would work in 2013. Should I allow the load balancer to handle the SSL work or push it through to my WFE's.

If i'm offloading SSL to the loadbalancer do I still need to have my web applications setup to use HTTPS? can't I just get away with using HTTP now? the confusing point I am trying to figure out is...I read a lot about how the communication interfarm should be https...is it automatically https and the web apps are handled by my configuration either HTTP or HTTPS?


SharePoint does not get group memebers when using FBA with LDAP

$
0
0

We have a SP13 Publishing site collection using Windows Authentication for DOMAIN-A and FBA/LDAP to DOMAIN-B. Everything looks good, People Picker, granting permissions to users of either domain, etc. The issue occurs when we apply a permission based on a group in DOMAIN-B. If we break inheritance on a folder, grant DOMAIN-B\reps permissions, a user in the DOMAIN-B\reps group receives "Sorry, this list has not been shared with you" message. If instead of granting permissions to DOMAIN-B\reps, we grant the permission to DOMAIN-B\usera, it works as expected.

It seems like SharePoint cannot get the members of DOMAIN-B\reps group. The Event Log has nothing, and looking at the ULS logs, it looks like nothing's wrong, it's simply logging access denied type messages. Any ideas what could be wrong or how to troubleshoot? Thanks!

Office Web Apps 2013 - Excel data connection authentication error

$
0
0

Hi,

when I try the Data Connection Refresh on my Office Web Apps 2013 service I receive the error:

I have looked on the internet and documentation and the problem was solved using the Secure Store

http://www.wictorwilen.se/sharepoint-2013-office-web-apps-2013-and-excel-files-with-data-connections-and-secure-store

My problem is I have many different user with different data access permission and is not possible the duplication of all user as credentials in secure store. I can configure Office Web Apps 2013 use the Sharepoint/Windows authenticated user exactly as ExcelServices?

Actually I have used  "New-SPWOPISuppressionSetting -Extension XLSX -Action View" and bypass the problem. The user display the file and refresh connection. But if they go to EDIT IN EXCEL ONLINE the problem come again!

Lorenzo Soncini


LSo Lorenzo Soncini Trento TN - Italy

Custom login page using Active Directory

$
0
0

Hi,

i'm receiving the following error, how to resolve this issue

Parser Error Message: Provider must implement the class 'System.Web.Security.RoleProvider'.

Code

        protected void Button1_Click(object sender, EventArgs e)
        {
            HttpRequest request = HttpContext.Current.Request;
            request.Cookies.Clear();

            SPIisSettings iisSettings = SPContext.Current.Site.WebApplication.IisSettings[SPUrlZone.Default];

            //Retrive forms authentication provider
            SPFormsAuthenticationProvider formsClaimsAuthenticationProvider = iisSettings.FormsClaimsAuthenticationProvider;

            //Create forms token using forms authentication provider settings and login details
            SecurityToken token = SPSecurityContext.SecurityTokenForFormsAuthentication(new Uri(SPContext.Current.Web.Url),
                formsClaimsAuthenticationProvider.MembershipProvider,  //Set while creating/extending web application
                formsClaimsAuthenticationProvider.RoleProvider,        //Set while creating/extending web application
                TextBox1.Text,                                //Received from login page
                TextBox2.Text,                                //Received from login page
                SPFormsAuthenticationOption.PersistentSignInRequest);

            if (null != token)
            {
                //Create forms session using the token
                //Please note that the following function is copied from other blog
                EstablishSessionWithToken(token);

                //Redirect to required home page
                Response.Redirect("home.aspx");
            }
        }

        private void EstablishSessionWithToken(SecurityToken securityToken)
        {
            if (securityToken == null)
            {
                throw new ArgumentNullException("securityToken");
            }
            SPFederationAuthenticationModule fam = FederatedAuthentication.WSFederationAuthenticationModule as SPFederationAuthenticationModule;
            if (fam == null)
            {
                throw new InvalidOperationException();
            }
            SPSecurity.RunWithElevatedPrivileges(() => fam.SetPrincipalAndWriteSessionToken(securityToken));
        }
Configurations
<membership defaultProvider="ADConnMembership"><providers><add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /><add name="ADConnMembership" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConn" enableSearchMethods="true" attributeMapUsername="sAMAccountName" /></providers></membership><roleManager defaultProvider="ADConnMembership" enabled="true" cacheRolesInCookie="false"><providers><add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /><add name="ADConnMembership" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConn" enableSearchMethods="true" attributeMapUsername="sAMAccountName" /></providers></roleManager><connectionStrings><add name="ADConn" connectionString="LDAP://domain/DC=domain,DC=local" /></connectionStrings>


Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

Redirect from HTTP to HTTPS with AAM issue

$
0
0

Hello!

Recently I set up SSL in our web application. In order to adapt users I set up additional internal URLs mapped to the https public URL:

https://mysite.mydomain.localdefaulthttps://mysite.mydomain.local

http://mysite defaulthttps://mysite.mydomain.local

http://mysite.mydomain.local defaulthttps://mysite.mydomain.local

So when user accesses the site via http://mysite he is successfully redirected to https://mysite.mydomain.local. But if user enters http://mysite/SitePages/default.aspx, the redirect does not work. 

Is this by design and I should implement redirect via IIS settings?

Thanks


If my suggestion helped you to solve your problem, please don't forget to mark it as Answer

Issue in custom deployements while migration to SP2013 from SP2010

$
0
0

Hi,

we are migrating form SP 2010 to SP 2013. We have migrated DBs and install SP application servers. while testing we notices that images and customer deployments e.g CSS file are not working. please help how to resolve issue for images and custom deployments?

Regards

Sajid

SharePoint 2013 Enterprise and SQL Server 2014

$
0
0

Is there a specific install of SharePoint 2013 Enterprise for SQL Server 2014?

the install I'm testing indicated 2008 R2 minimum requirements?

I'm not sure if the installs are specific to each version of SQL Server?

PowerPivot Configuration Problem

$
0
0

Hi All,

I've a prolbem about powerpivot configuration. First i explain my environment;

1. DC

  • powerpivot account (sp_powerpivot) PowerPivot Service App Account
  • excel account (sp_excel) (Excel Service App Account)
  • data refresh account (sp_datarefresh) (Unattended Account)
  • analysis service account for powerpivot instance (sql_analysis)

2. SP Server

3. SP SQL 2014 SP1 Server

4. SQL Server (Contains ssas powerpivot instance) (sp_excel, sp_powerpivot as ssas system admin)

I install and configured powerpivot, ssas etc. But in CA "PowerPivot Management Dashboard Processing Timer Job" always failed. Error message "The 'Database' with 'ID' = 'PowerPivot20Management20Data_2816b0de95ca4ddea16c953057ff4ed4_c71e7ae7bfe64de3a44b4da14558595a_SSPM' doesn't exist in the collection"

I solve this issue by adding the farm account to the ssas powerpivot system admin. I read a lot of documents about installation and configuration of powerpivot. But i did not see any instruction or advise about adding farm account to ssas server system admins.

with default configuration of PowerPivot, creates PowerPivot Service App and assign it to the "Service Application Pool - SharePoint Web Services System" . This app pool's service account is farm account. But i have created pp service app with new app pool, which have the powerpivot service account.

So what have i missed?


Custom Access Denied Page for Office-365

$
0
0

Hi,

We provided custom access denied page for current on-premise SharePoint site using SPWebApplication.UpdateMappedPage method. The custom access denied page is there in _layout folderin current farm. Now we are migrating to Office-365, I would like to know how we can provide the same functionality in office 365. What is the alternate solution for this in office 365?

Thanks,

Pat

Kerberos Authentication between Sharepoint 2013 Foundation - SSRS 2012 - Oracle 11g failing with ORA-12638: Credential retrieval failed

$
0
0

I have set up SharePoint 2013 Foundation, SharePoint Reporting Services and SQL Server 2012 in a single server. I then created a Data Connection to Oracle 11g. Upon testing the connection, it throws the error “ORA-12638: Credential retrieval failed”.

Given below are the steps of installation and configuration.

Installation till basic authentication:

The installation has been done in a single server.

  1. Installed SQL Server 2012 (Developer version).

Selected only the following features:

-         Database Engine Services

-         Analysis Services

-         Reporting Services – SharePoint

-         Reporting Services Add-in for SharePoint Products

-         Management Tools – Basic

- Management Tools - Complete

  2. Installed SQL Server 2012 SP1.

  3. Installed SQL Server 2012 SP2.

  4. Installed SharePoint Foundation 2013.

  5. Created web application (without Kerberos; we did not even create the SPNs).

      The application pool has been configured to use Reporting Services account since it is a single server installation. This account has been registered as a managed account.

  6. Created Site Collection.

  7. Verified that Reporting Services is not installed.

  8. Installed SharePoint Reporting Services from SharePoint 2013 Management Shell.

  9. Verified that Reporting Services is installed.

 10. Created a new SQL Server Reporting Services Service Application and associated the Web Application to the new SQL server Reporting Services Service Application.

  11. Verified that SQL Server Reporting Services Service Application and its proxy have started. Reset IIS.

  12. Created a Site.

  13. Created a Data Connection library with “Report Data Source” content type.

  14. Created a Report Model library with “Report Builder Model” content type.

  15. Created a Report library with “Report Builder Report” content type.

  16. Uploaded an SMDL to the Report Model library.

  17. Added the top level site to Local Intranet instead of as a Trusted Site in the browser settings.

  18. Able to create and save a report using Report Builder.

Hence, basic authentication is working and SSRS is able to connect to Oracle database.

Next we have to configure Kerberos settings between SharePoint and SQL Server.

Implementation of Kerberos authentication

  1. In the Report Server machine, opened the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config  and added the Authentication Types of RSWindowsNegotiate and RSWindowsKerberos.

 2.  Set up the following SPNs.

               a) SQL Server Database Engine service (sqlDbSrv2):

                setspn -S MSSQLSvc/CER1110:1433 CERDEMO\sqlDbSrv2

                setspn -S MSSQLSvc/CER1110.cer.demo.com:1433 CERDEMO\sqlDbSrv2

             In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".

               b)Account: SharePoint Setup Admin account (spAdmin2)

     setspn -S HTTP/CER1110:9999 CERDEMO\spAdmin2

                setspn -S HTTP/CER1110.cer.demo.com:9999 CERDEMO\spAdmin2

                In the Delegation tab of the account, selected "Trust this user for delegation to any  service (Kerberos only)".

              c)Account: SQL Server Reporting Service account (sqlRepSrv2)

                   setspn -S HTTP/CER1110 CERDEMO\sqlRepSrv2

                   setspn -S HTTP/CER1110.cer.demo.com CERDEMO\sqlRepSrv2

                   In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".

  3. Configure the Web Application to use “Negotiate (Kerberos)”.

  4. Logged in as SharePoint Administrator to the SharePoint server and opened the top level site in the IE browser.

     The Event Viewer logged the login process for the SharePoint Administration account asNegotiate and not Kerberos.

  5. Implemented Kerberos for Oracle database and client.

     Able to connect to the Oracle database via Kerberos authentication using SQL Plus.

  6. Turn on Windows Firewall.

  7. While testing the site's data connection using Kerberos settings, got the error“Can not convert claims identity to windows token. This may be due to user not logging in using windows credentials.”

      Note: The Data Connection for basic authentication still worked.

  8. Created a Claims to Windows Token Service account (spC2WTS2).

  9. Started the Claims to Windows Token Service.

 10. Registered the Claims to Windows Token Service account as a Managed Account.

 11. Changed the Claims To Windows Token Service to use the above managed account.

 12. Verified that the Claims to Windows Token Service account (spC2WTS2) is automatically added to the WSS_WPG local group on the SharePoint box.
     
Note: The Reporting Services service account is also a part of the WSS_WPG local group.

 13. Added the Claims to Windows Token Service account (spC2WTS2) to the Local Admin Group on the machine having the SharePoint App Server.

 14. In the SharePoint box, added the Claims to Windows Token Service account (spC2WTS2) in the Act as part of the operating system policy right.

 15. The Claims to Windows Token Service account (spC2WTS2) has the WSS_WPG group configured.

      When the C2WTS service was configured to use the managed account Claims to Windows Token Service account (spC2WTS2) earlier, the spC2WTS2 account was automatically added to the WSS_WPG local group on the SharePoint box. The WSS_WPG group in turn is configured in c2wtshost.exe.config file.

 16. Verified that the Reporting Services account is a managed account and part of the WSS_WPG group.

 17. Earlier Service Application Pool - SQL Server Reporting Services App Pool service was associated with the SharePoint Admin account.

      Changed this to associate the Reporting Service account with the Service Application Pool - SQL Server Reporting Services App Pool service.

 18. Changed the delegation of the Reporting Service account to constrained delegation with Protocol Transitioning. This is because we are transitioning from one authentication scheme (Claims) to another (Windows Token).

      For this, the delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.

      Note: The Reporting Service account already had an HTTP SPN.

 19. Next, the goal was to make the Claims To Windows Token Service account match the Reporting Service account.

       For this, we created a fake SPN for the Claims To Windows Token Service account since the delegation tab was missing.

       The delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.

 20. Restarted the SharePoint server.

 21. Tested the data connection with the Kerberos settings again.

       Got the error“ORA-12638: Credential retrieval failed”.

Can anyone tell me what is wrong with this setup?

Some Page Layouts unable to be edited after upgrade to January 2016 CU

$
0
0

After upgrading SharePoint to January 2016 CU two of our five page layouts can no longer be edited. All pages that use these page layouts also can no longer be edited.

The Page Ribbon is greyed out and the Settings Cog > Edit Page menu option does nothing when clicked.


mmm... coffee...

AutoSPInstaller stuck at creating config database - Logs attached - any help will be appreciated

$
0
0

Failed to get document content data. System.ComponentModel.Win32Exception (0x80004005): Cannot complete this function

$
0
0

I have SharePoint server 2013, and today i applied the January Cumulative update from http://support.microsoft.com/KB/2920804.

then i run the product configuration wizard which completed successfully.

but now i am checking SharePoint  logs and i see that there are many exceptions with the following details:-

01/29/2016 17:29:08.83 	w3wp.exe (0x1850)                       	0x251C	SharePoint Foundation         	Database                      	ab1a9	High    	Failed to get document content data. System.ComponentModel.Win32Exception (0x80004005): Cannot complete this function     at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres)	b4095a9d-449e-90cc-8f8b-b9ea4562db

So can anyone advice on this? now i check previous logs , before applying today's CU, and could not find such an error. so can anyone adivce how to fix this error? and it is related to January 2016 CU ?

Thanks

Viewing all 21070 articles
Browse latest View live


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