Questions tagged [asp.net]
Web application framework developed by Microsoft
1,228
questions
0
votes
0
answers
18
views
Connecting to a local mySQL server using ASP.Net api
I'm trying to connect to a mySQL DataBase running locally through XAMPP using an ASP.net API.
In appsettings.json in my API project I have set the connection string to:
"PACDB": "server=...
1
vote
0
answers
24
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
0
answers
13
views
Why is ECS triggering an immediate in-process application recycle?
I have an ASP.NET web app (.NET Framework 4.7.2.) deployed to AWS/ECS and we noticed Application_Start was running not once, not twice, but three times! Maybe others are facing this problem.
We ...
0
votes
0
answers
83
views
Sudden random HTTP/2 403 Forbidden on IIS
All of a sudden I am getting random "403 forbidden" errors on a website running under IIS. I have been struggling the last few hours to nail down the issue and I can't find it. It appears ...
0
votes
0
answers
11
views
asp.net web api jwt token expiry on plesk server
I'm having an issue with my asp.net web api where the jwt token expires with no valid reason after few api requests.
this issue only occurs on production environment, it doesn't happen in my dev env ...
0
votes
0
answers
12
views
IIS: Make multiple applications available from same IIS
I am using a VM as a staging server. I have hosted my Sitecor applications there. They are basically 2 websites, abc.local and xyz.local. I wanted my testing team to access abc.local for testing ...
0
votes
1
answer
34
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
58
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 ...
0
votes
0
answers
39
views
Configure local services to run within the same domain with Nginx
There are 2 different web servers that are deployed under the same domain (example.com and api.example.com)
I want to use httpOnly cookie shared across these 2 sites.
There is such local configuration:...
1
vote
1
answer
66
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
106
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
55
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
93
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
0
answers
156
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
78
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
40
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
314
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....
0
votes
0
answers
120
views
How to give an application pool access to a virtual directory that points to a web app directory on another machine?
I have two instances of basically the same web app on two different machines. I want to have these apps be able to do both read and write access to the other via a virtual directory. Both apps use ...
1
vote
0
answers
31
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
758
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
173
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
28
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
362
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
175
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-...
0
votes
1
answer
3k
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
36
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
190
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
108
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 ...
1
vote
0
answers
127
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
1k
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
120
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
316
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
852
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
121
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
471
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
43
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
668
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
297
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
143
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. ...
1
vote
1
answer
901
views
Access to the path '\\Core-01\Media\Temp' is denied - aspnet user needed
Windows 2016 | IIS10 | IIS Server Farm
For starters.
I just now moved all sites from the backup server to the Web Forest.
And the one site I am having the titled issue with luckily is not a part of ...
0
votes
1
answer
35
views
Configure 2 sites in the IIS of windows Server 2016
It is really urgent that I have to configure a staging site of my web application in Windows Server 2016.
I have ASP.net site which is running smoothly in my win server 2016, and I have configured A ...
0
votes
1
answer
71
views
IIS site worked before adding an IIS role, now after removing role site no longer works
I have an ASP net application running through IIS which was working fine - I could call the API using Postman and get 200 response codes. After I added a role through Server Manager (URL Authorization)...
4
votes
2
answers
2k
views
IIS Application Initialization isn't running even though all settings are configured
The end goal is to make it so that whenever my app pool is recycled (which should happen whenever I release an update for the site), my site gets visited once to "warm up". Typically the first visit ...
1
vote
0
answers
36
views
Running Windows Containers on Windows Server 2019 but Developing on Windows 10
I have docker running on a server machine running Windows Server 2019 - 1809, to which I want to deploy an ASP .NET Core 3.1 Web API within a Windows container.
I am developing this web API on my dev ...
0
votes
1
answer
5k
views
IIS Number of threads worker process for ASP.NET application
TL;DR; Give the worker process more threads!
Background
We have an ASP.NET application that expose a Web API where one of the "endpoints/methods" makes a set of queries to external system (SQL, AD ...
0
votes
0
answers
909
views
IIS published website is not accessible with public ip and port
I have IIS published web application that I can connect with my local ip and port. Like 192.168.1.99:81
After adding inbounding rules, router DMZ and port forwarding, closing both windows and router ...
0
votes
3
answers
99
views
Should an admin enforce HTTPS inside kubernetes network, or just for outside traffic (via ingress)?
In a microservices scenario, each web-api container should serve itself through HTTPS or is it ok to internally work through HTTP and have all ingresses configured with certificates and redirecting to ...
1
vote
1
answer
158
views
Docker Swarm and Netfilter
I have deployed a Docker Swarm server on my VPS, to handle an Asp.Net Core application. I want to serve this app through a Nginx web server.
Let's suppose my web app is a vanilla app I created ...
0
votes
0
answers
330
views
Handle MemoryCache with worker process Shut Down
I have created an API using .Net core 2.0, and I am using IMemoryCache to cache some data that takes too much time to be retrieved from database. Each Monday, new Data should be retrieved from the ...
0
votes
2
answers
613
views
How can I run an app that works on IIS 10 in IIS 7 or IIS 8.5?
I tested the default MVC template that visual 2017 provides, and tested it on IIS 10,in my local machine, and works great.
When I test it on Windows server 2012 R2 (IIS 8.5) or in Windows server 2008 ...