windows-server-2012-r2

PPTX to Image conversion doesn't work on windows server 2012 production

醉酒当歌 提交于 2019-12-02 14:44:27
问题 We have requirement to convert uploaded PPT or PPTX files into image files. We developed this working locally with following (POC code): Application pptApplication = new Application(); Microsoft.Office.Interop.PowerPoint.Presentation pptPresentation = pptApplication.Presentations.Open2007(filePath, MsoTriState.msoFalse, MsoTriState.msoFalse, MsoTriState.msoFalse); List<string> files = new List<string>(); for (int i = 1; i <= pptPresentation.Slides.Count; i++) { pptPresentation.SaveCopyAs

Installed program is removed automatically everytime when server restarts from windows server 2012 R2 [closed]

老子叫甜甜 提交于 2019-12-02 13:23:13
I created one service in C# and created installer for that.Installer is working fine and service is installed properly on server. But here is one problem. When server restarts the program connected to service automatically getting deleted from C:\ProgrameFiles location, but service is still there and when restarting this service. I am getting prompt like "windows can not find specified program path". Can somebody help me what I am missing here or what is potential cause for this problem? I know the the scope of this question is too broad to answer but still I want some hints or any solution to

Run Solr 6.0.1 in background on Windows server

蓝咒 提交于 2019-12-02 07:37:14
问题 I'd like to start a solr core (version 6.0.1) on Windows Server 2012 R2(command is: bin\solr.cmd start), and keep it running after logging off. I'd also like to run it under an account other than my own, and I'd like it to start up automatically. I came across this post, How to run solr on a windows server so it starts up automatically?, but it was from 6 years ago, so I thought there may be a new way with the new version. Also, the new version I have is not running on Tomcat. It acts as it's

Run Solr 6.0.1 in background on Windows server

♀尐吖头ヾ 提交于 2019-12-02 05:56:44
I'd like to start a solr core (version 6.0.1) on Windows Server 2012 R2(command is: bin\solr.cmd start), and keep it running after logging off. I'd also like to run it under an account other than my own, and I'd like it to start up automatically. I came across this post, How to run solr on a windows server so it starts up automatically? , but it was from 6 years ago, so I thought there may be a new way with the new version. Also, the new version I have is not running on Tomcat. It acts as it's own server, which is another difference from the version in the example. Thanks! You can use NSSM to

Why I'm not using 100%? [closed]

[亡魂溺海] 提交于 2019-12-02 01:44:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm executing a long running batch process in IBM WebSphere Application Server v8.5.5.1, which is getting data from a ECM repository, and afterwards converting it to PDF document. It runs about 20k of small documents, which compose the whole batch. Right now I'm getting about 20 docs/sec, but the System is only

Why I'm not using 100%? [closed]

北城余情 提交于 2019-12-02 01:18:41
I'm executing a long running batch process in IBM WebSphere Application Server v8.5.5.1, which is getting data from a ECM repository, and afterwards converting it to PDF document. It runs about 20k of small documents, which compose the whole batch. Right now I'm getting about 20 docs/sec, but the System is only about 45-55% cpu usage, so something is preventing me to get it to work at full throttle I'm running in Windows 2012 R2 Standard on an HP Proliant DL385p Gen8 (32GB RAM, 2 x AMD Opteron 6272 each with 16 2.1GHz cores ) All resources are locally stored, so almost no network traffic

Inno Setup CreateOleObject('IISNamespace') throws exception on Windows Server 2012

喜欢而已 提交于 2019-12-01 09:29:20
I am trying to create IISSetup in the Windows Server 2012 (IIS version 8.5) through the below install script but throws error "Invalid class string". code: var IIS, WebSite, WebServer, WebRoot, VDir: Variant; ErrorCode: Integer; begin { Create the main IIS COM Automation object } try IIS := CreateOleObject('IISNamespace'); except RaiseException( 'Please install Microsoft IIS first.'#13#13'(Error ''' + GetExceptionMessage + ''' occurred)'); end; end; complete_stranger I had the same issue on a Windows Server 2008 R2 Enterprise with Service Pack 1. procedure TForm1.Button1Click(Sender: TObject);

Why are blank pages being served with “200 OK” for asp.net errors in IIS 8.5 (Win 2012 R2)?

南楼画角 提交于 2019-11-30 11:32:53
I've set up a new Windows 2012 R2 server running IIS 8.5. We noticed that when an error occurs (eg the ASP.NET State Service was not running) that instead of outputting a 500 status code error screen, the request actually returns a totally blank page (only headers - with no content). We obviously need to see the errors and serving 200 OK for an error could be very problematic for indexers like Google etc or any wesite monitoring tools (which would not notify us that the site had gone offline). On our other servers (IIS 7) we see the "yellow error screen" with a message like "could not connect

Generate Self-signed certificate with Root CA Signer

ⅰ亾dé卋堺 提交于 2019-11-30 03:01:26
Scenario: I am using PowerShell on Windows Server 2012r2 to generate a Root certificate and want to use that to sign a newly created Intermediate and Web certificate in dynamic generated (and destroyed) dev/test environments. The scripts are deployed remotely, and the intent is to keep it pure PowerShell if possible. In Windows 10/2016 this is relatively easy, after generating the Root certificate: $Cert = New-SelfSignedCertificate -Signer $Root -Subject "CN=$Subject" I've generated the Root certificate using COM X509Enrollment.CX509CertificateRequestCertificate and Security.Cryptography

Open excel file through normal html link

烈酒焚心 提交于 2019-11-28 04:07:36
问题 i am currently encountering an issue where I'd like to put a link to a shared excel sheet in our intranet. Unfortunately the normal href="http:..." link automatically opens and saves it to the local machine instead of enabling the work on the shared sheet which is on the server itself. I have read through here a bit and found solutions like : file://///SERVER/PATH/Excel.xls but sadly that solution doesn't do anything. If its relevant: my server version is Windows Server 2012 回答1: HTTP is a