windows-server-2012

SignalR applications do not work under IIS

拥有回忆 提交于 2019-11-29 10:20:03
问题 I am trying to build a SignalR application in Visual Studio 2012. My problem is that it works well under Visual Studio debug (using Visual Studio 2012 on Windows 7), but when I try to deploy the app on IIS 8 on Windows Server 2012, the app does nothing more than displaying the index.html page. I decided to try to narrow down whether the issue is in my code or in SignalR. I compiled the SignalR tutorial shown at http://www.asp.net/signalr/overview/getting-started/tutorial-getting-started-with

UserPrincipals.GetAuthorizationGroups An error (1301) occurred while enumerating the groups. After upgrading to Server 2012 Domain Controller

大城市里の小女人 提交于 2019-11-29 05:11:01
问题 Research: Similar Issue with workaround, but not actual solution to existing problem Similar issue pointing to Microsoft End Point update as culprit The above links are the most suited to my problem, I have also viewed every similar question listed by Stack Overflow upon creating this post, and only the above referenced questions fit my issue. Background: I have been using UserPrincipal.GetAuthorizationGroups for permissions for specific page access running IIS 7.5 on Server 2008 R2 in a C#

SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]

a 夏天 提交于 2019-11-29 02:42:46
问题 Recently our server was rebooted without correctly shutting down the Elastic Search / Kibana. After that reboot, both applications were running but no indices were getting created anymore. I checked logstash setup in debug mode and it is sending data to Elastic Search. now all my created windows report this error: Oops! SearchPhaseExecutionException[Failed to execute phase [query], all shards failed] I tried restarting Elastic Search / Kibana, and cleared some indices. I searched a lot but

Set a Scheduled Task to run when user isn't logged in

ぐ巨炮叔叔 提交于 2019-11-28 23:04:38
I have been using the Powershell Scheduled Task Cmdlets to create a scheduled task on our servers. How do I elect to 'Run whether user is logged in or not' using this API? I've created action , trigger , principal and settings objects, and passed them to Register-ScheduledTask , as below: $action = New-ScheduledTaskAction -Execute foo.exe -Argument "bar baz" $trigger = New-ScheduledTaskTrigger -Once -At $startTime -RepetitionInterval (New-TimeSpan -Minutes 1) -RepetitionDuration ([Timespan]::MaxValue) $principal = New-ScheduledTaskPrincipal -UserId "$($env:USERDOMAIN)\$($env:USERNAME)"

Play Framework 2 Stage Task on Windows, “The input line is too long”

心已入冬 提交于 2019-11-28 09:01:24
I'm trying to Play 2 application on Windows Server Server 2012 using the " stage " task, with the goal of wrapping this up in a service so the application will automatically run when the server gets restarted. However, when running the app I get the following message: The input line is too long. The syntax of the command is incorrect. This is because Windows has a limit of around 8000 characters for command line instructions but it seems like the Play stage command is exceeding this by passing the classpath as an argument. Copying the "stage" folder to c:\ might fix the issue (as it'll reduce

How can I enable “URL Rewrite” Module in IIS 8.5 in Server 2012?

自闭症网瘾萝莉.ら 提交于 2019-11-28 04:01:52
I have windows server 2012 and I have installed the IIS 8.5 but I could not see the URL rewrite module. How can I enable or install? Download it from here http://www.iis.net/downloads/microsoft/url-rewrite or if you already have Web Platform Installer on your machine you can install if from there. First, install the URL Rewrite from a download or from the Web Platform Installer. Second, restart IIS. And, finally, close IIS and open again. The last step worked for me. Worth mentioning: you should download the x64 version! From the main download page ( https://www.iis.net/downloads/microsoft/url

Web Deploy from Visual Studio 2012 to a remote IIS 8 server

你离开我真会死。 提交于 2019-11-27 10:09:33
问题 I have a remote Windows 2012 server running IIS 8 from which I am hosting a web application. My local development box is running Visual Studio 2012. Currently I am publishing my app as a web deployment package (.zip), RDP'ing to the production server, copy + pasting to a folder and deploying the application from within IIS. My question is, what changes do I need to make to deploy directly to IIS from Visual Studio 2012 using the web deploy option? I have tried to follow this guide but it

Powershell script to see currently logged in users (domain and machine) + status (active, idle, away)

冷暖自知 提交于 2019-11-27 07:05:38
I am searching for a simple command to see logged on users on server. I know this one : Get-WmiObject -Class win32_computersystem but this will not provide me the info I need. It returns : domain Manufactureer Model Name (Machine name) PrimaryOwnerName TotalPhysicalMemory I run Powershell 3.0 on a Windows 2012 server. Also Get-WmiObject Win32_LoggedOnUser -ComputerName $Computer | Select Antecedent -Unique gives me not the exact answers I need. I would love to see as well the idle time, or if they are active or away. Hyon In search of this same solution, I found what I needed under a different

How can I enable “URL Rewrite” Module in IIS 8.5 in Server 2012?

杀马特。学长 韩版系。学妹 提交于 2019-11-27 05:15:52
问题 I have windows server 2012 and I have installed the IIS 8.5 but I could not see the URL rewrite module. How can I enable or install? 回答1: Download it from here http://www.iis.net/downloads/microsoft/url-rewrite or if you already have Web Platform Installer on your machine you can install if from there. 回答2: Worth mentioning: you should download the x64 version! From the main download page (https://www.iis.net/downloads/microsoft/url-rewrite) click "additional downloads" (under the main

Play Framework 2 Stage Task on Windows, “The input line is too long”

别等时光非礼了梦想. 提交于 2019-11-27 02:34:46
问题 I'm trying to Play 2 application on Windows Server Server 2012 using the "stage" task, with the goal of wrapping this up in a service so the application will automatically run when the server gets restarted. However, when running the app I get the following message: The input line is too long. The syntax of the command is incorrect. This is because Windows has a limit of around 8000 characters for command line instructions but it seems like the Play stage command is exceeding this by passing