Questions tagged [asp.net]

Web application framework developed by Microsoft

Filter by
Sorted by
Tagged with
0
votes
1answer
24 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
0answers
19 views

502 bad gateway/ nginx / aspnet core

I had a coworker that made a homegrown application that interfaces with nginx. The application querys our SQL server and then displays information on a webpage via nginx. He used the following article ...
0
votes
1answer
20 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 ...
-2
votes
0answers
22 views

Can I use IIS 10 on Windows Server 2012 R2 to serve pages in HTTP/2 [duplicate]

My server is windows server 2012 R2 Currently running asp.net 4.8 web site with IIS 8.5 I want to be able to serve HTTP2 Can I just install IIS 10 express and start serving my websites? Anyone have ...
0
votes
0answers
21 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
0answers
11 views

Duplicate Temporary ASP.NET folder?

I noticed on my Windows Server 2016 two locations containing the root folder where .NET appears to store some temporary files. One located under C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ...
0
votes
0answers
19 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 ...
0
votes
0answers
15 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
1answer
543 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
0answers
23 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
0answers
29 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
1answer
21 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
0answers
19 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 ...
0
votes
0answers
24 views

IIS10 ASP.NET service.svc 406 not acceptable

i have a service .svc hosted on a machine whit windows server 2019 on IIS 10, im tryng to send a POST request whit postman sending a json whit the following headers: Postman-Token: calculated when ...
1
vote
2answers
778 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
0answers
65 views

How to set up rewrite rule in Azure Web App - Linux

I have an Azure Web App running on linux and i want to set up a rewrite rule for my application. When users visit example.com, i will redirect them to www.example.com. In windows, it is easier to use ...
0
votes
0answers
26 views

Azure App service - disable showing exceptions/.net versions in HTTP response

I have my .NET app running on Azure app service. When some requests fail, it returns the html page with exception and .net version at the bottom of the page: image I know that I can add tag <...
0
votes
1answer
32 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
0answers
18 views

How to prevent browser from prompting for a client certificate without disabling client certificates (IIS)

I have a .NET Framework Web API deployed to IIS which supports client certificate and token based authentication. When my user logs into the GUI and calls the API with a valid token (via javascript) ...
0
votes
0answers
46 views

Excessive dynamic application compilation

A while ago I enabled health monitoring in IIS and logged Application Lifetime Events to be able to see app-pool recycles and issues regarding that. All worked fine, every night we had our scheduled ...
0
votes
0answers
10 views

IIS: Browser asks for password after every restart but only for one domain / binding

We've setup an ASP.net application. The following Authentication Providers are enabled: Windows Authentication (Negotiate, NTLM) ASP.NET Impersonation We have two Bindings to the same Application: (...
0
votes
0answers
230 views

See IIS stdout/stderr logs

I am running a C/C++ library inside ASP.NET on Windows Server 2012 R2. The problem is that I cannot see the stdout/stderr logs of this library. If I run the console application, I can easily see the ...
0
votes
1answer
60 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
1answer
272 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
1answer
117 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
0answers
311 views

How do I run a single file ASP.NET Core app on the server?

I have produced and been trying to run a single file app (<PublishSingleFile>true</PublishSingleFile>) on linux and haven't been successful. When I am publishing the app, I have a setting ...
0
votes
1answer
275 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 '...
0
votes
0answers
26 views

Use WordPress and ASP.NET Framework together inside a Windows Server

So far my plan as below; Buy Windows Server Install WordPress as usual Create a new folder inside the file manager Deploy the ASP.Net inside this new folder On the WordPress homepage, create a button ...
1
vote
0answers
22 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
0answers
282 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
0answers
90 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
1answer
41 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
1answer
405 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
1answer
18 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
0answers
26 views

Restart application on FTP Deployment

There's a linux server with some .net core apps running on it using kestrel. I use FTP publish profile from visual studio to push updates to apps. Sometimes, files are locked as the app is currently ...
0
votes
1answer
69 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)...
3
votes
2answers
820 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
0answers
33 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
1answer
2k 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
0answers
500 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
3answers
83 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
1answer
126 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
0answers
182 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
2answers
370 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 ...
1
vote
1answer
168 views

website error on new server

I have this code running on 8 servers. Now I'm standing up the next 4. I've reproduced this issue on all 4 servers. At first, I get: System.InvalidOperationException: The view 'Index' or ...
0
votes
0answers
50 views

Nginx - Not seeing expected values for Host and X-Forwarded-For

Running on a Windows 10 development machine and following the example here: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-3.0#configure-nginx I have the ...
7
votes
4answers
11k views

Remove/Modify IIS 10 Server Header which discloses IIS version

I'm trying to remove the Server Header which discloses IIS version but couldn't. I'm using IIS Express 10 with ASP.NET Core 3.0 and have developed a Web API. I've tried below options but still header ...
1
vote
0answers
350 views

IIS giving 503s with “A system shutdown is in progress. (0x8007045b)” after enabling Suspend on Application Pool

I have several ASP.NET Core websites on a Windows Server 2016 VM running in IIS/Kestrel (reverse proxy configuration). Some of these websites have some inactivity time during the day. Because of ...
0
votes
1answer
891 views

Published ASP.NET app sending me to “App is up and running, time to take next step to deploy”

I have a student account through azure. I have hosted several assignments onto azure by publishing them through Visual Studio. I have a plan on azure with the $100 free credit and still have plenty of ...
1
vote
0answers
65 views

Strange behavior of the ASP.NET Applications Request/Sec performance counter

I have an application that is using GZIP compression, which is implemented in a third-party library. This library has a significant impact on processor utilization. When I disabled this library and ...

1
2 3 4 5
25