IIS
11 TopicsWhy did IIS ApplicationHost.config file disappear?
Hello, Currently, I am operating two cloud-based instances of Windows Server 2012 and 2016. In IIS, when I try to add a binding or modify the application pool, the changes are not saved, and I encounter the following error: C:/Windows/system32/inetsrv/config/applicationHost.config Error: Cannot write to the configuration file. When I navigate to the specified path, the applicationHost.config file does not exist. Additionally, for the Windows Server 2016 instance, there are no backup files available in C:\inetpub\history\. Would anyone be able to provide insights into the possible cause of this issue or suggest a solution? Thank you in advance for your help.19Views0likes0CommentsApplications settings lost when publish website (Windows Server 2022 IIS)
Hi everyone, I've set up a Windows Server 2022 to host multiple websites. However, every time I publish a new website via FTP using Visual Studio, the application settings configured on the site disappear. I'm wondering if I'm missing something in my setup. Should I be configuring the sites differently, or is there a way to prevent these settings from being reset during deployment? Any advice or insights would be greatly appreciated! Thanks!25Views0likes0CommentsServer 2022 IIS install not creating Registry keys in InetStp\Components
Hi I'm hoping someone can help or has run into this before, I've got a production server we installed IIS on as part of a VEEAM ONE install but the installer failed as it complains its missing several IIS components. When checking the Server Manager I can see the components are installed so as a work around VEEAM gave me an installer that didn't check for the components which then fails to register a website and still rolls back. On further investigation the Veeam tech asked me to check for several registry entries see image: When checking the servers registry all of them are missing and the folder has permissions to only allow the Trusted Installer to make changes (Default behaviour I assume). I have run both an SFC and DISM then uninstalled/reinstalled IIS but with the same result. Oddly when I open the IIS manager it looks to be running ok but yet these keys are missing? Can someone please advise on possible fixes or is this expected and something that Veeam need to change??817Views0likes0CommentsInstall ssl certificate on windows server 2012 R2
I would install a SSL certificate on Windows Server 2012 R2. I received from SSL/provider 4 files: mydomain.company.it.csr mydomain.company.it.key mydomain_company_it_cert.cer mydomain_company_it_interm.cer In IIS i have installed "mydomain_company_it_cert.cer" choosing "Complete Certificate Request". In this way i can't see certificate from dropdown list when i am trying to binding in IIS. I have tried to run "certutil -repairstore my xxxxxxxxxxx" but i am constantly prompted for smart card. This article it doesn't help much , the hot-fix has been removed. I read this thread but i don't know if have to generated .CSR again at first point of reply. Any thoughts on how to bypass the smart card and get the repair to complete are appreciatedSolved28KViews1like25CommentsCookieless browsing broken after update KB4580979
Upon running Windows Update KB4580979, .Net 4.7.2 projects that have the SessionStateSection.Cookiless Property set to AutoDetect no longer functions as expected. Previously, a browser that blocked cookies would be redirected to the same page with the querystring /default.aspx?AspxAutoDetectCookieSupport=1 and upon the system detecting that cookies were not supported it would redirect again to a cookiless session URL e.g. /(X(1)S(adl04pietheradyfawfaqlym))/default.aspx?AspxAutoDetectCookieSupport=1 Since the update, a browser would continously be redirected to /default.aspx?AspxAutoDetectCookieSupport=1 until the redirects exceeded the maximum redirects. Relevant Web.config section: <configuration> <system.web> <sessionState cookieless="AutoDetect" /> </system.web> </configuration> Windows Server 2019 DataCenter Version 1809 OS Build 17763.13695.1KViews2likes4CommentsSSL certificate private key missing, on recovery process smart card pop up appear
I can add an SSL certificate to IIS server certificates, but when we try to binding SSL certificate to our app it's not listing there, then checked IIS server certificates again, the added certificate not found there, finally realized that issue was due to missing of the private key, then I tried to recover that by executing following command certutil -repairstore my <Serial_number> but getting smart card pop up, then updated group policy of smart card (disabled smart card), after that checked again, pop up still shows Windows Server 2019 data center 64 bit Refer: https://www.namecheap.com/support/knowledgebase/article.aspx/9773/2238/ssl-disappears-from-the-certificate-list-on-windows-server6.2KViews1like2CommentsHow to enable ASP.NET 4.8 on Windows Server 2016
Hello All, I have installed on my server as bellow: + Windows Server 2016 Standard Evaluation 64 bit + IIS 10 version 1607 - OS build 14393.693 + .NET Framework 4.8 - Release DWORD: 528049 Everything will be simple when I may enable ASP.NET 4.8; but I didn't see this option here. (There is only ASP.NET 4.6) May I enable ASP.NET 4.8 on above Windows Server 2016? Thanks in advance, Nguyen Duc HoaSolved46KViews0likes4CommentsTLS 1.2 Handshake Failure
I am having an issue with Windows IIS server and TLS 1.2 handshake. Windows sent Encrypted Handshake Message and the Client sent Encrypted Alert then both sides reset the connection as shown in the picture. I'd like to understand what causes the Encrypted Alert as more data is expected to be sent. Please help 🙂2.6KViews0likes0CommentsSecuring IIS
I have a Web Server running Server 2016 that hosts a bunch of local web applications. Is there a way to secure these urls to use https instead of http? I did a self-signed certificate but not sure if that is correct or not? My server name is WYNNEAPPS1 Here is an example of some urls that I have: http://wynneapps1/AMSEnterpriseApp/Login/Login.aspx http://wynneapps1/PhoenixSQL/Login.aspx http://wynneapps1/CMCWebService/1.1KViews0likes1CommentVerification of SSL-Certificate without internet connection
Hi Community! I'm currently facing an issue with a webapplication and ssl-certificates. The Scenario is that we have a web-Application for the Intranet hosted by an IIS. Due to security reasons the server has no internet connection and cannot validate the SSL certificate. I tried nearly everything to disable the CRL and OCP, but I constantly get errors in the event log stating that the ssl-valdiation failed. I looked a lot in the capi2 log but I can't find out why the CRL / OCP is still active. My question is: How do you handle SSL-Certificates on a server that is not internet-connected? Are there any best practices or good blog articles? I couldn't find any articles for my specific Problem. The only solution I have left is to configure the proxy-server for the app-pool account as this account seems to be validating the cert. Would you consider this a good practice?Solved35KViews0likes4Comments