Does SharePoint Online have plugin tools for SSRS (SQL Server Reporting Services) or is there an API for accessing and writing reports?

Stack Exchange Network


Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Jenkins fails to start on Windows Server after Java Runtime update uninstalled older version of JRE

I have a Jenkins Server running on Windows Server 2012 and Java prompted me to update to a newer version (jre1.8.0_261 to jre1.8.0_271) and during that install it asked to uninstall older versions (for security reasons) which I allowed it to do. When I restarted Jenkins service it failed to restart. Error log indicates this Informational message:

Starting C:Program FilesJavajre1.8.0_261\binjava.exe -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "C:Program FilesJenkinsjenkins.war" --httpPort=8080 --webroot="C:Windowssystem32configsystemprofileAppDataLocalJenkinswar"

And this error:

Service cannot be started. System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at winsw.Util.ProcessHelper.StartProcessAndCallbackForExit(Process processToStart, String executable, String arguments, Dictionary2 envVars, String workingDirectory, Nullable1 priority, ProcessCompletionCallback callback, Boolean redirectStdin, LogHandler logHandler, Boolean hideWindow) at winsw.WrapperService.StartProcess(Process processToStart, String arguments, String executable, LogHandler logHandler, Boolean redirectStdin) at winsw.WrapperService.OnStart(String() args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

The informational message gave me a clue to the problem: Jenkins is pointing to the older version of Java location here: C:Program FilesJavajre1.8.0_261

However the folder is empty, most importantly there is no bin folder present (no doubt due to the aforementioned uninstall).

The newer version here has the full java binaries: C:Program FilesJavajre1.8.0_271

How do you get Jenkins to point to the new JRE?

Server timeout error on every weekend

This is very phishy but my wordpress woo commerce website is getting timeout error on every weekend !
I don’t know what to do !

let me know if more details required.

sql server – Sqlserver backup problem – 2 programs, Diff and Log out of sync

I am running encrypted backup on Sqlserver 2017.

Doing a test restore, it failed

RESTORE DATABASE (test) FROM DISK =
N’DPH-DD-SLI-001SLI_SQL_BackupsEncryptedDPH-SQL-SLI-12PBTBLEADFULLDPH-SQL-SLI-12P_BTBLEAD_FULL_20201021_185145.bak’
WITH NORECOVERY, REPLACE;

RESTORE DATABASE (test) FROM DISK =
N’DPH-DD-SLI-001SLI_SQL_BackupsEncryptedDPH-SQL-SLI-12PBTBLEADDIFFDPH-SQL-SLI-12P_BTBLEAD_DIFF_20201022_071002.bak’
WITH NORECOVERY;

Processed 199264 pages for database ‘test’, file ‘BTBLEAD_Data’ on
file 1. Processed 2 pages for database ‘test’, file ‘BTBLEAD_Log’ on
file 1. RESTORE DATABASE successfully processed 199266 pages in
446.348 seconds (3.487 MB/sec). Msg 3136, Level 16, State 1, Line 6 This differential backup cannot be restored because the database has
not been restored to the correct earlier state. Msg 3013, Level 16,
State 1, Line 6 RESTORE DATABASE is terminating abnormally.

It WAS running flawlessly, until they installed Commvault cloud backup.

I found that if a Commvault backup kicks off, I can no longer restore my native local backup past the point in time that Commvault kicked off!

Apparently Sqlserver resets the LSN on each backup, but doesn’t know there are 2 distinct programs running. When commvault kicks off, the LSN is brought forward, and my native backup does not know about it

I like having my own local backup, as it is faster and quicker to restore than the cloud backup, than waiting for another group to do the restore from the cloud for me.

Is there any way to keep the backups separated.

Paul

Best server setup to start and scale SaaS?

Hello folks – hope you’re well…

What kind of server arrangement would you recommend for someone who wants to start and gradually scale … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1826518&goto=newpost

nginx – Security-wise file ownership & permission setup for LEMP server to be managed via wp-cli and wordpress dashboard?

I’m on a LEMP VPS with the following setup;

cd /home/$USER/public/myDomain.com        # change directory to myDomain.com
chown -R nginx:nginx .                    # change file ownership
find . -type d -exec chmod 750 {} ;      # change permissions for directories
find . -type f -exec chmod 640 {} ;      # change permissions for files
chmod 400 wp-config.php                   # change permission for wp-config

The problem is I cannot get into “myDomain.com” folder without logging in as root. And also, I cannot run wp-cli as $USER, I have to run as follows;

sudo -u nginx wp <wp-command>             # running wp-cli as user `nginx`

So, as the title says, what is the security-wise setup for file ownership & permission in a LEMP VPS.

Does server virtualization (Virtuozzo) impact server performance?

I’m currently designing a new server architecture in colab with a server tech, we’ll need 4 dedicated servers and he has recommended to setu… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1826513&goto=newpost

How to resolve error while installing mod_logio module in Apache web server 2.2.17

We are trying to install new module “mod_logio” in Apache 2.2.17 for monitoring purposes.Apache 2.2.17 mod_logio module

However we are getting error while installing the module

We are following the below documentation for installing the module to apache : https://mahendratipale.blogspot.com/2009/07/installing-module-in-httpd-apache-on.html

While running the command : /apache2.2.17sp1-64 bin/apxs -c modules/loggers/mod_logio.c

We are getting error : apache2.2.17sp1-64/build/config_vars.mk: No such file or directory at bin/apxs line 217

We can see there is no file such as config_vars.mk in our apache .

unity – Why won’t PNGs load successfully to game from server?

I’m working on a game which involves loading pictures from a server and rendering them as sprites. The images are stored as PNGs and open normally from on the server. I get no errors when downloading. And as a test I saved the images to files and they seem to save properly.

But, when I try rendering the sprites in the game, Unity doesn’t understand what they are and just shows red questionmarks. The sprites load fine if I try loading them from Resouces/Assets folder.

Here’s how I’m downloading the pictures:
Using UnityWebRequest, images are downloaded as Texture2D objects, converted to PNGs and then saved to a static-class called GameData.

Here’s what the code for the image download looks like:

foreach (String imgName in imgNames) {

        using( UnityWebRequest imgRequest =  UnityWebRequestTexture.GetTexture(pathName+imgName)) {
                
           yield return imgRequest.SendWebRequest();

         if(imgRequest.isNetworkError || imgRequest.isHttpError) { 
             ...
         }
           

          else  if(imgRequest.isDone) {
            Texture2D texture = DownloadHandlerTexture.GetContent(imgRequest);
            byte() spriteBytes = texture.EncodeToPNG();
            File.WriteAllBytes(Application.dataPath + "/debug_sprites/"+imgName+".png" , spriteBytes );
            var rect  = new Rect(0, 0, 8, 8);
            Sprite spriteS = Sprite.Create(texture, rect, new Vector2(0.5f,0.5f));
            GameData.SetImg(imgName, spriteS);
                    
          }         
          downloadStatus.text = "Downloading file "+ ++i +" of "+(imgNames.Count+audioNames.Count);
   }

The code for where the image is saved in GameData:

public static void SetImg(string imgName, Sprite img) {

             imgDict.Add(imgName, img);

}

And here’s the code where the sprites are supposed to get rendered to the game:

firstImage = GameData.GetImg(choice1.text);
//firstImage = Resources.Load<Sprite> (choice1.text);
GameObject go = GameObject.Find ("ChoiceOneTarget");
SpriteRenderer spriteR = go.GetComponent<SpriteRenderer> ();
spriteR.sprite = firstImage;

Note: I’ve tried downloading both with and without the extension name, but it didn’t change anything.

how can install MongoDB Service on directadmin server ?

Hello,

I installed a DirectAdmin server on cloudlinux OS, but now developed a new Project that needs to MongoDB.

I configured and ins… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1826483&goto=newpost