June 2011 archive

Networking segments – Private network segments

The reserved IP ranges for private networks are the following: through through through This information is very useful specially when working with routing tables as you may want to know what subnet mask to use when and the size of your private network based on its address class, etc. …

Continue reading

How to: turn off custom errors for debugging mode in SharePoint 2010 application pages

Unfortunately custom errors is a setting that lives at the SharePoint site level, not at the ‘application page / _layouts’ level, so you will have to edit the web.config that applies to the entire SharePoint site which is located at: C:inetpubwwwrootwssVirtualDirectories Once there you’ll have to enable 3 different settings that should already be there for …

Continue reading

What is the generic implementation of a HashTable?

The generic HashSet<T> class is a not ordered collection for containing unique elements which is the equivalent of the HashTable but for use with generics. For more information about this collection, see HashSet Collection Type at the MSDN website.

What is “Andrea ST Filters Service”?

What is “Andrea ST Filters Service”(AESTFilters)? Many people wonder what is “Andrea ST Filters” windows service when going through the list of processes that were running on their machine. I was one of them as I was trying to find out what is causing it to run so slowly and one of the processes that was …

Continue reading

How to: Parse an Enumeration

  You can simply use the Enum.Parse() function as shown below: using System; [Flags] enum Colors { None=0, Red = 1, Green = 2, Blue = 4 }; public class Example { public static void Main() { string[] colorStrings = { "0", "2", "8", "blue", "Blue", "Yellow", "Red, Green" }; foreach (string colorString in colorStrings) …

Continue reading

How to: Create a generic method constraining T to an Enumeration

Although I believe that as part of the .Net framework version 4 you can specify the Enumeration type that you need when you are creating a generic method, this is not available in the .Net framework 3.5 (or in previous releases for that matter). The problem then becomes that you don’t want to have a …

Continue reading


Short description: Microsoft Search Component for SQL and Exchange Servers Long description: A process that is used by SQL server and Exchange server for the creation on indexes to hasten search. On my server it looks like it consumes a lot of memory and I’ve read high CPU use is also likely specially if there …

Continue reading

How to: Initialize a .Net Dictionary at the variable declaration level

How to: Initialize a Dictionary with a Collection Initializer Sometimes in your project you want to initialize a Dictionary or other sort of collection at the declaration level so you don’t have to manually use the .add() methods and write a separate method in which to execute them. A prime example is a dictionary that …

Continue reading

Error 1 SQL03006: User: [ ] has an unresolved reference to Login [ ]

I am running into an issue when I import a db into a SQL Database project which indicates that “Error 1 SQL03006: User: [x] has an unresolved reference to Login [x]”. After doing some research I found out that to be able to execute the Create User command the x.user.sql file contains you need to …

Continue reading

The specified domain either does not exist or could not be contacted

I have a method that queries Active Directory and it works fine on a domain computer, however, when I try using another machine that has connectivity towards AD and I pass the domain credentials that have the necessarily rights to connect. I’m not sure what to try next below is the error message I get:     …

Continue reading

Load more