22 votes

How to diagnose a 500 Internal Server Error on IIS 7.5 when nothing is written to the event log?

In my case: The Event Log was empty. web.config wasn't corrupt - verified by using same on local machine / using inetmgr Finally... Checking IIS logs showed a request like this ...Chrome/57.0.2987....
fiat's user avatar
  • 817
16 votes

Difference between "Start application pool immediately" and Start Mode AlwaysRunning

Had the same question as the original poster but could not find a concise answer, below is the analysis from my research. Application Pool != Worker Process (w3wp.exe) Typically we see a single w3wp....
Jeffrey Hyson's user avatar
9 votes
Accepted

Is there a supported way to run post-deploy scripts on AWS Elastic Beanstalk?

It's 2019 and I still couldn't find any documentation for Beanstalk Platform Hooks regarding .NET apps. I ended up doing something similar to your solution. Create a config file in .ebextensions ...
Karn Ratana's user avatar
7 votes

IIS is overriding my response content, if I manually set the Response.StatusCode

Another way to bypass this is to run the following code in your ASP application: Response.TrySkipIisCustomErrors = true; Source: https://stackoverflow.com/a/21271085/238753
Sam's user avatar
  • 177
7 votes

Connection Reset error trying to set up HTTPS locally using VS and IIS Express

try to put a port in the range 44300-44399 this one hundred port numbers already have a certificate "bound" to them
L.Trabacchin's user avatar
7 votes

Difference between "Start application pool immediately" and Start Mode AlwaysRunning

It looks like "Start application pool immediately" controls whether the application pool is "Started" when the World Wide Web Publishing service is started. But a "started" application pool is not ...
mhenry1384's user avatar
5 votes

Difference between "Start application pool immediately" and Start Mode AlwaysRunning

Bit late to respond but I will add my findings as I looked around to find asnwer to this same question. "OnDemand": IIS will launch worker process when first request for Web application is received. "...
jforjimmy's user avatar
4 votes

How to diagnose a 500 Internal Server Error on IIS 7.5 when nothing is written to the event log?

The most obvious issue is improper or zero NTFS rights on the web application folder. So make sure the account serving the site has the right permissions. Without proper NTFS rights to the web ...
rism's user avatar
  • 301
2 votes

How can I warm up my asp.net mvc webapp after an app pool recycle?

From my experience, AlwaysRunning and Preload enabled doesn't get much speed up. The most wait time goes on dynamic compilation (which can be fixed with aspx precompile) and loading assemblies into ...
zmikic's user avatar
  • 21
2 votes

Shibboleth 404 when upgrading to ASP.net CORE

I notice that your web.config files do not contain any shibboleth configuration, for instance the handler part : <add name="ShibbolethEndPoints" path="*.sso" verb="*" modules="IsapiModule" ...
EnjiLenin's user avatar
1 vote

Shibboleth 404 when upgrading to ASP.net CORE

From what I've been able to find, .NET Core doesn't work well with Shibboleth due to the way it uses IIS (as a proxy) and the fact that no managed code is available. Since Shibboleth runs as an ...
icastel's user avatar
  • 11
1 vote

Queries execute faster when hosted on laptop than on server

If your laptop has an SSD, that would explain it it me. SSDs have 10 times the IOPS performance of spindle drives. It may be worth looking at your MVC coding and see if the programming has some ...
Cory Knutson's user avatar
  • 1,876
1 vote

How can I run an app that works on IIS 10 in IIS 7 or IIS 8.5?

There is nothing you have to do with your MVC app to make it work with IIS 7 - 10. You just need to make sure the Server and IIS is configured correctly: Make sure the .NET version you require is ...
Peter Hahndorf's user avatar
1 vote

On app pool recycle user sessions are lost if application pool identity is set to 'custom account' but not when it is set to ApplicationPoolIdentity

First, to correct a misconception, you're meant to lose state on an App Pool Recycle, unless you've moved state information out of process (for example, by using ASP.Net Session State Server, or a ...
TristanK's user avatar
  • 9,113
1 vote

How to configure multiple Apache subdomains for .NET CORE 2.0 on UBUNTU?

this is a virtualhost configuration. it will be applied for all the calls to your server using domain matching ServerName and ServerAlias directive. You can have more alias. ServerAlias www.a123.com ...
djv's user avatar
  • 81
1 vote

How to configure IIS 10 to read from local SQL database file?

What i did was to add the appool as a user to SQL Server. Namely, at the SQL Server level, go to security. Add new login. Add IIS APPPOOL\APPPOOLNAME as a user. Do not do check user or anything. ...
sam's user avatar
  • 111
1 vote
Accepted

How to configure IIS 10 to read from local SQL database file?

In order to get the default connection string that is created with the project to work, you would need to install SQL Server LocalDB on the remote server. It is a separate installation from the main ...
Ice Drake's user avatar
1 vote

Difference between "Start application pool immediately" and Start Mode AlwaysRunning

Per IIS 8 What’s new – Application pool settings: Start Mode A few web applications take a significant amount of time to start up. IIS by default only launches a worker process when the ...
Dave Black's user avatar
1 vote

Cannot connect to Azure Database

According to your description, maybe you could check as the ways below: 1. Logon SQL Server on Azure VM. Please ensure you could logon it in your server VM. 2. Check NSG inbound rule for the VM. If ...
Shui shengbao's user avatar
1 vote

limitations of migrating an existing ASP.NET MVC application to Windows Azure

The only thing related to sessions, is the state-less nature of Azure VM's. This means that you could possibly lose one of the more popular ways of storing a session state. From the article you ...
Reaces's user avatar
  • 5,617
1 vote

Windows server 2012, unable to access site in some ports from outside

As stated in previous reply's, you can't access your server with domain:port because your hosting provider has that port blocked. Before you contact them and ask to allow access to your server's IP ...
RonanW.'s user avatar
  • 429
1 vote

How to enable incoming and outgoing world wide web traffic in IIS

courtesy I'm writing this post to jot down all the things I need to do during cloudy ASP.NET website deployments. Get the database connector Re-Publish project Grab that awesome URL rewrite module ...
Zameer Ansari's user avatar
1 vote

Does ModSecurity 2.7.1 work with ASP.NET MVC 3?

So, I'm a few years late to the party, but I'm working through similar issues now and thought I'd share what I'd found. It's not really an MVC problem. It might be an IIS problem, though something ...
William Scalf's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible