Matthew Sigman

Hands-On Software Leader

Matthew Sigman - Hands-On Software Leader

Telerik MSBuild Task could not find “LC.exe” using the SdkToolsPath

As of Q1 2015, the Telerik UI for ASP.NET AJAX suite uses the standard .NET licensing mechanism, which means that using the Telerik controls in design-time causes Visual Studio to add a license.licx to the solution. The .NET framework (lc.exe) will embed it in the assembly your WebApplication will be built for deployment. The license file is maintained by Visual Studio and contains information about all licensed components in the application (including non-Telerik products). [1]

You may receive an error when trying to build your solution

Task could not find “LC.exe” using the SdkToolsPath “” or the registry key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86″. Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed

step-3

You have two choices to resolve this error:

Continue reading “Telerik MSBuild Task could not find “LC.exe” using the SdkToolsPath” »

Add Dynamic Node to SiteMapProvider

Quick post to present a simple solution to the question:

How do you dynamically insert a node into an ASP.NET SiteMap?

I needed to do this for a project I was working on but all I found on Google were a bunch of way-too-complex solutions.  So I developed this simple approach and wanted to share it in hopes it helps someone in the same predicament.

Continue reading “Add Dynamic Node to SiteMapProvider” »

SSRS print icon not appearing in Internet Explorer 11 (Not able to print reports from IE11)

Products involved

  • SQL Server Reporting Services 2012
  • .NET Framework 4.5
  • Internet Explorer 11

Summary

Due to the new user agent string that IE 11 sends, SSRS no longer correctly identifies that browser as among the “whitelisted” browsers to enable the print icon/functionality when viewing SSRS reports. The print icon simply disappears. Enabling Compatibility View restores the print icon, but this is not a workable solution.

You can confirm this is the case by navigating to a report within a page, then pressing F12 to go into the Developer Tools, then go to the Emulation tab (last tab in the list), and change the User Agent String to Internet Explorer 10. The page will refresh and you should see the SSRS print icon re-appear.  This will confirm you are experiencing the issue described in this post.

Solution

Continue reading “SSRS print icon not appearing in Internet Explorer 11 (Not able to print reports from IE11)” »

TFS 2012 Update 2 Error – TF400898

After upgrading Team Foundation Server 2012 to Update 2, we started to get an error when opening a PBI or Bug via the web portal.  This was the error:

TF400898: An Internal Error Occurred.

image002

Not terribly helpful… Anyhow, after searching the web there were some similar-sounding issues but none of them helped.  In this case it turns out the problem was that non-Administrators received the error, but Collection Administrations did not get the error.  I’m not sure why that is the case yet, but will continue to look into it.

As a temporary solution for anyone with this issue, try giving increased permission to your team.

Telerik RadComboTree – A ComboBox with collapsible items

Background

One of the most useful existing controls in the Telerik RadControls suite is the RadComboBox.  It offers multi-column support to template support, anything you need in a drop-down can be rendered in RadComboBox. The control provides a rich set of features which include: client-side API with events, load-on-demand, auto-complete, filtering, multi-column support, highly customizable appearance through skins, content template support and much more. All this flexibility comes packaged in a control that renders lightweight, semantic HTML for optimum page performance and SEO.

The one option it doesn’t have out of the box, is the ability to group nodes into a hierarchical relationship and collapse/expand them, similar to the RadTreeView control.

Introducing the RadComboTree

This control basically combines the ComboBox and the TreeView to have a drop-down hierarchical list of nodes that can optionally have checkboxes.

Continue reading “Telerik RadComboTree – A ComboBox with collapsible items” »