iis-8

Moved my ASP.NET website to IIS 8 on windows server 2012… services missing: .svc files are viewable, but their methods give a 404

五迷三道 提交于 2019-12-18 03:32:09
问题 I moved from IIS 6 on windows server 2003. I can browse to the .svc files . I get a nice standard "This is a Windows© Communication Foundation service" page if I go to http://example.com/Service.svc in a browser. But I can't browse to any of the methods - I get a 404 error if I go to http://example.com/Service.svc/Method?parameter=xyz in a browser. Has anyone seen anything like this? Any ideas or suggestions? I thought I might have a similar problem to this question: WCF on IIS8; *.svc

SQL Server Pre-Login Handshake Acknowledgement Error [duplicate]

你离开我真会死。 提交于 2019-12-17 18:26:36
问题 This question already has answers here : Connection to SQL Server Works Sometimes (21 answers) Closed 4 years ago . We have a production website with a mixture of classic ASP, inline .Net and compiled .Net that talks to a SQL Server instance where both are VMs on the same physical box and everything there works great. In order to do some testing with new features I created a QA version of the site and have it setup to connect to a database on a VM hosted on another physical server. They are

How do I re-register ASP.NET with IIS 8?

拜拜、爱过 提交于 2019-12-14 03:59:44
问题 I am running a gallery template Windows Server 2012 VM instance on Azure. I've deployed a .NET site to the local IIS 8.0 but it doesn't work, just gives 404's for path that work fine on dev box (IIS Express). I had a nightmare with Web Deploy already on this VM so I think this whole VM template is screwy. I want to re-register ASP.NET with IIS using aspnet_regiis.exe but I see this message: This option is not supported on this version of the operating system. Administrators should instead

IIS8 RewriteModule / URLRewrite Extremely Slow

萝らか妹 提交于 2019-12-14 03:23:56
问题 I'm running a website with IIS8 on Windows Server 2012. I'm trying to determine what's causing high CPU usage by IIS (frequently 50% or more CPU usage by IIS). Server receives about 40 total requests per second throughout the day, but probably only 1-2 URLs per second that require processing. I enabled Request Tracing and found that some RewriteModule requests are taking over 100 seconds (!) to complete. I'm having trouble determining how this is possible on a machine with more than

IIS or IIS_IUSRS permisions so that PHP can write files for WordPress

南笙酒味 提交于 2019-12-14 03:18:16
问题 I'm running IIS 8 on a virtual machine (Windows Server 2012 Datacenter) in Azure. I have installed WordPress and its dependencies using the Web Platform Installer 4.6 I have trouble when WordPress needs to write files from its admin console. I've added the ftp details to the file C:\inetpub\wwwroot\blog\wp-config.php and that works fine. But whenever WordPress tries to write a file from its management web page, for example to create a child theme or to upload media I got an error (e.g.

IIS Express stopped working after updating VS2012 SP1

纵然是瞬间 提交于 2019-12-13 16:51:10
问题 Update Visual Studio 2012 and after it IIS Express gives an error: "Unable to launch the IIS Express Web Server", when I try to run an asp.net project. Before upgrading all worked fine. /trace:error mode gave such log Starting IIS Express ... Initializing the W3 Server Started CTC = 264312930 W3 Server initializing WinSock. CTC = 264312946 W3 Server WinSock initialized. CTC = 264312946 W3 Server ThreadPool initialized (ipm has signalled). CTC = 264312946 Start listenerChannel http:0 Failed to

Replacement for standalone FedUtil to update system.IdentityModel

两盒软妹~` 提交于 2019-12-13 13:29:56
问题 i'm looking for a replacement of the Microsoft Federation Utility (FedUtil) from the WIF SDK, which allows me to automatically update (especially) the trustedIssuers list inside a web.config. The old FedUtil could to this with /m /u as parameters. Now the tool is included in VisualStudio and MS claims, there's no standalone replacement for FedUtil (refer to: http://msdn.microsoft.com/en-us/library/jj157089.aspx). My question is: Do i have to do the updates manually now or is there some

Google Maps API GeoJSON not working with IE 11, but works in Chrome

给你一囗甜甜゛ 提交于 2019-12-13 08:30:43
问题 I have a google map that loads markers from a GeoJSON file that runs on localhost in Visual Studio 2013. It also runs in chrome (from an IIS server) but will not run in IE version 11. The map shows up, but the markers from the JSON file do not. Why would this work in Chrome on IIS 8, and IE 11 through VS, but not IE 11 on IIS 8? var map; var infowindow = new google.maps.InfoWindow({ }); function initialize() { map = new google.maps.Map(document.getElementById('googleMap'), { center: new

MsDeploy Skip Root Web Config deployment only

淺唱寂寞╮ 提交于 2019-12-13 06:44:36
问题 I am using Ms-deploy for Web Deployment. Below command i am using for this msdeploy -verb:sync -source:contentPath="${p:resource/work.dir}${p:component.name}\%BinariesMode%%DirectoryOffset%" -dest:contentPath=%1,ComputerName=localhost -enableLink:AppPoolExtension -enableRule:Donotdeleterule -skip:objectName=filePath,absolutePath="\\Web\.config$" It not only skip the web config of root folder but also of View folder web.config also. How can i overcome this issue. I don't want to use Full path

Strange IIS/WCF Web Service Issue

孤者浪人 提交于 2019-12-13 04:41:18
问题 Windows Server 2012 - IIS 8.x I have a WCF web service (DLL) deployed in IIS that supports SOAP and REST over https. There is a certificate installed from Comodo for the SSL. When I create a proxy for the service in C# apps everything works fine. Also, when I call most of the REST methods from a browser or from Postman they also work fine. But there are a few REST methods that fail with no exception. In Chrome browser I get an error that says: "This site can't be reached." In Postman I get an