windows2012

The PowerShell provider xWebAdministration does not exist at the PowerShell module path nor is it registered as a WMI provider

穿精又带淫゛_ 提交于 2019-12-06 07:16:44
I have made this very simple DSC script. Which basically creates web application in default website. Configuration ConfigureWebApp { param ($MachineName) Import-DscResource -Module xWebAdministration Node $MachineName { xWebApplication NewWebApplication { Name = "MyApp" Website = "Default Web Site" WebAppPool = "DefaultAppPool" PhysicalPath = "C:\Inetpub\wwwroot\MyApp" Ensure = "Present" } } } cd "C:\Dsc\scripts" ConfigureWebApp -MachineName "WIN-KPURIN2B87H" When I run generated MOF file, it gives me following error. The PowerShell provider xWebAdministration does not exist at the PowerShell

Why is my Scheduled Task updating its 'Last Run Time' correctly, and giving a 'Last Run Result' of '(0x0)', but still not actually working?

爱⌒轻易说出口 提交于 2019-12-02 07:51:00
问题 I have a batch file which is set to run as a Scheduled Task on Windows Server 2012. When I run the batch file by hand from the command line, it works. When I right-click on my task in Task Scheduler and manually run it, it still works fine. But, if I let the task run according to the schedule set for it... then it seems to work sometimes, but not others. I have already set the task to run as a given user; I have set its 'Start in' directory correctly; I have tried giving it highest privileges

Why is my Scheduled Task updating its 'Last Run Time' correctly, and giving a 'Last Run Result' of '(0x0)', but still not actually working?

女生的网名这么多〃 提交于 2019-12-02 02:49:56
I have a batch file which is set to run as a Scheduled Task on Windows Server 2012. When I run the batch file by hand from the command line, it works. When I right-click on my task in Task Scheduler and manually run it, it still works fine. But, if I let the task run according to the schedule set for it... then it seems to work sometimes, but not others. I have already set the task to run as a given user; I have set its 'Start in' directory correctly; I have tried giving it highest privileges. None of that helps. Mike Beaton The basic answer is that the batch file for the task is running, and

Setting User Environment Variables for tomcat on Windows

[亡魂溺海] 提交于 2019-12-01 09:01:05
I am running tomcat 8 on windows 2012. I have a webapp that needs an user environment variable to be set in order to run. I can start tomcat and retrieve the variable successfully like this: set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65 set CATALINA_HOME=C:\TOOLS\apache-tomcat-8.0.30 set CATALINA_BASE=C:\Users\ULUser\tomcat\myapp set MY_VAR=%CATALINA_BASE% set PATH=%CATALINA_ROOT%\bin;%PATH% set CATALINA_OPTS="-Djava.security.properties=%CATALINA_BASE%\conf\java.security.properties" %CATALINA_HOME%\bin\catalina.bat run But when I run as a windows service I cannot retrieve the MY_VAR variable

sonar qube installation on windows server 2012

和自甴很熟 提交于 2019-12-01 05:56:16
Installing sonarqube on windows server 2012 I have followed the following steps to install sonar on Windows Server 2012 Downloaded sonarqube4.4 and extracted to C:\Sonarqube Downloaded Java JDK 1.7.0_60 and jre 1.7.0_67 as well as jre7 Installed Windows SDK 7 and .NET Framework 4 Navigated to C:\sonar\bin\windows x86-64 and ran StartSonar.bat as an administrator, this ran ok with no output and i had to hot ctrl- Z to break I then ran \windows-x86-64\InstallNTService.bat as an administratot and i getting The sonarQube services was launched, but failed to start, not sure where else to look

The operator or administrator has refused the request task scheduler

百般思念 提交于 2019-11-29 11:45:38
问题 I have scheduled a C# console application in Task Scheduler of Windows 2012 R2. Application will run when executed it manually or Right click on scheduled task and click on Run , but it is failed when triggered by Task Scheduler with below error. The operator or administrator has refused the request(0x800710E0) I have followed below steps also after Google search Selected " Run whether user logged in or not " Unchecked " Start the task only if the computer is on AC power " 回答1: In my case, I

ElasticSearch instance not reachable from outside the server - Azure Windows 2012

橙三吉。 提交于 2019-11-28 03:24:44
问题 I have set up Elastic Search 2.3.0 as a service in an Azure VM with Windows Server 2012 R2. I can access elastic search instance from within the server using http://localhost:9200 but I cannot access from outside the server. What have I tried? Just for testing I have made the VM available outside the virtual network. Opened up the port 9200 in Windows Firewall settings as an Inbound Traffic rule Added an endpoint in Azure portal settings opening up port 9200 Tried this with VM Classic as well

ASP.NET Core 1.0 on IIS error 502.5

被刻印的时光 ゝ 提交于 2019-11-26 11:13:31
I just updated my server (Windows 2012R2) to .Net Core 1.0 RTM Windows Hosting pack from the previous .Net Core 1.0 RC2 . My app works on my PC without any issues but the server keeps showing: HTTP Error 502.5 - Process Failure Common causes of this issue: The application process failed to start The application process started but then stopped The application process started but failed to listen on the configured port It previously worked with the RC2 version. Don't know what could go wrong. This is all event viewer says: Failed to start process with the commandline 'dotnet .\MyWebApp.dll'.

ASP.NET Core 1.0 on IIS error 502.5

故事扮演 提交于 2019-11-26 02:19:01
问题 I just updated my server (Windows 2012R2) to .Net Core 1.0 RTM Windows Hosting pack from the previous .Net Core 1.0 RC2 . My app works on my PC without any issues but the server keeps showing: HTTP Error 502.5 - Process Failure Common causes of this issue: The application process failed to start The application process started but then stopped The application process started but failed to listen on the configured port It previously worked with the RC2 version. Don\'t know what could go wrong.