Search This Blog

Showing posts with label Sharepoint. Show all posts
Showing posts with label Sharepoint. Show all posts

Wednesday, July 3, 2019

SharePoint 2013 install error 1603

if you get an error such as


Problem Event Name:                        OfficeClassicSetup
  SETUP EXE VERSION:                        15.0.4454.1000
  SETUP DLL NAME:                            SVRSETUP.DLL
  SETUP DLL VERSION:                        15.0.4709.1000
  ERROR CODE:                                   1603
  MSI HRESULT:                                   Unspecified
  ERROR DETAILS:                               FC73469E
  FIRST ERROR CODE:                         1603
  OS Version:                                       6.3.9600.2.0.0.272.7
  Locale ID:                                          1033



it may mean that you need to ad resources: check if you have 4vCPU, disk space 80GB+

Re.run setup


Monday, June 18, 2018

Web analytics SP2013 vs SP2010

Reminder Web site analytics of SP2010 is accessible via Central Administration, but in SP2013 it is on each site administration level

https://blogs.msdn.microsoft.com/chandru/2013/08/31/sharepoint-2013-web-analytics-report-where-is-it/

SQL alias for SharePoint Database

Few words about creating SQL Alias for SharePoint - imagine you want to move SharePoint DB to another server, if you hardcode it as FQDN you will need to manage it on DNS level and point to another server. But you can also use SQL aliases and define them locally to point to SQL server by alias thather than FQDN:



https://sqlandme.com/2011/05/05/create-sql-server-alias-cliconfg-exe/

Monday, May 7, 2018

Windows 7 WebDAV client requires SHA protocol

If you have a Sharepoint site that provides Open with explorer functionality make sure you do not disable SHA (hash) protocol on your server.  Otherwise some clients with Windows 7 will not be able to open shares in Explorer.


Thursday, July 27, 2017

1y free Office 365

FYI: you can get 1y free Office 365 DEV tenant – including software Office 2016 and  up to 25 x Office 365 Enterprise E3 Developer licenses (Exchange, Skype, Sharepoint…) if you join Office devprogram: https://dev.office.com/devprogram 
Goto the very end of the page and click on JOIN DEVELOPER PROGRAM

Tuesday, July 4, 2017

Sharepoint show total items in list paging

http://www.sharepointblogs.be/blogs/timmy/archive/2011/10/25/javascript-show-the-total-items-in-a-library-or-list.aspx

Saturday, July 1, 2017

SharePoint ASCX file manual deployment gives "Could not load file or assembly '$SharePoint.Project.AssemblyFullName$' or one of its dependencies" error

If ypou deploy ASCX file manually (by coping file and it's dll to CAG then SharePoint will give an error. When you deply with VS it should change this tag to a rela assemply name. Workaround for manual deployment is to change the tag by hand.

https://babasharepoint.blogspot.ch/2015/05/could-not-load-file-or-assembly.html



Friday, January 20, 2017

Monday, January 16, 2017

LDAP limits for .net queries

When using LDAP queries in .NET or Java, do not forget about limits:

C:\Users\Administrator>ntdsutil
ntdsutil: ldap policies
ldap policy: connections
server connections: connect to server dc
Binding to srvdc ...
Connected to srvdc using credentials of locally logged on user.
server connections: q
ldap policy: show value

Policy                          Current(New)

MaxPoolThreads                  4
MaxDatagramRecv                 4096
MaxReceiveBuffer                        10485760
InitRecvTimeout                 120
MaxConnections                  5000
MaxConnIdleTime                 900
MaxPageSize                     1000
MaxQueryDuration                        120
MaxTempTableSize                        10000
MaxResultSetSize                        262144
MinResultSets                   0
MaxResultSetsPerConn                    0
MaxNotificationPerConn                  5
MaxValRange                     1500
ThreadMemoryLimit                       0
SystemMemoryLimitPercent                        0

ldap policy: set maxpagesize to 5000
ldap policy: commit changes
ldap policy: q
ntdsutil: q

Visual Studio hangs when debugging SharePoint .net code at breakpoint

if the VS hangs on breakpoint when debugging SP with Process attach, try to reset IDE:

devenv.exe /ResetSettings

Monday, November 7, 2016

How to add custom CSS to SP2010 site?

FYI, to avoid an issue with Ribbon loosing the focus aftert adding Webpart to a standard list view page - AllItems.aspx as example, use the following method instead of adding CEWP CSS code.

http://fitandfinish.ironworks.com/2010/01/the-best-way-to-add-custom-css-to-sharepoint.html 


As example I wanted to avoid file name wrapping (if it contains spaces) and I added stype definition in CEWP


,
but then user will have to select list webpart in order to see tabs Documents and Library. So we would add it into header instead.



Tuesday, October 4, 2016

SharePoint does not search custom column

There was a small issue with SharePoint 2010 that in advanced search could not find documents with specific string in custom column.  We have a custom column Prof

../_layouts/OSSSearchResults.aspx?k=(scope:"Documents")  Prof=QA

In the list we can see that this field has that value and we can even filter on it.

So somthing is wrong with search?

Indeed if we search as ../_layouts/OSSSearchResults.aspx?k=(scope:"Documents")  owsProf=QA

it finds ok the item. S the problem is ac tually in managed property. It is either does not exisit or not mapped correctly to crawled property. To fix that goto Central Admin, SEarch service administration - Metadata Property Mappings and add missing property - Prof - then map to crawled property  ows_Prof(text)




SharePoint get and set columns with powershell

http://social.technet.microsoft.com/wiki/contents/articles/20831.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-powershell.aspx#Set_and_Get_a_Text_Field

Tuesday, August 2, 2016

SharePoint 2010 The search service stopped the filter daemon because it was consuming too many resources


Problem:

Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Server Search
Date:          02.08.2016 10:56:52
Event ID:      30
Task Category: Gatherer
Level:         Warning
Keywords:    
User:          x
Computer:   x  
Description:
The search service stopped the filter daemon because it was consuming too many resources. A new daemon will automatically be started, and no user action is required.

Potential solution:

http://blogs.developpeur.org/fabrice69/archive/2012/12/28/sharepoint-d-tails-de-la-configuration-du-moteur-de-recherche-pour-les-documents-pdf.aspx


https://gallery.technet.microsoft.com/office/Improve-SharePoint-Search-9b964682