Run a video program but the fps suddenly drops on Windows Server 2016

Question

We run our software but the cpu use ratio and fps of video will drop after running a little time.

enter image description here

Background

We develop a video stitching software. The back-end algorithm stitch three images together and the front-end show it frame by frame. The detailed information is listed in the following:

Software

  • Front-end:Qt painter to show each stitched image
  • Language: C++
  • Back-end: image stitching algorithm using GPU CUDA
  • VS Version: Visual Studio 2010

Running Platform

  • GPU: NVIDIA GPU
  • CPU: i7-7700
  • RAM: 32GB
  • Type: x64

Should PnP or SCOM replace the snapin for SharePoint 2016 onprem

We currently have SharePoint 2013 and are now moving to SharePoint 2016. As part of this we are looking whether or not to retire the use of the PowerShell snapin – Microsoft.SharePoint.PowerShell in favor of PnP. A number of posts have mentioned falling back to using the SCOM (via Microsoft.SharePoint.Client.dll).

Is PnP mature enough to replace the SharePoint snapin for SharePoint 2016 onprem? If the SharePoint snapin is no longer viable, is falling back to using the SCOM module worth considering for SharePoint 2016 and onwards? Is PnP or SCOM a better option for PowerShell scripts and admin management from the command line for SharePoint 2016?

Most of our administration CLi work is coded into functions using the Snapin which worked well for SharePoint 2013.

How to force start/stop service in sharepoint 2016?

i want to start a service “Microsoft SharePoint Foundation Sandboxed Code Service ” by using the following power

$  ServiceName = "Microsoft SharePoint Foundation Sandboxed Code Service" Get-SPServiceInstance -server $  env:COMPUTERNAME | where-object {$  _.TypeName -eq $  ServiceName} | Start-SPServiceInstance -confirm:$  false > $  null 

The status is stuck in Starting for a hour which it seems not working. I have tried iisrest, restart window.

Is there any way to force stop it?

How to add an editable Access Desktop Database to Sharepoint Server 2016

I’m a university student summer intern at a government agency, so sorry if this comes off as a dumb question or if I don’t appear very knowledgeable, but our team of maybe 10-ish people uses an excel spreadsheet currently to store records of forms submitted by contractors, and in order to save time and make it easier to enter records, I made a very simple Access desktop database, with 5 identical forms for entering/editing records from years 2015-2019, and five tables to where the records go after being entered in the form.

My boss and I were both very happy with the Access database I made, and it was working perfectly the entire time I was using it. The trouble comes when I try uploading the Access database file to our Sharepoint 2016 Server. When I click our old excel document, or any other word or powerpoint file, I can edit them as I please then click save and they automatically sync to sharepoint. With my access desktop database however, it just downloads the file onto the computer of whoever clicked the link and then you have to not only edit it, but save it onto your computer and reupload to sharepoint in order to have your changes saved.

I’ve been looking all over the web for answers, and it seems that Microsoft has retired Access web apps, which is why clicking the database automatically downloads the file, instead of just opening it in browser as it does with excel and word etc.

Since I’m working in the government, I have no admin privileges or anything on our sharepoint server, and I am unable to even add access apps to sharepoint if they still exist (I have no clue), but I am almost positive that there has to be a way to have a collaborative database on our sharepoint server, so that we can all go in and edit/add to it when we need to.

I was really hoping someone would outline precisely what I need to do, as I have only had this job for about a month and I am still getting used to sharepoint/databases/SQL. All I need is a way to get my Access Desktop Database onto our sharepoint server where all our other collaborative documents are, and have the ability to edit from within sharepoint, without having to download and reupload the desktop database every single time. Thanks so much in advance!

SharePoint 2016 unable to crawl new version PDF files

I am setting up a SP2016 on-premise farm. Some pdf files with newer version cannot be crawled. Here is my findings:

  1. Those pdf files are v1.7 (Acrobat 8.x, Acrobat 9.x)
  2. Search only return those pdf by search with file name. Search with pdf content will not return result.
  3. In the search result page, those files preview show

“If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document … You can upgrade to the latest …”

  1. In the crawl log, those files are shown up as warning. Error is “Document was partially processed.”

Should I install pdf viewer on the crawling server to solve the problem?

Create, read, and update from SQL table to on-prem SharePoint 2016?

Ultimately I would like to create an external list that can be customized (i.e., partly columns from a SQL table and partly native SharePoint columns).

BCS isn’t an option because it would not let me create extra columns in a SharePoint “external” list. I am a beginner programmer, but I am looking into creating a BDC model or some kind of SharePoint add-in on VS to populate SQL data into a custom SP list.

Is there code that exists for this? Or some method that already exists that can lead me through? I’m at a loss after numerous attempts and would appreciate the help.

¿CÓMO LEER ARCHIVOS EXCEL 2016 CON IOFactory?

