Questions tagged [asp.net]
Web application framework developed by Microsoft
1,240
questions
0
votes
0
answers
90
views
Service account access to SharePoint online
I've got a ASP.NET web site, which runs in a custom app pool using an AD service account. The web site which is only available on the internal network is supplied by a third party vendor, as such we ...
-1
votes
1
answer
16k
views
Event code 3005 ID 1309 - IIS
I have problems with my application after last Windows Updates and ASP.NET 4.0.303.
My application has crashed after some minutes, looking in Windows Event Viewer, I found this error log, is the same ...
1
vote
0
answers
326
views
Asp.Net application pool crash
We have our application hosted on Windows Server 2012 and IIS 7.5 but the application crashed when it's application pool went above 4.5 GB with just few users. This is the error stack in Windows Event ...
1
vote
1
answer
351
views
How do I get my IIS web app to authenticate intranet users using a FQDN?
I am maintaining a web application that runs using Windows authentication on IIS and serves a campus intranet. A domain administrator has issued me an SSL certificate for machinename.example.edu. ...
0
votes
1
answer
4k
views
IIS starts serving 404's (works for a while!)
This is a funny one that's just started happening. Changes I've recently made:
Updated website (not major update, small code changes/bug fixes)
Added URL re-write rules to 301 forum to different ...
1
vote
0
answers
5k
views
The requested page cannot be accessed because the related configuration data for the page is invalid
I want to test my ASP.Net Core 2.0 Hello World Api on localhost.
I Created the project using VS2017 File->New Projecct-> .Net Core -> ASP.NET Core Web Application -> Empty
It ran fine in the ...
0
votes
0
answers
213
views
IIS rewrite default rule for matching all documents
I am trying to setup rewrite rules. I am using web.config.
I have many multiple files - .aspx and html files under same folder.
And I add one rule that rewrites abc.html to abc.aspx and this ...
1
vote
0
answers
841
views
Microsoft Monitoring Agent APM service is inaccessible. Please check that it is not in a disabled state
We encountered an issue where the agent (referred to as the Microsoft Monitoring Agent) in the IIS server - however,the IIS Application Pools began to cause high CPU usage the application server ...
0
votes
1
answer
363
views
Difference between ASP.Net Applications and ASP.Net Apps vSomething Performance Counter Sets
On Microsoft Windows Server 2016 (and probably earlier versions) I see several Performance Monitor Counter sets/categories that have similar names and similar counters:
\ASP.NET Applications(*)\*
\...
0
votes
0
answers
74
views
Why does ASP.Net work without ManagedEngine being enabled?
In various places (https://www.microsoftpressstore.com/articles/article.aspx?p=2231761&seqNum=2, https://docs.microsoft.com/en-us/iis/get-started/introduction-to-iis/iis-modules-overview#module-...
1
vote
1
answer
4k
views
Nignx Reverse Proxy not loading css and js files.
Hi I am running dotnet core on CentOS 7 with nginx reverse proxy. Following are my configurations.
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
...
0
votes
2
answers
532
views
Microsoft VBScript compilation error '800a0408'. IIS ASP Javascript serving error
I have a server with IIS 6.1 In a Windows Server 2008 which is serving an ASP web site, the page is running OK, and the javascript is being served correctly as you can see here.
But in another ...
1
vote
1
answer
7k
views
IIS ARR ReverseProxy with Client Certificate Authentication for backend IIS
We have legacy SOAP Web Services (https://dev-ms01/Services/default.asmx) which are written in asp.net 1.1 hosted on IIS7(win server 2008 standard),web services consumed by clients by providing Client ...
4
votes
0
answers
7k
views
Why is IIS 10 serving content using HTTP 1.1 instead of HTTP 2? [duplicate]
I have a base install of IIS 10 on Windows Server 2016 which I have setup my basic web application on.
The application website uses HTTPS.
For some reason, when browsing from Chrome 63, the content ...
0
votes
0
answers
1k
views
Unable to run .cshtml pages on Windows 2008 IIS7
I have created an ASP.Net C# website using Visual Studio with Razor v2. I published it to my live server, but the pages do not process the code. The pages are .cshtml pages.
The server is a Windows ...
0
votes
2
answers
64
views
Active Directory asp.net config
I've been tasked with moving an asp.net web app from an old 2003 server as part of an organisation's complete move to new servers. The app uses Active Directory authenication, of which I have little ...
0
votes
0
answers
548
views
Windows Service Alternatives For Automatic Application Startup
I've written an ASP.Net MVC / SignalR web application written in C# which I'm hosting on an Azure virtual machine. It's also got a SQL-Server instance on it and three Windows Services. Despite the ...
0
votes
0
answers
2k
views
Sudden High Cpu on Windows Server 2012 R2
We have simple ASP.NET web application(ASP.NET 2.0) on production with 2 web server and each web server has 64GB RAM and 32 cores. The production site sometimes suddenly spike the CPU to 90-100% on ...
1
vote
0
answers
461
views
Windows web config redirect, different folder name and domain
I have 2 websites and a few thousands links with the same pattern that need to be redirected. I want to achieve this by writing the code one time and for it to work for all of the URLs.
This is the ...
1
vote
1
answer
1k
views
How to configure delegation in an ASP.Net Core 2.0 app on windows with users authenticated via Azure AD
The Setup:
I have a web app written in ASP.NET Core 2.0 that authenticates against Azure AD using OpenID Connect. It is running on a machine that is part of an Azure AD domain. The app does have an ...
2
votes
0
answers
1k
views
Application Gateway’s ARRAffinity cookie domain does not match with site’s domain
I have configured an Application Gateway with the cookie-based affinity following this.
The backend pool is configured as abc.azurewebsites.net.
I have created a CNAME test.example.com to point to ...
1
vote
2
answers
3k
views
How do you stop users directly accessing files on a website in IIS
I want to stop users on the internet being able to enter this URL into a browser and access these files directly. How can I do this?
for example:
mysite/uploadedfiles/file1.txt
is there any iis ...
4
votes
0
answers
331
views
How to enable two consecutive periods in URL without introducing a security vulnerability
I have a site running on IIS 7.5 which hosts some user-generated content. Recently, I came across a file with two periods in its filename. Let's call it foo..bar.jpg. When I attempt to access it, I ...
1
vote
0
answers
277
views
Host asp.net framework application in asp.net core web site
I have two applications, one built using asp.net core and one using asp.net framework. I am hosting both within IIS. One runs under an app pool setup as managed and one as unmanaged, as shown here:
...
1
vote
1
answer
1k
views
How to safely allow IIS to execute an exe with potential vulnerabilities?
We have an IIS application that needs to execute an exe with potentially malicious input. Multiple applications run in this app pool and I would like to limit our risk as much as possible. The ...
12
votes
1
answer
680
views
Disable TLS 1.2 stops RST packets
Environment,
Web server - Server 2012 R2, IIS 8, ASP.NET application
Firewall Cisco 5515
Un-Managed HP switches, No vlaning
Client has been using Curl from the outside to hit our application.
No ...
2
votes
1
answer
2k
views
Why isn't IIS on Windows Server 2012 able to access system environment variables?
I have an ASP.NET Core web application running on Windows Server 2012 R2 and IIS 8.5. IIS uses a pair of web.config configuration variables to start up the application. This is the relevant web.config ...
0
votes
2
answers
2k
views
Make web application accessible everywhere
We have developed a web application in ASP.net MVC for our client, which is host on their localhost, lets say, 18.18.18.100/portal. It is a private IP address.
But my client wants to make this ...
0
votes
1
answer
311
views
How to host Asp.net application in docker swarm mode load balancer
I have asp.net application now that application is running under VM host iis. i am planing to deploy using docker swarm. But i am facing machinekey issue. how i can run this application using docker ...
0
votes
0
answers
3k
views
asp net core 2.0 hosting on IIS returns blank page with error 500
I'm trying to deply an ASP NET Core 2.0 full framework app to IIS in Windows Server 2012 R2 and keep on failing. The app runs fine locally in VS2017 and also works on the server when I manually run ...
0
votes
1
answer
320
views
A bot with blocked ip still causes exceptions on server
I manage a website which is being "attacked" by a very stupid bot. The bot tries the same requests all the time, it always gets a bad request response because ASP.NET detects "A potentially dangerous ...
2
votes
0
answers
4k
views
asp.net core shows '0x80070002 HTTP Error 502.5
I am testing deployment of asp.net core 1.1 projects.
I have two projects in the solution client and the identity server 4.
I have succeeded deploying the client app and I can browse externally.
...
1
vote
0
answers
171
views
asp.net jit multiple core slow
Using IIS I'm Running Asp.net 4.5 and trying to find a way to improve jit times on a machine multiple(8) cores. The test I use is timing 100 different pages. The machine i'm testing all this on is 4 ...
6
votes
1
answer
44k
views
Difference between limit number of connections setting in IIS and the Max Pool Size
I am trying to understand the difference between the "Max Pool Size" setting in the connection-string against the Limit setting in the IIS server manager...whether they are referring to the same thing?...
1
vote
0
answers
3k
views
IIS Published websites gives HTTP 500 error
I'm having big trouble publishing my website to IIS. It always returns HTTP 500 Internal Server Error.
My project runs perfectly on localhost. I have installed NuGet package MvcDiagnostics.asxp (http:...
0
votes
1
answer
29
views
ASP.NET file created by one AppPool not readable from another
I have two ASP.NET applications, configured to have a read/write access to a shared NAS location that they use as a simple key-value file store.
The NAS location is mapped locally to each application ...
1
vote
1
answer
2k
views
Configure Windows IIS authentication using Nginx
I have a web API hosted using the IIS Express and it is running in my localhost using the port number 17770. I also installed Nginx in my localhost which is using the port number 8070.
The goal is to ...
1
vote
1
answer
472
views
Unexpected recycles of IIS.Net Application Pool
Since June 19 we are experiencing unexplained and undesired recycles of Application Pool worker processes.
The Application Pool has a scheduled 3am recycle. But since June 19th we are experiencing ...
0
votes
1
answer
866
views
Correct/professional way of logging in ASP.NET apps on IIS server
We're developing an ASP.NET application and have set up a IIS server in our company network for deployment testing. The IIS server is managed by our IT service team and we only have the necessary ...
1
vote
2
answers
3k
views
What steps are necessary to enable support for Content-Encoding: gzip POST bodies to an ASP.NET application hosted in IIS 8.5
Sending Accept-Encoding: gzip to my server currently upgrades the server responses with gz compression.
Sending Content-Encoding: gzip POST bodies to my server does not result in my application ...
0
votes
1
answer
86
views
Strange directory access in apache with mutliple servicestack applications hosted with mod_mono
I have a webserver (Linux, Ubuntu 16.04) running a apache. I use it to host some ASP.NET applications with mono developed using the ServiceStack framework. Here is my vhost configuration
<...
2
votes
2
answers
2k
views
Is there any way to detect an incoming ZipBomb?
I'm building an ASP.NET application deployed to IIS and I am actively working on following the necessary steps to enable support for Content-Encoding: gzip
There are no current plans for the server ...
1
vote
1
answer
5k
views
Information about securing cookies with path attribute with respect to ASP.NET and IIS
I need help with securing cookies for my web application. It's deployed in IIS and is built in ASP.NET MVC.
These are the things that I need to get more information about
Is the Sites folder in IIS ...
0
votes
1
answer
156
views
Enable 32-Bit Required In Only One of Three Environments for the Same Website
We have three environments (DEV, QA, PROD).
Each environment has two IIS web servers.
We got the following run time error on PROD only:
Server Error in '/' Application.
Unable to determine granted ...
1
vote
0
answers
311
views
IIS with ARR as reverse proxy for ASP.NET WebAPI randomly escape newlines differently
We're running an asp.net Web API appliction in production, using IIS and ARR for SSL-offloading and reverse proxy. We're seeing some weird issues requesting xml from a webapi endpoint.
Randomly every ...
2
votes
1
answer
999
views
Apache Service Unavailable When Running ASP.NET MVC Project with mono
I am running centos 7 and i have installed mono using the guide on the official website for centos http://www.mono-project.com/docs/getting-started/install/linux/ . This appears to be working fine as ...
-1
votes
1
answer
500
views
Site is not working after implementing SSL IIS 8
I have implement SSL certificate using steps given shown in below videos
First Video
Second video
Once the changes are completed and i tried to run the application, it shows "Site can't be reach".
...
2
votes
1
answer
1k
views
Azure App Services Website CPU Climbs to 100% Over TIme
This ASP.NET Core Azure App Services website has been running in production (unchanged) for months with CPU averages of 1-3%. Starting yesterday I noticed that the CPU all of a sudden went to 100%:
I ...
1
vote
0
answers
743
views
How to stop IIS parent website taking priority over virtual application
I have a simple setup. I have a wordpress website setup at the root of a subdomain api.website.com. This will act as documentation for an API. I then have the API itself, built with asp.net and i want ...
0
votes
1
answer
231
views
app returns no error message running Kestrel on nanoserver in Docker (missing dll?)
I am trying to run a Kestrel application targeting net461 on Docker, but it fails with no error message. It runs ok on Windows 10.
My Dockerfile is:
FROM microsoft/nanoserver
SHELL ["powershell"]
...