• About
  • Everyday Linux Commands

<roughCode/>

~ …so I can find it

Category Archives: Windows

winhttpcertcfg.exe Example

31 Friday Oct 2014

Posted by Scott in IIS, Windows

≈ Comments Off on winhttpcertcfg.exe Example

Tags

cert, windows

Once a client certificate is added to the Local Machine account’s Certificates –> Personal –> Certificates through the MMC Certificates snap-in, you can set permissions for service accounts (like Network Service or IIS AppPool\AppPoolIdentityName) with winhttpcertcfg.exe

winhttpcertcfg.exe -g -c LOCAL_MACHINE\My -s “SomeTextFromTheCertSubject” -a “userAccount”

 

Advertisement

SCP on Mac (and a tool for Windows)

15 Monday Sep 2014

Posted by Scott in Linux / UNIX, Networking, Windows

≈ Comments Off on SCP on Mac (and a tool for Windows)

Tags

linux, tools

From http://web.presby.edu/support/Terminal/scp.html :

Downloading a file:

scp username@hostname:pathname/filename .

For example:

$ scp jtbell@web.presby.edu:/Library/WebServer/Documents/support/FireFTP/PopupMenu.jpg .

Don’t forget the space before the final “.”.

Continue reading →

Server 2008+ IIS Errors

18 Wednesday Jul 2012

Posted by Scott in IIS, Windows

≈ Comments Off on Server 2008+ IIS Errors

Tags

ASP, IIS

When running Classic ASP or ASP.Net on a Windows Server 2008 R2 server with IIS, you may want to get more info than a “500 Server Error” page can provide.  Here are some settings to help you find out what’s going on…

from http://www.dondraper.com/2011/01/500-internal-server-error-from-iis-7-5-on-windows-2008-r2/

 For Classic ASP Errors

 

In IIS Manager, select your ASP site, the double-click the ASP icon in the IIS section. The configuration settings for this ASP applications will appear. Open the section for Debugging and make sure the option Send Errors to Browser is set to True. Review other settings while you are here to ensure they match want you want.

 

For Classic ASP and ASP.NET Errors

 

Just making the change above seems to work find under IIS on Windows 7 but not Windows 2008 R2. You may need to change one other setting. In IIS Manager, select the ASP or ASP.NET site, the double-click the Error Pages icon in the IIS section (do not confuse with the .NET Error Pages in the ASP.NET section) . The list of error codes and related IIS Error Pages will appear. Select the one for 500 errors and right-mouse, then choose Edit Feature Settings from the popup menu.

The default settings is the third option which only allows detailed errors to be sent to a browser on the same server. Change this setting to the second option labeled Detail errors and then details of your code or script errors will be sent to the browser even if it is a remote quest. If you are using Internet Explorer, also make sure that Show Friendly Errors is not enabled. This is not a problem for Firefox users.

 

Recent Posts

  • Bulk commands to install PHP and MySQL on CentOS 7
  • Four year gap? No, had just been self-hosting for a while
  • winhttpcertcfg.exe Example
  • Configure Tomcat 7 to use HTTPS
  • SCP on Mac (and a tool for Windows)

Archives

  • November 2018
  • October 2018
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012

Categories

  • Apache Tomcat
  • Apache Web Server
  • Application Servers
  • C#
  • CMS
  • Code Samples
  • Databases
  • Development Tools
  • Drupal
  • IIS
  • Java
  • Linux / UNIX
  • MS SQL Server
  • Networking
  • Operating Systems
  • Oracle
  • Uncategorized
  • Video Games
  • Windows
  • WordPress

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • <roughCode/>
    • Already have a WordPress.com account? Log in now.
    • <roughCode/>
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar