Questions tagged [asp.net]

Web application framework developed by Microsoft

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

LocalDB required for one IIS server, but not another, why?

I recently had the server team at the company I work for create two IIS servers for me, let's call them A and B. Server B has an issue that prevents any websites from running without a connection ...
0
votes
0answers
66 views

unwanted redirect to other domain in IIS

I have two Domain : XXXX.com XXXX.org I added XXXX.com to the IIS and work correctly but when I add XXXX.org to the IIS every request redirect from XXXX.org to XXXX.com. I use two approaches: First:...
0
votes
1answer
59 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)...
2
votes
2answers
140 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
32 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
0answers
32 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
29 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
78 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
98 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
46 views

IIS server not handling requests concurrently

I am working on a web application written in ASP.Net, but which includes javascript web service calls (to the same site) to populate some pages dynamically. It is hosted on IIS 8.5 on a Windows 2012 ...
0
votes
0answers
35 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
81 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 ...
0
votes
0answers
72 views

When spawning multiple worker processes in IIS, is there a way to terminate all but one when load decreases?

In ASP.NET Web Api 2, I have a Singleton class that keeps a process alive for controller threads to process data. When I increase the number of worker processes for an application pool, and bombard ...
1
vote
1answer
70 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
47 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 ...
2
votes
1answer
2k 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
114 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
0answers
16 views

Application Pool Goes Down Very Often and Needs Recycling

I have a C# ASP.NET MVC application (MVC V.4 & .NET Framework 4.5) running on a Windows Server 2008 R2 S.P.1 Datacenter as an application pool and in the last month has started going down every 3 ...
0
votes
1answer
428 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 ...
0
votes
0answers
28 views

IIS sending HSTS in the preflight request

I have an ASPNET Core API application running under IIS version 8.5. The application used HSTS and thats when the problems started. All the preflight requests are returning with status 307 which ...
1
vote
0answers
44 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 ...
0
votes
0answers
131 views

How to enable ASP.NET preload/Application Initialization in a Windows Docker container?

I am creating a Docker container based on this image and running a .NET Framework ASP.NET application in it: microsoft/aspnet:4.6.2-windowsservercore-ltsc2016 I want to enable IIS Application ...
0
votes
0answers
15 views

Control source IP used by ASP.Net application pool or site when connecting to remote services

Using Windows Server 2016 with multiple IP addresses configured on the same NIC. I have an ASP.Net web application that connects (using built-in .Net classes) to an external web service. I would ...
0
votes
0answers
71 views

Why request is timed out on IIS after about 20-50 requests made by a user with speed of 1-2 requests per second?

I've got an ASP.NET Core 2.2 web api application served by IIS 10 on my local machine. When I make about 20-60 requests either via front-end app or via stress testing software, time to response starts ...
0
votes
0answers
70 views

Handler_changed in asp.net causing poor performance

Below is a screen capture from a failed request trace on IIS running a asp.net webforms site. Notice the time delta between the Handler_Changed line and the following line (Virtual_Module_Unresolved). ...
1
vote
0answers
15 views

Possible reasons Distribution of durations is tri-modal

Below is the distribution graph of durations from a single page of an asp.net webforms application. As you can see there is a cluster of response times in the 250ms range, there is a cluster in the ...
1
vote
1answer
78 views

.NET and .NET core on same IIS server

We have an IIS running with a few .NET 4.6.1 apps on it, would it cause any trouble to throw the .NET Core server hosting bundle and a .NET Core app at it?
0
votes
0answers
73 views

ASP.NET Core Windows Authenticaion on Linux

I run ASP.NET Core web application in a Linux container. I need to provide Windows authentication for my application. How can this be implemented?
0
votes
1answer
1k views

IIS Application Pool taking too much memory

We have IIS running on two servers (IIS8 and 10), and encounter very high memory usage of our ASP.NET WebForms Applications lately, mostly accessed through aspx pages. What happens is that over time, ...
0
votes
1answer
24 views

How to find all IIS applications/websites that not used anymore?

