windows-server-2012

500 Internal Server Error requesting any resource files (css, js, images) in an .Net MVC 3 site

元气小坏坏 提交于 2019-12-01 04:10:13
UPDATE: Things I tried - see answer below for solution I installed a fresh MVC3 site and it served up the resources properly. That eliminated the machine.config settings as a problem. I then when section by section in the web.config to see if any particular changes in web.config caused the problem. When the configs were identical, the fresh site still worked and the old site was still broken. I uninstalled IIS, reinstalled IIS, and then installed apps again in an attempt to clear any settings that were lingering around. Still borked. I then used publish (instead of msi deploy) to new directory

Offline installer for .Net 3.5 SP1 not working

有些话、适合烂在心里 提交于 2019-11-30 21:04:26
I downloaded a big file of .Net 3.5 SP1 . Now when I try to install it on Windows Server 2012, I get the following screenshot: Now this is a loop. When I try to install from Server Manager, I get installation cannot be done. It needs the installation disk. Does that mean I can't install at all without the installation disk in presence? Your WSUS server is probobly getting in the way, or you just can't reach the Microsoft update site. Follow these directions. "Specify settings for optional component installation and component repair" worked for me. This is alternate solution when you don't have

Offline installer for .Net 3.5 SP1 not working

别说谁变了你拦得住时间么 提交于 2019-11-30 17:11:33
问题 I downloaded a big file of .Net 3.5 SP1. Now when I try to install it on Windows Server 2012, I get the following screenshot: Now this is a loop. When I try to install from Server Manager, I get installation cannot be done. It needs the installation disk. Does that mean I can't install at all without the installation disk in presence? 回答1: Your WSUS server is probobly getting in the way, or you just can't reach the Microsoft update site. Follow these directions. "Specify settings for optional

Alternative for the Registering ASP.NET 4.5 on Windows Server 2012

走远了吗. 提交于 2019-11-30 09:12:32
I am getting MIME is not registered error when I run WCF service. I used this link to resolve this issue. After that I started getting another error which asked me to register the ASP.NET framework with IIS. So I used "aspnet_regiis" command for it but it shows me following error. Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Start installing ASP.NET (4.0.30319.17929). This option is not supported on this version of the operating system. Administr ators

SignalR applications do not work under IIS

Deadly 提交于 2019-11-30 07:55:23
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-signalr . This works fine under Visual Studio but, once again, does not do anything other than

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

♀尐吖头ヾ 提交于 2019-11-30 06:53:15
问题 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]:

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

自闭症网瘾萝莉.ら 提交于 2019-11-30 06:20:58
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#.NET 4.0 web forms site for 2 and a half years. On May 15 2013 we removed a primary Domain controller

An error occurred in the secure channel support - Classic ASP HTTP Request

旧城冷巷雨未停 提交于 2019-11-30 06:13:01
I have a classic ASP website running on a Windows Server 2012 box. One page makes a HTTP request to another application over https using code like this: Sub ShopXML4http(url, inStr, outStr, method, xmlerror) Dim objhttp Set objhttp = Server.CreateObject ("MSXML2.ServerXMLHTTP.6.0") objHttp.open method, url, false If Method="POST" Then objHttp.Send instr Else objHttp.Send End if outstr=objHttp.responseText Set objhttp=nothing End Sub This code works fine almost all of the time (thousands of requests per day), but sporadically it will fail with a message like this: Number: -2147012739

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

喜欢而已 提交于 2019-11-30 04:59:28
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 wasn't able to troubleshoot this correctly. Current Cluster Health Status is RED as shown in picture. Any

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

拟墨画扇 提交于 2019-11-29 20:26:21
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 refers to a service URL which I must obtain from my hosting company. I don't have a hosting company, my