Estoy usando la librería PHPExcel para poder modificar una plantilla que yo cree. El problema es que mi computador usa la versión de Excel 2016. El problema es que me aparece este error:

Fatal error: Uncaught PHPExcel_Reader_Exception: Could not open ../archivos/formato_trl.xslx for reading! File does not exist. in C:\Xampp\htdocs\ValTec\php\Classes\PHPExcel\Reader\Excel2007.php:338 Stack trace: #0 C:\Xampp\htdocs\ValTec\php\prueba.php(11): PHPExcel_Reader_Excel2007->load('../archivos/for...') #1 {main} thrown in C:\Xampp\htdocs\ValTec\php\Classes\PHPExcel\Reader\Excel2007.php on line 338 

Y no sé cómo resolverlo para que me lea y exporte archivos para Excel 2016 o cualquier versión (de preferencia).

Will 2013 composed looks migrate to 2016?

If we are using the “database attach” method of migrating sites from 2013 to 2016, will the composed looks / branding migrate over easily? Or are there any incompatibilities we will need to look out for? Our “custom” masterpages are based on seattle.master, and don’t really have anything removed, just some extra stuff added (like links to custom CSS files, loading jQuery, etc.).

2016 – Upload multiple files with REST API and PNP

I’m developing a multiple files upload form on SharePoint 2016.

My goal is to prevent duplicate files name, so my idea is to upload files in a document library, change a metadata of these files and then move these files to another document library changing their filenames to prevent duplicate.

So there are three main steps:

1) Files upload

2) Change files metadata

3) Move to another document library with a new file name (es.: myfile-timestamp.ext)

I’ve tried several ways, using PNP JS, but I did not find a solution.

This is my code that’s is quite messy:

function UploadFiles() {     var loadFiles = document.getElementById('loadFile').files;      //in case of multiple files,iterate or else upload the first file.     for (var i=0; i<=loadFiles.length;i++){         var fileOgg = loadFiles[i];         if (fileOgg!=undefined || fileOgg!=null){             var nameFile = fileOgg.name;             var timestamp = + new Date();             var fileName = nameFile.substr(0, nameFile.lastIndexOf('.'));             var newfileName = fileName + "-" + timestamp;             var sourceFileUrl = _spPageContextInfo.webServerRelativeUrl+"/Config/"+nameFile+"";             var targetFileUrl = _spPageContextInfo.webServerRelativeUrl+"/Attachments/"+nameFile.replace(fileName, newfileName)+"";              new Promise(function (resolve, reject) { resolve (); })             .then(UploadFilesStep.bind(null, fileOgg, true))             .then(function(fileUpload) {                  changeMetadata(fileUpload)                 .then(moveTo.bind(null, sourceFileUrl, targetFileUrl, nameFile, fileName, newfileName))                 .then(showSuccess)              });         }     }    }  function UploadFilesStep (fileOgg, overwrite){     return new Promise(function(resolve, reject) {         pnp.setup({ headers: { "Cache-Control": "no-cache", }, });         pnp.sp.web.getFolderByServerRelativeUrl("/sites/testpcr/Config").files.add(fileOgg.name, fileOgg, overwrite).then(function(result) {             console.log("FileUpload success");             resolve(result);          });        }) }  function changeMetadata(result) {     return new Promise(function(resolve, reject) {         result.file.listItemAllFields.get().then(function(listItemAllFields) {             // get the item id of the file and then update the columns(properties)             pnp.setup({ headers: { "Cache-Control": "no-cache", }, });   pnp.sp.web.lists.getByTitle("Config").items.getById(listItemAllFields.Id).update({                 Number: ""+number+"",             }).then(function(r){                 console.log(" properties updated successfully! Go to MoveTo");                 resolve();             });         });     }) }  function moveTo(sourceFileUrl, targetFileUrl, nomeFile, fileNome, nuovoFileNome) {     return new Promise(function(resolve, reject) {         var headers = headers || {};         var method = 'POST';         headers["Accept"] = "application/json;odata=verbose";         headers["X-RequestDigest"] = $  ("#__REQUESTDIGEST").val();         var endpointUrl = siteurl2 + "/_api/web/GetFileByServerRelativeUrl('" + sourceFileUrl + "')/MoveTo(newurl='" + targetFileUrl + "',flags=1)";         var payload;          $  .ajax({             url: endpointUrl,             type: method,             contentType: "application/json;odata=verbose",             data: JSON.stringify(payload),             cache: false,             headers: headers,             async: false,             success: function (data) {                 strResults += "";                 contatoreUpload = contatoreUpload + 1;                 resolve();             },             error: function (data) {                 strResults += "Error " + JSON.stringify(data, null, 4);;                 resolve();             }         });     });  } 

Do you have any example or different solution?