Monthly Archive: June 2011

Jun 28

Networking segments – Private network segments

The reserved IP ranges for private networks are the following: 10.0.0.1/8 through 10.255.255.254/8 172.16.0.1/12 through 172.31.255.254/12 192.168.0.1/16 through 192.168.255.254/16 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 »

Jun 16

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 »

Jun 16

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.

Jun 16

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 »

Jun 16

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 »

Jun 15

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 »

Jun 15

MsSearch.exe

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 »

Jun 14

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 »

Jun 14

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 »

Jun 14

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 »

Older posts «

Fetch more items