In our server, there are a lot of ASP.NET/IIS applications/websites created a long time ago. Now we need to find a way to mark all these applications/websites that are not used anymore(no hits for 1 ...
0
votes
1answer
605 views

Host 'XXX.XXX.XXX.XXX' is not allowed to connect to this MySQL server

I am getting a MySql.Data.MySqlClient.MySqlException (0x80004005) with message Host 'XXX.XXX.XXX.XXX' is not allowed to connect to this MySQL server, where IP == Google.cloud IP. I do not know if ...
1
vote
0answers
18 views

In a web.config file how can I append to PATH

I have a 3rd party dll that needs to be loaded by my Web app. It requires a bunch of other files that are in its directory and I don't want to try to copy them all over to the Web app. If I set the ...
0
votes
1answer
43 views

How to block attempts for phpMyAdmin? [closed]

I converted my website from asp.net to .net core and host on same server. Now, website gets hundred of hits daily from different IP's trying to access like below /php-myadmin/ /wp-content/ /mysql/ ...
0
votes
0answers
36 views

Allowing CreateProcessWithLogonW calls from ASP.NET process running under IIS AppPool Identity

I asked this over at StackOverflow already and received no answer, so I wondered if maybe the ServerFault crowd might know a bit more. What I'm basically asking is: Is there a way to configure a ...
2
votes
1answer
40 views

Hosting one application with multiple vanity routes

Problem We currently have two ASP.NET MVC projects being served up from a Windows Server 2012 R2 with IIS 8.5 like so: foo hosted on server.com/foo bar hosted on server.com/bar However, the code of ...
0
votes
0answers
67 views

IIS 8.5 FTP using IIS Users

Can someone please provide me with an up-to-date step-by-step guide on how to add ftp publishing securely using SSL to a website in IIS 8.5 web server using IIS Users. I then want to connect to the ...
0
votes
0answers
114 views

ASP.Net website on GoDaddy not connecting to the correct database

I have been assigned to transfer an ASP.NET website to a new host (GoDaddy). For some reason, the web application is not trying to connect to the new database specified in my connection string, and ...
1
vote
1answer
180 views

WAF and CDN issue with IIS

I am using GoDaddy's Website Application Firewall (WAF) and Content Delivery Network (CDN) which is similar to sucuri with an IIS hosted website. However, I have run into some trouble ever since the ...
0
votes
1answer
136 views

Give IIS 8 Permission to Write to a Network Folder

Created an API using ASP.Net MVC on the .Net Framework. It runs on Windows Server 2012R2. I built a POST Action that uploads an image locally to the server, compresses and renames it. This part works ...
1
vote
1answer
91 views

X-XSS-Protection header not set for the HTML document even that it is enabled in config file

I enabled the X-XSS-Protection header in the web.config file: <httpprotocol> <customheaders> <remove name="X-Powered-By" /> <add name="X-XSS-Protection" ...
1
vote
1answer
3k views

Schannel 36874 errors on Windows Server 2016

I have been looking at this error all day and am really scratching my head now. We have a Windows Server 2016 Std that runs a .NET webservice. This in turn connects to our database server, same OS, ...
0
votes
0answers
331 views

IIS upload large file ever http response 502

I can't upload a large file (1,16 go) on my net.core API throught IIS. I set this values on my web.config <httpRuntime executionTimeout="100000" maxRequestLength="2000000" /> <security> ...
0
votes
0answers
2k views

An attempt was made to access a socket in a way forbidden by its access permissions:127.0.0.1:44300

Have developed an E-commerce app taking running it in production but facing few glitch of starting Checkout. The Application sits on my local machine using IIS server and it's deployed and published ...
2
votes
0answers
236 views

PrivateBytesLimit in web.config doesn't change cache EffectivePrivateBytesLimit

Our web-server has a worker process (w3wp.exe) that uses too much memory. Following this answer I tried to limit how much memory the process can use for caching in the web.config: <system.web> ...
1
vote
1answer
109 views

Set ASPNETCORE_ENVIRONMENT in Google Cloud Flex App

I have an error in my asp.net core 2.1 app and would like to set the ASPNETCORE_ENVIRONMENT setting to Development so that I can better debug. There are samples for the appsettings.json file, but the ...
1
vote
1answer
9k views

How can I debug Windows server 2016 IIS “ERROR 404 - File or directory not found”

I can't get my ASP .NET web app running on my new AWS EC2 VM Windows Server 2016. Web app has been running on Azure VM Windows Server 2012 R2 for years. THE PROBLEM: I get: "ERROR 404 - File or ...
0
votes
2answers
358 views

Application isolation issue on IIS 10 (Windows 2016 Server)

I'm setting up a new machine for hosting multiple asp.net applications. My goal is to isolate the apps as strongly as possible. In case one of the apps is hacked, all other apps should be safe. I ...
1
vote
1answer
121 views

Browse from Internet to asp.net web app on Windows server IIS on new AWS EC2 VM gets WINDOWS 2016 SERVER “error 403 Access is denied”

THE PROBLEM: When I browse from external Internet or on the server itself my ASP.NET web app hosted on Windows Server 2016 IIS on my new AWS EC2 VM, I get "error 403 Access is denied". ATTEMPTS TO ...

1
2 3 4 5
25