appcmd to add sslflags=2
I can't find a way to setup a site with sslflags=2 with appcmdwe've just moved to using centralized certificate store.i setup all of my sites using APPCMD add site /name:%1_%2_%3...
View ArticleChallenges to add custom error page
Hi,I have W2012 R2 and Exchange 2013 there. Idea is to add a custom error page for the 403.4 error, so that users are redirected to the correct URL if they by some reason end up to OWA without HTTPS.I...
View ArticleClustered IIS8 using clusweb7.vbs and Webdev
HiI have a clustered IIS server which was working fine. I've since installed WebDev and now every time I browse the website I get a 503 error and the clusweb7.vbs resource in the cluster shows as...
View ArticleHow to setup IIS Express from a script the way Visual Studio does it?
When we configure a web application to run in IIS Express there are certain things VS does, like:Creating the application host configuration file in the IISExpress subfolder of the user documents...
View ArticleAppCmd.exe Error :Failed to process input: The parameter 'Web' must begin...
Hi,I am using Appcmd.exe to create Virtual directories, AppPools and applications. I am getting the following error in one of my environment where i have all the role services installed for IIS web...
View ArticleIIS 7.5 and redirect to tomcat
Hello,I have two questions to the connection between IIS and tomcat -> isapi_Redirect:Did I have to install and configure the isapi_Redirect function on the same windows server, where also the...
View ArticleMove website from IIS 5 to IIS 8.5
Hi,I have a Web Site running on a Win Server 2003 with IIS 5. Now I have to move it to a Win Server 2012 with IIS 8.5. When I try to browse in the website, it seems like there is some authorization...
View ArticleAdding an app using appcmd - Issue with site.name
Hello,When attempting to add an application via appcmd, I get the following:1) First attempt C:\Windows\System32\inetsrv>APPCMD add app SITE.NAME="Default Web Site" /path:/<Appname>...
View ArticleUnable to get connection string sub-sites under default website or any other...
An exception is thrown when attempting to open the web configuration for a web application on a non default website. System.InvalidOperationException: Failed to resolve the site ID for 'SubSite' Steps...
View ArticleCOM+ error using ServerManager remotely
Hello, I am using a simple .NET utility that uses the Microsoft.Web.Administration ServerManager class to manage a remote IIS server w/ 2008 R2. The problem is, I am getting the following error in...
View ArticleCreating location - locking programmatically
in the file applicationHost.config I can see the following structure:<location path="Default FTP Site/foo"> <system.ftpServer> <security>...
View ArticleIIS Application Initialization/Warm Start
Hi,I am wondering if you can have multiple initialiationPage statements so that 2 pages can be called.The idea behind this is to have JQuery bundles initialized for our 2 main pages.Any help or advice...
View ArticleGzip not working in IIS 7.5
I am using IIS 7.5 on windows server 2008 R2.The application is developed in MVC5.The bundling works fine in IISWhen I run the solution from visual studio it works fine but on production it doesn't...
View ArticleBundling and Minification not working with IIS 7.5
I am using IIS 7.5 on windows server 2008 R2.The application is developed in MVC5.The bundling works fine in IISWhen I run the solution from visual studio it works fine but on production it doesn't...
View ArticleURL Rewrite configuration with appcmd.exe
I am trying to implement the following URL Rewrite config using appcmd <system.webServer><rewrite><outboundRules><rule name="Add HttpOnly" preCondition="No HttpOnly"><match...
View ArticleIIS Manager cannot verify whether the built-in account has access.
I have downloaded some software. I put the software in a subdirectory of C:\inetpub\wwwroot. The installation instructions say to create a virtual directory. When I do that and click the "Test...
View ArticleODBC Logging from DMZ IIS Server
I've been following articles on setting up IIS 8.5 to log to a SQL 2008 R2 Server.My IIS 8.5 server is in the DMZ on Windows Server 2012 R2 and is not a domain member.My SQL server is SQL Server 2008...
View ArticleHow do I force WebAdministration cmdlets to make changes in apphost.config?
Hello,I'm trying to use Clear-WebConfiguration cmdlet below but it fails on reading web.config file from the UNC location which is expected since I did not specify username/password to access it. I...
View ArticleWhy was the "Start Automatically" UI removed for sites in IIS 8.5?
In IIS 7.5 in IIS Manager, open the advanced settings for a site.You have an option for "Start Automatically" (serverAutoStart on the site node in xml).This setting is gone in IIS 8.5 and IIS 10 (maybe...
View ArticleError loading cx_Oracle module in IIS and CGI
I wrote a simple python script to run inside IIS 8.0 on Win2012 as web-CGI. Python 2.7.5 and Oracle client 12.1 32-bit and cx_Oracle-5.2-12c.win32-py2.7.exe. cgi-python is enabled in IIS with CGI...
View Article