Not loading multiple tabs of the same website - asp.net

Scenario:
IIS Version 10.0.14393.0 installed.
Net framework 4.6.1 installed.
Windows 10
We are having an issue when opening multiple tabs of the same website hosted in our server.
If we open 3+ tabs at the same time, the site wont load. The exact same package is installed on another server and working properly.
We have cross checked the application pool(4.0 integrated) with the working one, and the site configuration too and they are the same.
We even changed the connection string of the website to connect to the db of the site working and it also fails.
This happens when connecting from another machine, and also when opening the website on the server itself.
Any help?

Related

Local Host redirected you too many times Issue with IIS

I am working on bringing a working web application onto a new computer running Visual Studio 2022 version 17.4.2 and .NET Framework 4.7.2. When running on local IIS (version 10.0) host there is a "local host redirected you too many times" issue. It suggests clearing cookies which has been done with no effect.
The same code works on other machines with no issues. Is there anything in IIS set up/configuration or that may be missing from Visual Studio or other installations? Thanks in advance.
So far we have tried debugging the code and including breakpoints for where the issue may be occurring, ensuring that the installations of windows feature and IIS management is the same as another where the program is working. Also created a .txt file that can be reached on local host and is in same location as the rest of the project.
Here are a few things you can try:
Try on another machine.
Try to remove as much rules as possible from web.config and keys and so on. Or if it's a single page you're having the error with try to remove as much code from it especially if there are redirect codes. And add breakpoints and debug.
Check the LOCAL application pool version if it's set same as the online .net framework version.

IIS 10 not serving resources in parallel

I have moved an existing ASP.NET Core Web application to a new server. On the old server we had Windows Server 2012 R2 and IIS 8.5 installed. The new server is running Windows Server 2019 and IIS 10.
We encountered a bad loading perfomance with slow network connection for the site when hosted on the new server. Browser development tools revealed that on the old server resources are loaded in parallel, resulting in images and videos already available while some other content is still loading.
On the new server, only one resource is loaded at a time and the other requests are in waiting mode.
Old server loading behaviour:
New server loading behaviour:
I checked all configuration values I'm aware of in IIS but could not find any difference. Neither in server settings nor page settings nor application pool settings. There are everywhere the same default values, we haven't changed anything other then the application pool identity.
The application itself has not changed. But it has been updated from .NET5 to .NET6. I don't expect that this makes any difference for content servering by IIS, though.
As always, any help or hint is appreciated!

ERR_HTTP2_PROTOCOL_ERROR when load page.aspx running on IIS 10

I have a .net framework application running on IIS version 10.0.17763.1 hosted on an Azure Virtual Machine and sometimes my users are getting ERR_HTTP2_PROTOCOL_ERROR
This site can’t be reachedThe webpage at https://..../page.aspx might be temporarily down or it may have moved permanently to a new web address.
ERR_HTTP2_PROTOCOL_ERROR
I have no idea how to debug and it's an intermittent issue
Below are two screenshots from the developer tools network tab
The only thing that is failing to load is the page.aspx, all the JS and CSS are loading properly.

Getting the error: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. Working in dev site. Not working in PROD site

I have an ASP.NET web application hosted in a standalone server.
- Windows server 2012 R2 x64
Installed the package from this below url:
https://www.microsoft.com/en-in/download/details.aspx?id=13255
We are getting error while trying to reading from an uploaded excel file in PROD site hosted as subdomain.
https://admin.domainname.com/readexcel.aspx
The 'Microsoft.Jet.OLEDB.12.0' provider is not registered on the local machine.
But it is working in DEV site setup as subdomain.
https://admindev.domainname.com/readexcel.aspx
When trying to include admin section in the domainname.com site. The functionality works.
https://www.domainname.com/Admin/readexcel.aspx
MS Office is not installed in the machine.
Please help.
I had exactly the same error when I wanted to run an Access application without having it installed. I fixed it by installing this components:
https://www.microsoft.com/de-de/download/details.aspx?id=13255
If you need both versions (32 & 64bit) then install one version in a regualar way and the 2nd one by using the command line with the quite parameter (otherwise it will complain):
.\AccessDatabaseEngine_X64.exe /quiet
Hope this helps!

Webapplication unable to run in IIS 7

We have a webapplication, made in ASP.NET 2.
This app runs without problems in IIS 6. When we upload it to an IIS 7 (Windows Server 2008 R2 Datacenter) it runs in IIS, but when we open the site in a browser we get this error:
Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
I would make sure that everything is set correctly in the ASP.NET tab, and also check under the Home Directory tab to make sure that the application has sufficient read/write and execute permissions.
The problem was that I nedded to add a feature to the server. After I added .NET Framework 3.5.1 Features it worked.

Resources