Monday, July 15, 2013

Infragistics TFS Build LicenseException

Occasionally I receive a System.ComponentModel.LicenseException error when doing a build in TFS that contains Infragistics controls. What I have found that fixes the issue is if I open the licenses.licx file and remove all its contents. Once I check it in and attempt the build again, everything works. (TFS 2010, VS 2012)

Tuesday, October 11, 2011

User Group Presentations

Watch User Group presentations for free online.

Tuesday, September 27, 2011

Concatenate Text Files

DOS command for concatenating multiple text files:

-- Syntax
for <variablename> in (<directorylisting>) do <command> <variablename>

-- Exmaple
for %f in (*.log) do type “%f” >> aggregate.txt

Wednesday, March 23, 2011

Timer Job Currupt Memory Error

  • Timer jobs failing to complete
  • Receiving errors running psconfig
Caches configuration information (stored in the config database) on each server in the farm. If corruption occurs the issues described above are likely the result.
  1. Start->Administrative Tools->Services
  2. Windows SharePoint Timer v3.0 -> Stop
  3. Drive:\ProgramData\Microsoft\SharePoint\Config\GUID
    1. Delete all the XML files from the directory
    2. Do NOT Delete the .INI File
  4. Open the cache.ini using Notepad and set the number to 1.
    1. Save this file and close Notepad
    2. Do NOT open and edit the cache.ini with WordPad
  5. Recycle the Windows SharePoint Administration Service
  6. Restart the Windows SharePoint Timer Service
  7. You should see XML Files reappear in the cache directory
  8. Note: Perform this on the server experiencing the issue. Most likely it doesn’t have to be performed on all servers.

Thursday, December 16, 2010

Sitefinity Twitter Control

My latest submission to the Sitefinity Marketplace:

Sitefinity Twitter Profile Widget Control
CodePlex Project - Sitefinity Controls

Friday, December 10, 2010

Windows 7 Keyboard Shortcuts

Win+T will cycle through taskbar programs. This is similar to just hovering over the item with your mouse but you can launch the program with Space or Enter.
Win+Home minimizes all programs except current the window.
Win+Pause/Break will open your system properties window. This can be helpful if you need to see the name of a computer or simple system statistics.
Ctrl+Shift+Esc will open the task manager.
Alt+Shift+Num lock opens the virtual mouse.
Win + Left : move application to left 50% of your screen.*
Win + Right : move application to right 50% of your screen.*
Win+Space to glance at your desktop.
Win+Shift+Left or Win+Shift+Right will send the current window to the other monitor.
Win + TAB = similar to Alt + TAB, but fancier.

Thursday, October 7, 2010

VSTO: The breakpoint will not currently be hit.

Whenever I debug my VSTO project and set a breakpoint I get "The breakpoint will not currently be hit. The source code is different from the original version". It also will never run my new code.

This occurrs when you have deployed the VSTO solution to your development machine. It runs the deployed code every time instead of your modified code. Remove the installed version and everything will work as expected.