Forum Widgets
Latest Discussions
Update to de lastest version of IIS
HI! In the company I work for, we have many servers with several versions of Windows Server (from 2012 R2 to 2022) and some of them have the IIS role installed. I have to check if IIS is updated in every server, so I'd like to know if you can help me whit the following: How can I Update IIS to te lastest version? I searched the web and looks like the only way to upgrade it is using WIndows Update, but in my organisation it is disabled by policy. I was searching for information about the different versions of IIS in Microsoft learn and all I found was this: Internet Information Services (IIS) - Microsoft Lifecycle | Microsoft Learn. I understand that there are several versions of IIS 10, some of the available only for Windows server 2019 and others only for Win Server 2022. Where can I find that info? Thank you.marcelo5284Jan 22, 2025Copper Contributor31Views1like1CommentIIS port problem
Hi everybody! My company would like to use MantisBT and i got the task to setup mantis but i have some problem with it. I would like to run MantisBT on port 443 (https) but one application already use this port. (This application isn't based on IIS). The server which should run MantisBT has two network cards and using Windows Server 2019. The first (x.x.x.1) is used by the necessary monitoring application, the other one (x.x.x.2) should used by MantisBT. The problem is if i bind x.x.x.2 IP to port 443 than i got an error message: The process cannot access the file because: it is being used by another process.(Exception from HRESULT: 0x80070020) Any idea what should i do? Can you give me step by step advice? Thank you. Have a nice day! PNpnanyJan 13, 2025Copper Contributor13Views0likes0CommentsIIS Permissions: Either a required impersonation level was not provided, or the provided impersonati
I have been assigned to take over a charitable contributions website. I am struggling with some permissions problems as detailed below. Could you please offer some suggestions/help? Background OS: Windows Server 2022 Web server: IIS 10.0 Tracing enabled ....walter2021Dec 27, 2024Copper Contributor250Views0likes1CommentHow to integrate with Angular ngCspNonce`
Good Day I'm trying to set up CSP Nonce support with Angular, using IIS on Windows-based Azure App Service Plans. I can't switch to a different web server due to other requirements, so I'm stuck with IIS. What I need to configure is a replacement for 'nonce-random_nonce_value' In Apache or Nginx, this is trivial, but on IIS how do I tell it to replace "nonce-random_nonce_value" with "nonce-<blah-long-hash>". Thanksamurdoch22Nov 27, 2024Copper Contributor83Views0likes0CommentsNeed Help Understanding Why .NET SDK and Runtime Were Required for IIS Hosting of ASP.NET
I'm hosting an ASP.NET Core application (v6.0.33) on an AWS virtual machine with IIS. I installed the .NET Hosting Bundle matching the application’s version. After verifying the website runs fine with dotnet run, I encountered an "HTTP Error 500.30 - ASP.NET Core App Failed to Start" when trying to access it via IIS. After troubleshooting extensively—including checking various threads on Stack Overflow, GitHub, and Microsoft forums—I found this article https://www.quickpickdeal.com/coding/http-error-500-30-asp-net-core-app-failed-to-start-with-iis-a-real-world-solut that suggested installing not only the Hosting Bundle but also the .NET SDK and Runtime. Surprisingly, this approach worked. My question is: Why did I need all three components (Hosting Bundle, SDK, and Runtime) to get this application working in IIS? I expected the Hosting Bundle alone to be sufficient for deployment. Could there be a dependency that IIS requires that isn't covered by the Hosting Bundle?ashokpatel457Oct 28, 2024Copper Contributor92Views0likes0CommentsChunked data through IIS
I am trying to chunk data through iis but it is not happning I tried <rewrite> <outboundRules> <!-- <rule name="Remove Content-Length" stopProcessing="false"> <match serverVariable="RESPONSE_Content-Length" pattern=".*" /> <action type="Rewrite" value="0" /> </rule> --> <!-- <rule name="Add Chunked Encoding" patternSyntax="ECMAScript"> <match serverVariable="RESPONSE_Transfer-Encoding" pattern=".*" /> <action type="Rewrite" value="chunked" /> </rule> --> and <rule name="Transfer-Encoding chunked"> <serverVariables> <set name="RESPONSE_Content-Length" value="" /> <set name="RESPONSE_Transfer-Encoding" value="chunked" /> </serverVariables> <action type="CustomResponse" statusCode="200" /> </rule> and <httpProtocol allowKeepAlive="false"> <customHeaders> <!-- <remove name="Content-Length" /> <add name="Transfer-Encoding" value="chunked" /> --> <add name="X-Content-Type-Options" value="nosniff" /> </customHeaders> </httpProtocol> in these cases in response header transfer-encoding is coming as chunked but response body is not comingAbhishek_RajSOct 18, 2024Copper Contributor355Views0likes4CommentsIIS Logs have Incorrect Date Modified
I have a server that is creating daily IIS logs (stored local) with a timestamp in the Date Modified that have the incorrect date for the "current" log. Example: Today is 9-10-2024, the current log is named correctly(u_ex240910.log), has correct information inside, but the Date Modified Timestamp is 9-9-2024 7:00PM. There is also a log file for u_ex240909.log) which has correct information in it as well. I have dozens of IIS servers, and this is not an issue on the rest of them. The Logging feature in IIS Manager is setup identical on this issue server and working servers so I am stumped. Screenshot of "problem" server. Screenshot of "working" server: Screenshot of Logging setup in IIS Manager(which is identical on both trouble and working servers):ChrisHankinsOct 18, 2024Copper Contributor244Views0likes3CommentsHow to fix Error System.Web.HttpApplication does not implement IHttpModule in IIS
Hi, I need some help with error "Error System.Web.HttpApplication does not implement IHttpModule" with some steps for diagnose cause this error. Note: MY_SERVER has a single web site called "SitioNuevoVacio2" Context I have a web site called "SitioNuevoVacio2" this contains a single html file called "index.html" with following source code... <html> <body> -- empty web site -- </body> </html> when I browse "SitioNuevoVacio2", I get these error messages: " Server Error in '/' Application. ________________________________________ System.Web.HttpApplication does not implement IHttpModule. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Configuration.ConfigurationErrorsException: System.Web.HttpApplication does not implement IHttpModule. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ConfigurationErrorsException: System.Web.HttpApplication does not implement IHttpModule.] System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +11874417 System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +221 System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1103 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +122 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +173 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +255 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +347 [HttpException (0x80004005): System.Web.HttpApplication does not implement IHttpModule.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +552 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +122 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +732 ________________________________________ Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.9195.0 " And Event viewer has this warning: " Event code: 3008 Event message: A configuration error has occurred. Event time: 9/10/2024 8:56:20 a. m. Event time (UTC): 9/10/2024 1:56:20 p. m. Event ID: 5bffbb78122e470a85ffaa557e38532d Event sequence: 1 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/3/ROOT-2-133729557801407411 Trust level: Full Application Virtual Path: / Application Path: C:\inetpub\wwwroot\SitioNuevoVacio2\ Machine name: MY_SERVER Process information: Process ID: 9424 Process name: w3wp.exe Account name: IIS APPPOOL\DefaultAppPool Exception information: Exception type: ConfigurationErrorsException Exception message: System.Web.HttpApplication does not implement IHttpModule. at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) Request information: Request URL: http://localhost:8085/ Request path: / User host address: ::1 User: Is authenticated: False Authentication Type: Thread account name: MY_SERVER\SomeUser Thread information: Thread ID: 12 Thread account name: MY_SERVER\SomeUser Is impersonating: False Stack trace: at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) " I searched in the web and some post suggest check your source code in these files: - web.config - global.asax and find any reference to custom HttpModule, but "SitioNuevoVacio2" only has a single page. I don't know what to do, any suggestions? Technical Specs - SO: windows server 2022 standard 21H2 - IIS: Version 10.0.20438.1 - .NET Framework Version:4.0.30319 - ASP.NET Version:4.8.9195.0 TRY 1. List of 12 Handlers manually created... 1. PageHandlerFactory-ISAPI-4.0_32bit • Request path: *.aspx • Type: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll • Name: PageHandlerFactory-ISAPI-4.0_32bit • Module: IsapiModule • Script Processor: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll • Entry Type: Local 2. PageHandlerFactory-ISAPI-4.0_64bit • Request path: *.aspx • Type: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll • Name: PageHandlerFactory-ISAPI-4.0_64bit • Module: IsapiModule • Script Processor: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll • Entry Type: Local 3. PageHandlerFactory-Integrated-4.0 • Request path: *.aspx • Type: System.Web.UI.PageHandlerFactory • Name: PageHandlerFactory-Integrated-4.0 • Module: ManagedPipelineHandler • Entry Type: Local 4. SimpleHandlerFactory-ISAPI-4.0_32bit • Request path: *.ashx • Type: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll • Name: SimpleHandlerFactory-ISAPI-4.0_32bit • Module: IsapiModule • Script Processor: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll • Entry Type: Local 5. SimpleHandlerFactory-ISAPI-4.0_64bit • Request path: *.ashx • Type: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll • Name: SimpleHandlerFactory-ISAPI-4.0_64bit • Module: IsapiModule • Script Processor: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll • Entry Type: Local 6. SimpleHandlerFactory-Integrated-4.0 • Request path: *.ashx • Type: System.Web.UI.SimpleHandlerFactory • Name: SimpleHandlerFactory-Integrated-4.0 • Module: ManagedPipelineHandler • Entry Type: Local 7. WebServiceHandlerFactory-ISAPI-4.0_32bit • Request path: *.asmx • Type: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll • Name: WebServiceHandlerFactory-ISAPI-4.0_32bit • Module: IsapiModule • Script Processor: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll • Entry Type: Local 8. WebServiceHandlerFactory-ISAPI-4.0_64bit • Request path: *.asmx • Type: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll • Name: WebServiceHandlerFactory-ISAPI-4.0_64bit • Module: IsapiModule • Script Processor: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll • Entry Type: Local 9. WebServiceHandlerFactory-Integrated-4.0 • Request path: *.asmx • Type: System.Web.Services.Protocols.WebServiceHandlerFactory • Name: WebServiceHandlerFactory-Integrated-4.0 • Module: ManagedPipelineHandler • Entry Type: Local 10. ScriptHandlerFactory-ISAPI-4.0_32bit • Request path: *.axd • Type: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll • Name: ScriptHandlerFactory-ISAPI-4.0_32bit • Module: IsapiModule • Script Processor: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll • Entry Type: Local 11. ScriptHandlerFactory-ISAPI-4.0_64bit • Request path: *.axd • Type: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll • Name: ScriptHandlerFactory-ISAPI-4.0_64bit • Module: IsapiModule • Script Processor: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll • Entry Type: Local 12. ScriptHandlerFactory-Integrated-4.0 • Request path: *.axd • Type: System.Web.Handlers.ScriptHandlerFactory • Name: ScriptHandlerFactory-Integrated-4.0 • Module: ManagedPipelineHandler • Entry Type: Local 2. Check, download, install, update and reboot last windows updates. 3. Compare Handlers and Modules between IIS developer server with MY_SERVER note: IIS developer server works fine when I publish "SitioNuevoVacio2" EXPECT After made those verifications and changes IIS works fine and see index.html "SitioNuevoVacio2"SolvedxjavierbOct 17, 2024Copper Contributor384Views0likes8Commentswindows 11 non-admin user IIS Pool access issue in local machine
By creating a non-admin user in Windows 11 home edition, I allowed him full control over inetsrv %SystemRoot%\System32\inetsrv folder, after logging in with this user and running this command from CMD %SystemRoot%\System32\inetsrv\appcmd list apppool /name:poolname/text:state Results show : Unknown. But "poolname" is a pool running. %SystemRoot%\System32\inetsrv\appcmd start apppool /apppool.name:poolname The result shows : "ERROR ( message:The WAS service is not available - try starting the service first. )". But a "WAS" is running.sthossanOct 16, 2024Copper Contributor206Views0likes1Comment
Resources
Tags
- IIS21 Topics
- http4 Topics
- https3 Topics
- url authorization rules2 Topics
- IIS Windows Server 20222 Topics
- roadmap2 Topics
- url rewrite2 Topics
- exchange2 Topics
- html1 Topic
- IIS Reset Failure1 Topic