July 9th, 2016 / No Comments » / by Austin Rasmussen
Copy the following text to a “runasadmin.reg” file on your machine. Double-click it and confirm that the file will be merged into the registry.
The following inserts the default install location for Visual Studio 2015, but can be modified if the install directory is different or you’re running a different version of Visual Studio.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\cmd.exe"="~ RUNASADMIN"
"C:\\Windows\\SysWOW64\\cmd.exe"="~ RUNASADMIN"
"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\devenv.exe"="~ RUNASADMIN"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\cmd.exe"="~ RUNASADMIN"
"C:\\Windows\\SysWOW64\\cmd.exe"="~ RUNASADMIN"
"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\devenv.exe"="~ RUNASADMIN"
Posted in: Windows
August 3rd, 2013 / No Comments » / by Austin Rasmussen
Nearly all of the posts that I’ve seen on the “401.2 Unauthorized” issue discuss issues with getting Windows Authentication working correctly. This post is not one of those, and it does not address how to resolve this error message when attempting to use Windows Authentication. The following post discusses how to get anonymous authentication back up and running after experiencing this error message.
Read more…
Posted in: Windows
Tags: authentication, iis 7, iis 7.5. iis, iis configuration
July 13th, 2013 / No Comments » / by Austin Rasmussen
So… I’ve been experiencing issues with installing new Steam games for a while now. I’ve found a bunch of posts that seem to suggest the typical solutions where you rename the ClientRegistry.blob, verify the game cache, re-install steam, etc. None of these seem to resolve the issue where you attempt to launch a game for the first time, the “completing installation… 0%” window appears and then you receive a message box that says, “The Steam servers are currently too busy to handle your request. Error Code (2).”
There’s two things I found that may be connected to this, and both seem to involve having Visual Studio installed on this machine.
After installing the two following Microsoft updates, the installation was able to complete without issue:
- Visual C++ Redistributable for Visual Studio 2012 Update 3
- Visual Studio 2010 SP1 SDK
Posted in: Life, Windows
Tags: games, steam
January 8th, 2013 / No Comments » / by Austin Rasmussen
Applies to: Microsoft Windows Server 2008/2008 R2/2010 Operating Systems
This one required more investigation than I would’ve thought. So much so, that I nearly came to the conclusion that I wasn’t going to be able to do video transcoding. Fear not though, it is possible and is a straightforward problem to resolve.
Read more…
Posted in: Windows
Tags: class not registered, com class factory, com component, ispy, qedit, video, windows server
May 24th, 2012 / No Comments » / by Austin Rasmussen
I encountered a situation this morning where I went through the whole Software >> Install a Perl Module, since the default installation doesn’t come with Net::SFTP.
I totally forgot to capture the message, and of course I can’t reproduce it by trying to uninstall/reinstall, but there was some type of out of memory error that prevented the package from compiling and installing.
The workaround is simple, just run the perlinstaller script from the shell.
# /usr/local/cpanel/scripts/perlinstaller Package-To-Install
# /usr/local/cpanel/scripts/perlinstaller Net::SFTP
I didn’t see any reference on how to run this command, so hopefully this helps anyone looking to install a Perl package via the shell using WHM/cPanel.
Posted in: WHM
Tags: cpanel, perl, WHM
May 23rd, 2012 / 8 Comments » / by Austin Rasmussen
20 minutes… 20 minutes… 20 minutes… Does this sound familiar?
You’re trying something simple, or so you thought, and increasing the session timeout of your website, but it doesn’t appear to be having any effect.
Read more…
Posted in: ASP.NET
Tags: asp, asp.net, iis, session, web.config
May 1st, 2012 / 1 Comment » / by Austin Rasmussen
So, I’ve been experimenting a little bit with Python here and there lately. I finally decided to start looking into some of the different web frameworks, like Django, Pylons, Pyramid, web.py, etc. I chose to start playing around a little bit with Pyramid, mainly because it appears to allow more freedoms than Django (and I’m not going to attempt to build any type of blog/publishing website).
After I finished installing Pyramid and creating the folder structure of my site, one of my next steps was to ensure that I got some sane response from Apache showing that my site is alive. Now, my particular environment uses FastCGI, so I needed to find a way to allow FastCGI to serve up my shiny new Pyramid application that is written in Python.
Read more…
Posted in: Python
Tags: apache, fast cgi, pyramid, python, wsgi
August 20th, 2011 / No Comments » / by Austin Rasmussen
What is ProtoRPC?
I found out about ProtoRPC when I was looking for a way to expose a web service from a Google App Engine application. I was investigating several different ways that would allow me to receive requests, process those requests, and send back a response. Out of the options of manually serializing XML or JSON, extracting GET/POST parameters from the HTTP request, or ProtoRPC, ProtoRPC was a great choice.
One of the cool things about ProtoRPC is that it automatically handles the serialization and deserialization of the responses and requests to/from JSON. This means that you don’t need a simplejson.loads(…) at the beginning of each web service nor a simplejson.dumps(…) at the end.
If you’re looking for a flexible yet compact way to expose a web service from your Google App Engine app, check out what ProtoRPC can offer you. Read more…
Posted in: App Engine
Tags: app engine, appengine, json, protorpc, rest, rpc, web service
July 30th, 2011 / 2 Comments » / by Austin Rasmussen
To demonstrate adding a long-click content menu to a ListView, I’ll reuse the Stock Viewer application from here: Android Lists V: Accessing and Consuming a SOAP Web Service II.
Read more…
Posted in: Android
Tags: android, listactivity, listview, user-input
July 16th, 2011 / 1 Comment » / by Austin Rasmussen
So, you want to allow the user to make a date and time selection in your application? Android provides independent date and time selection dialogs that we can use to accomplish this task.
Read more…
Posted in: Android
Tags: android, date-time, Java, user-input