IIS No NLog File Outputs

If your asp.net application is not output nlog file as configured, you should make sure your target output file folder has the right permission for the IIS application pool identity.

For example, on the IIS server, you can go to the output folder’s properties –> security tab and add “Modify” permission for IIS_IUSRS.

As usual, be sure to grant only the minimum permissions required for the appropriate account.

Advertisements

Visual Studio 2013 Keeps Changing Startup Project

Problem:

I set ProjectX as a startup project.  Whenever I work on files in other project (e.g. ProjectY), it will set ProjectY as startup project instead.

Solution:

  1. Visual Studio –> Tools –> Options –> Projects and Solutions –> Build and Run
  2. Clear the checkbox for “For new solutions use the currently selected project as the startup project.”

image