I worked with a customer recently who ran into an error with one of our products on Windows Server 2008. We tracked the source of the error to a permissions issue with the Security event log key in the Windows Registry. Interesting problem since we use the exact same code to write to the Application [...]
System.Security.SecurityException Writing to the Application Event Log on Windows Server 2008 with ASP.NET 4.0
Redirect HTTP to HTTPS on Microsoft IIS 7 and 7.5
We are often asked how to redirect non-secure HTTP requests to secure requests on HTTPS using SSL. You can redirect HTTP requests to secure HTTPS request over SSL using the URL Rewrite module in IIS 7 and 7.5. At the heart of the matter, the URL Rewrite module allows users to be elegantly redirected from a URL like http://somedomain/ [...]
Efficient Queries with LDAP Search Filters
Writing LDAP queries can prove quite difficult because of its odd search filter syntax and the (mostly) non-relational nature of the LDAP data store. Even once you get your query in place, performance issues can plague your query if you don’t set it up correctly. The articles below should help you create efficient LDAP queries. [...]
Create a Code Signing Certificate on Windows Server 2008 with OpenSSL and pvkimprt
We recently renewed the code signing certificate we use to certify that our product installers are genuine and from a trusted download source. As part of this process, you generate a code signing request (CSR) along with a private key and you send the CSR to a Certificate Authority like GoDaddy.com. The CA then validates [...]
Configure ASP.NET with Load Balancing on a Web Farm to Avoid ViewState Errors
I am working with a customer who reported an issue recently with one of our applications they deployed to a hardware load balanced web farm. The error itself is quite straightforward. Exception occurred in System.Web: Invalid viewstate This obviously has something to do with the load balancing switching between servers but what’s the best way [...]
Installing the VMware vSphere Client to Manage vSphere Remotely
I recently upgraded a desktop computer in our environment and needed to install the VMware vSphere Client software to allow remote management of a vSphere server environment. It has been a while since I installed a vSphere Client and I forgot where to get the installation bits. I poked around on the Internet and found [...]
InstallShield Error -2147219705 with .NET 4.0 and DotNetCoCreateObject() in InstallScript
We have a product that runs on .NET 4.0 and our InstallShield installer for the product uses the DotNetCoCreateObject() method to run some installation actions in an InstallScript custom action. The DotNetCoCreateObject() method works fine in our .NET 2.0 (and 3.0/3.5 by extension) products but we kept getting a run-time exception (-2147219705) when trying the same InstallScript with our [...]
Hook up Android Ice Cream Sandwich (ICS) to Microsoft Office 365 Exchange Mail
I recently upgraded from a BlackBerry mobile device to an Android Ice Cream Sandwich device. I’m less than 24 hours into my experience with the Android device and I’m already wondering why I waited so long to leave RIM behind. Not only does the Android operate much faster and with a more intuitive user experience, [...]
.NET 4.5 Developer Preview Installation Error or Windows XP
Microsoft released the beta of Visual Studio 11 last week and I wanted to take a spin around it. My development machine currently runs Windows XP SP3 and I didn’t think twice to download the .NET 4.5 Developer Preview to install as a prerequisite for Visual Studio 11. Alas, though, I ran into the following [...]
COM Unknown error (0×80005000) with PrincipalContext in the System.DirectoryServices.AccountManagement .NET Namespace
While working on a project recently, I ran into the very undescriptive COM Unknown error (0×80005000) trying to instantiate a PrincipalContext to use for some Active Directory management needs. To support a number of directory connection scenarios—including AD, AD LDS and the local machine SAM—our application allows admins to configure any set of relevant parameters used [...]
- Office 365 and BlackBerry Calendar Synchronization: A Replacement for BlackBerry Enterprise Server Functionality July 7, 2011
- Office 365 and BlackBerry Enterprise Server Express July 8, 2011
- Windows Active Directory Cached User Credentials June 9, 2011
- RIM Gets Closer to Cloud-Based BlackBerry Enterprise Service (BES) for Office 365 August 15, 2011
- Efficient Queries with LDAP Search Filters March 30, 2012
- System.Security.SecurityException Writing to the Application Event Log on Windows Server 2008 with ASP.NET 4.0 April 6, 2012
- Redirect HTTP to HTTPS on Microsoft IIS 7 and 7.5 April 2, 2012
- Efficient Queries with LDAP Search Filters March 30, 2012
- Create a Code Signing Certificate on Windows Server 2008 with OpenSSL and pvkimprt March 29, 2012
- Configure ASP.NET with Load Balancing on a Web Farm to Avoid ViewState Errors March 23, 2012
-
Jason Cox: We work with Microsoft Active Directory and the AD...
-
Engin: Great article. thanks for posting....
-
Feruza: If you set the port for OpenDS to 389, it means th...
-
Jason Cox: This doesn't sound like a SQL Server engine issue...
-
vic: Advise isn't helpful. Still get the same error me...
Blogroll
- Active Directory Powershell Blog
- Active Directory Tools Review
- Brian Desmond’s Blog
- Brian Desmond’s Blog
- Dirk Adamsky’s Scripting Blog
- Florian’s Blog
- IT Geared
- JFRMilner’s Tech Blog
- Mark Parris’s blog
- Microsoft Active Directory resources for Server 2008 R2
- Mike Kline’s AD is Fun Blog
- Mike Kline’s AD is Fun Blog
- Stuart Coney’s Blog
- Tim Springston’s Active Directory Blog
- Ulf B. Simon-Weidner’s Blog – Directory Services/Active Directory






