Questions tagged [asp.net]
Web application framework developed by Microsoft
1,236
questions
-1
votes
0
answers
17
views
Authentication dialog box showing while accessing web app
I am going through a web api source files which is built using ASP.net, these API's are consumed via js file.
The web config i am having in my inetpub folder of IIS is having following values
<?...
0
votes
1
answer
28
views
asp.net cannot upload more than 25mb or receive 404 - File or directory not found
The upload used to work without issue before, and I cannot find anything that might have changed, except I did do updates on all servers.
I rebooted all servers and tried uploading files, and the 404 ...
0
votes
0
answers
447
views
NGINX server is producing error response code 400 and "Bad Request" message when the server is rapidly requested
The API serves as a proxy for M3U8 videos. While accessed through an HTTP connection at IP:port requests to the API never result in a response code 400. Despite being tested under semi heavy load(10 ...
0
votes
1
answer
25
views
My images are getting the upstream name as path
I have an ASP.NET application running in a docker container that's being server by an NGINX reverse-proxy also in a docker container.
I'm not experienced at all with NGINX or hosting, so please ...
0
votes
0
answers
30
views
ASP.NET application not accessible through Apache proxy on Linux
I need to clarify the process of pointing a web domain to a running ASP.NET application on a raspberry pi. The application is developed and ready, and the website is up and running. I have researched ...
0
votes
0
answers
65
views
Azure AKS Web API 500 error outside of debugger
I am developing a REST API using ASP.NET and .NET 7. Everything works fine on my local machine (in and out of a Docker container), when I publish to Azure App Service again no problem but when I ...
0
votes
0
answers
28
views
Two application installations from APS catalog fails on Plesk for Windows Server: The 'mysql' extension was not found
Please excuse, if this is the wrong place to post this question, I didn't know better.
I'm using Windows Server 2022 and Plesk Obsidian Version 18.0.48. I try to install two applications via Plesk ...
1
vote
1
answer
302
views
How to cause ASP.NET app to recycle when OutOfMemoryException is thrown
I have a ASP.NET app (.NET framework 4.8) that runs in IIS on Server 2019. It happened a few times over that last few weeks that a customer tries to do some operation on the site that requires a large ...
0
votes
0
answers
1k
views
Modify the `Host` header or pass `X-Forwarded-Host` instead when using Nginx as reverse proxy?
I'm trying to use Nginx as a reverse proxy and the upstream server is an ASP.NET Core application where I've registered the ForwardedHeadersMiddleware, which will read three different X-Forwarded-* ...
0
votes
0
answers
326
views
local IIS asp.net mvc web application using windows authentication keep prompting for credentials
I'm using windows 10 enterprise. localhost/mywebapp even not hitting home controller rather stuck on windows authentication prompt and no matter if I enter correct credential or bad credential it keep ...
0
votes
1
answer
371
views
Issues updating .NET Core - what patch am I supposed to use?
For a while now our vulnerability scanner has been detecting out of date .NET components on one of our servers and a management workstation; this is related to some software we recently deployed on it....
0
votes
1
answer
34
views
Better to have one URL with all the memory or multiple copies of same URL sharing it
We have a site example.com and we have a large server 48 GB of RAM. Is it better to have one giant site using all the 48 GB or say eight copies of the same site each with its own App pool own ...
1
vote
0
answers
67
views
"Request timed out" asp.net error in web application after server migration to Azure
My company has migrated all of our on-prem servers to Azure. We are in the process of functional testing our application. So far, we have found no errors save for one. Whenever we click on a button on ...
0
votes
0
answers
455
views
Windows Server 2019 IIS Lockdown
I trying to lockdown a Windows Server 2019 instance that will host an internet-facing website built in .net framework 4x. This organization has no tools and no budget. I have not done this in a few ...
0
votes
0
answers
76
views
Random IIS Failures
I have a 2 node IIS cluster using Microsoft Network Load Balancing under Windows Server 2019 hosting multiple websites/application pools. The cluster ran without problems for a year. However, ...
0
votes
0
answers
47
views
Host ASP.NET site at specific endpoint
In short i would like to host an ASP.NET MVC 5 application at a specific endpoint.
I have an application server AS01, and our domain controller DC01 (DNS server as well).
The ASP.NET site is running ...
-1
votes
1
answer
149
views
Access ASP.NET website deployed on IIS Windows Server from outside network
I have an ASP.NET website deployed on IIS in Windows Server. It works fine in LAN. All PC in the network can access the website using the IP of server and port. Now I want to be able to access the ...
2
votes
0
answers
42
views
Found a bug in the URL rewrite module that we can't fix. Need suggestions for outbound URL rewriting
I'm looking for some high-level options for coding around a bug I discovered in the URL rewrite module for outbound URL's. We're at an impasse with Microsoft because they need a full crash dump, which ...
1
vote
0
answers
760
views
Is one of Anonymous or Windows Authentication really required for IIS when hosting an ASP.NET CORE application
I have an ASP.NET CORE application hosted in IIS. The application uses OAUTH/OIDC for authenticating API requests. I have observed that if neither Anonymous nor Windows Authentication is activated ...
0
votes
1
answer
338
views
How to show a default page on a protected website running on IIS
I can't figure out the correct syntax in my web.config to allow the general public to see the index.aspx as a default page and for any other page to go thru the login page.
If I use www.mywebsite.com/...
1
vote
0
answers
185
views
AWS Application Load Balancer bringing ASP.NET application down
I have an AWS Application Load Balancer configured with EC2 and an auto-scaling group. The EC2 instances run a Windows+IIS web server. The Web Server connects to a database.
It has happened in some ...
1
vote
1
answer
189
views
How many SSL certificates you need - aspnet core + Apache reverse proxy?
When you deploy aspnet core app on Linux you normally do it through reverse-proxy. I.e. Kestrel hosts the app and Apache handles the public internet traffic talking to Kestrel.
So Kestrel and Apache ...
0
votes
0
answers
313
views
Which application path to use for Windows IIS in Advanced Firewall Rules?
I'd like to unblock my IIS ASP.NET 4.5 webservice for public access.
In Windows 10 Advanced Firewall Rules I added an inbound rule to accept all incoming requests for my webservice's port (e.g. 8001). ...
0
votes
1
answer
85
views
Apache SSL Installation [Not Duplicate]
I am trying to install ssl certificate on my ubuntu server 20.04
I have downloaded ssl files and put them in /home/ubuntu (will change once it works):
api_limitlesssoft_com_key.txt
api.limitlesssoft....
1
vote
0
answers
231
views
Asp.net core To elastic beanstalk error 404 after deployment
I have an asp.net core web api that run an 404 after it get's deployed to elastic beanstalk. Any version from 1.0 to 5.0 all show the same error 404.
The api works just fine on localhost but once it ...
1
vote
1
answer
471
views
ASP.net IIS requests not timing out after executionTimeout Value
We have set system.web/httpRuntime executionTimeout = 60s for our .net 4.8 application hosted on server 2019 IIS 10. From time to time we see varied requests exceeding this timeout by a large margin, ...
0
votes
1
answer
170
views
Mail Enable email headers when sending emails via ASP.NET
I have multiple websites running on my server: domain1.com and domain2.com
The problem is now that when I sent an email via ASP.NET from domain2.com, that in this email source I see (notice domain1):
...
0
votes
0
answers
144
views
Will IIS web gardens providing high availability?
I have an ASP.NET application (.NET FW 4.5) that occasionally crashes and has a long startup time due to an in-process cache. I am considering using an IIS walled garden (multiple worker processes) so ...
0
votes
1
answer
469
views
Installing ASP.net on Ubuntu 20.04
I'm trying to add ASP.net onto my Ununtu 20.04 server. As per:
https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu
They tell you to:
wget https://packages.microsoft.com/config/ubuntu/20....
1
vote
0
answers
97
views
How to set permissions on virtual network directory when application pool uses LOCALSYSTEM?
I have a Windows 10 web server development machine (let's call it: "DEVELOPMENTMACHINE") where the application pool uses LOCALSYSTEM. Without using LOCALSYSTEM, the Windows text-to-speech ...
0
votes
2
answers
2k
views
IIS7.5: HTTPS->HTTP 302 redirect
I have an asp.net website running on IIS7 configured long ago. There appears to be a 302 redirection in place redirecting all requests over HTTPS to HTTP instead. I would like to remove this redirect ...
0
votes
1
answer
390
views
authenticate ASP.Net App on Azure WS2019 against Azure SQL via AAD - Access token could not be acquired No mapping between account names and securi
I try to reconfigure our ASP.Net app with .Net Framework 4.7.2 from SQL username/password Auth. to token based Azure Active Directory Authentication by using the system assigned managed identity of ...
0
votes
0
answers
41
views
add an asp .net core application to a ruby on rails site hosted on a linux server
I am new to web hosting, and please forgive my ignorance.
my company has a website, and the site is an Ruby on Rails application with Passenger hosted on a linux server.
I would like to know if it is ...
0
votes
1
answer
1k
views
asp.net Secure Cookies behind load balancer
This is a hybrid MVC/webforms asp.net application using framework 4.8, forms authentication and Membership. I need to implement secure cookies. The web site is behind a Coyote load balancer which I ...
1
vote
1
answer
612
views
How to remove an ASPNET Runtime?
I have an ASPNET Core Runtime that needs removed, but the means I've discovered doesn't seem to be working right. This is Version 2.1.17, which is old and needs gone. It is on a Windows 10 domain-...
1
vote
1
answer
4k
views
HTTP Error 500.19 - Internal Server Error for ASP.NET Core 3.1.0 MVC application deploye on IIS version 10
Here are the details about our development environment:
DevExpress 20.2.3 (we are using DevExtreme)
Microsoft Visual Studio Enterprise 2019 (Version 16.4.6)
ASP.NET Core 3.1.0
AspNetCore.Mvc 3.1.0.0
...
1
vote
0
answers
59
views
ASP.NET Core 2.0 Application Restart - Memory Usage
I have an ASP.NET Core 2.0 (NopCommerce 4.0) application on IIS v.1607
When my process arrives at (approximately) 1300MB of memory, the web site stops responding, and after some minutes the ...
0
votes
0
answers
398
views
How to solve ID1059 Cannot authenticate the user error?
I am not really experienced regarding a server/IIS issue. So I will try my best to explain the problem.
I have two same web applications on two different servers (Test and Live Server). Both servers ...
0
votes
1
answer
185
views
Add custom steps in Azure Deployment Slots during swap
I'm analysing the Azure Deployment Slots functionality of Azure App Service to adopt zero downtime deployment strategy and i'm curious if it's possible to define some custom steps to be performed ...
2
votes
1
answer
256
views
Browser Downloading ASP App Instead of Displaying
Windows Server 2012 R2 / IIS 8.5
In IIS > Sites > Default Website I have an (ASP) application, when I visit the localhost URL a file is downloaded instead of the page being displayed.
The files ...
1
vote
2
answers
2k
views
Downgrade ASP.NET Core Hosting Bundle 5 to 3.1 or install them side by side?
Windows 2019 Server with IIS and ASP.NET Core Hosting Bundle 5.0.1 installed. I need to run Asp.Net Core 3.1 site on the machine. Should I just install ASP.NET Core Hosting Bundle 3.1 side by side ...
0
votes
1
answer
218
views
Protect static file on Asp Net Classic Mode with Forms Authentication
i'm struggling to resolve this issue since yesterday.
I have a site (framework 4.0), hosted in a Windows Server with IIS 7.5 in Classic Mode.
Unfortunately i can't changed this to Integrated Mode.
I ...
0
votes
1
answer
891
views
Cannot read configuration file \\?\D:\home\site\.well-known\web.config
I have a strange situation where a single ASP.NET Core Web App I am running on Azure is having issues serving files from a particular directory.
Specifically I am trying to serve a file from the path ...
0
votes
1
answer
1k
views
new .NET version not showing up in Server Manager
I've installed .NET 4.7.2 on an EC2 running Windows Server 2016 but when I go to Server Manager > Add Roles and Features, I can't see that version anywhere in the Roles or Features lists for Web ...
1
vote
1
answer
130
views
Adding ADFS to existing AD Application
We have an existing .NET application that uses Active Directory to authenticate users and search for user/OU data using DirectorySearcher object. Our customer has several AD servers and would like our ...
0
votes
1
answer
552
views
Asp.net core Blazor app with google authentication getting lots of websocket errors
We have a simple asp.net core 3.1 Blazor server-side app which we are trying to run on google app engine but are getting lots of websocket errors during initial connection:
WebSocket connection to '...
1
vote
0
answers
56
views
Windows authentication across multiple hostnames without multiple credential prompts - is it possible?
I have a web application that utilizes multiple hostnames (see below for an explanation of why it's set up like this - I don't want that to distract from the more general question here).
Basically, ...
0
votes
0
answers
955
views
ClickOnce downloading error
I am using One-siemens software which has option to create ClickOnce application,
I have created the web app but I am facing an issue while downloading the application from the network (other IP range/...
1
vote
0
answers
436
views
Azure Web App suddenly stops communicating with external SQL Server
I have an issue with my Azure Web App that it once in a while stops communicating with our external SQL Server. Everything was working fine until a few hours ago. It's a simple setup with an asp.net ...
0
votes
1
answer
355
views
Constant bot probing on my website
Looking at my IIS logs from Godaddy, I can get hundreds of 404 errors a day, where either some script kiddies or bots are constantly looking for vulnerabilities or pages/directories to exploit. ...