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....
- 777
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....
- 191
8
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 ...
- 96
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
- 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
- 171
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 ...
- 535
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.
"...
- 51
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 ...
- 301
3
votes
Accepted
Images not Rendering on IIS7 Running ASP.NET MVC App
This is, as Chrome correctly reports, a path issue.
The HTML markup says, for example:
<ul class="payment-listing">
<li>
<a ...
- 18.6k
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 ...
- 21
2
votes
Accepted
Troubleshooting web server continuous load issue
I finally solved this last week.
There is a configuration file that is apart of our web application that needs read/write permissions for IIS. On our shared hosting account at GoDaddy, the ...
- 131
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" ...
- 21
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 ...
- 13.9k
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 ...
- 9,003
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 ...
- 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. ...
- 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 ...
- 25
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 ...
- 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 ...
- 1,876
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 ...
- 131
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 ...
- 131
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 ...
- 3,553
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 ...
- 5,587
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 ...
- 429
1
vote
Do I need to purchase an SSL Certificate?
I'm afraid I don't know anything about Azure hosting. In general, however, in order to use SSL, you must have an SSL certificate installed. This certificate should be from a certificate authority (...
- 11
1
vote
Do I need to purchase an SSL Certificate?
In general, no you do not need to purchase certificates, particularly if you control the clients.
Down votes are for a number of reasons, but mostly that you can improve the question. Which web ...
- 31k
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
...
1
vote
Accepted
Windows Authentification with IIS and domain groups
It is likely your application is explicitly looking for those groups on the local machine rather than the domain. If you wrote the application, you need to fix it. Otherwise, contact the application ...
- 16.7k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
asp.net-mvc × 226iis × 74
iis-7.5 × 44
iis-7 × 42
asp.net × 42
windows-server-2008 × 18
iis-8 × 14
windows-server-2008-r2 × 13
windows × 12
iis-6 × 12
sql-server × 11
deployment × 11
azure × 10
windows-server-2012 × 8
sql-server-2008 × 8
iis-8.5 × 7
windows-server-2003 × 6
web-hosting × 6
windows-server-2012-r2 × 5
rewrite × 5
windows-authentication × 5
web.config × 5
mvc × 5
authentication × 4
hosting × 4