Étiquette : english

Enable CORS with IIS

It’s as easy as editing the web.config file with the below: <?xml version= »1.0″ encoding= »UTF-8″?> <configuration> <system.webServer> <httpProtocol> <customHeaders> <add name= »Access-Control-Allow-Origin » value= »https://my.site.com » /> <add name= »Access-Control-Allow-Headers » value= »Authorization,Accept,Content-Type,X-Requested-With » /> <add name= »Access-Control-Allow-Credentials » value= »true » /> </customHeaders> </httpProtocol> </system.webServer> </configuration>

Microsoft Sharepoint Migration Tool that works behind a proxy

It looks like the newer version of the Microsoft Sharepoint Migration Tool doesn’t accept to work behind a corporate network. A colleague has an older version (april 2020) that works correctly. Here is the link to download this version: SharepointMigrationToolSetup_April2020

Access to Sharepoint Online with Windows Explorer

If you want to access your Sharepoint online (https://[tenant].sharepoint.com), you first need to make sure the site is in the Trusted Website in Internet Explorer. Open Internet Explorer, navigate to the website, then open the Internet Options: Add your website to the Trusted Website zone: Next open Windows Explorer and right-click on « Your PC « , […]

Let’s Encrypt Certificate: how to remove a domain from a certname that contains several domains

My server manages several websites with different domains using Apache. The first time I used Let’s Encrypt I followed the default command which has created one certname for ALL my domains. Now I want to remove just one domain from this certificate, and it becomes complicated to understand how to do it. The best solution […]

Upgrade from MySQL (5.6.40 – Debian 9.12) to MariaDB

(Source) A few steps: sudo apt-get install software-properties-common dirmngr wget -qO – https://mariadb.org/mariadb_release_signing_key.asc | sudo apt-key add – nano /etc/apt/sources.list.d/mariadb.list In mariadb.list we add the two below lines: deb [arch=amd64,i386,ppc64el] http://mirror.23media.de/mariadb/repo/10.4/debian stretch main deb-src http://mirror.23media.de/mariadb/repo/10.4/debian stretch main Then: apt-get update apt-get install mariadb-server

Sharepoint error message « Invalid URL argument » with WebPartPages

For me the issue was this part of the XML request: <AddWebPart xmlns=’http://microsoft.com/sharepoint/webpartpages/’> (with a / at the end of the url) instead of <AddWebPart xmlns=’http://microsoft.com/sharepoint/webpartpages’>.

chrome-search://local-ntp/local-ntp.html makes Chrome unresponsive

Sometimes, when I open a new tab in Chrome, it first tries to get chrome-search://local-ntp/local-ntp.html and while it’s doing it, I cannot enter any URL. Eventually it will popup a message asking me if I want to wait or exit the page… The way I found to fix it is to go to the page […]

Our system has detected an unusual rate of unsolicited mail originating from your IP address

Gmail could report back this error message: « Our system has detected an unusual rate of unsolicited mail originating from your IP address » If your DKIM, SPF and DMARC are all set and your emails are correctly identified, then you may want to check the both links: Good links to get help on what to do: […]

Sharepoint REST API to index a column or delete a column and more…

Due to the 5,000 items threshold limitation it can become very frustrating to administrate Sharepoint. For example, if your list has more than 5,000 items, you cannot add an index, delete a lookup/people column, delete the list or the website, and more ! Hopefully some of the operations can be done with REST API, and […]

SharePoint 2013 Search REST API options

Finding the documentation for the Search REST API of Sharepoint is difficult…. There is a very old blog post that I’m going to replicate here to give more visibility:   Location of the Search Rest service The Search REST service is located at the following URI: http://host/site/_api/search   The Search REST API The Search REST […]