Using Windows Server 2008 as a SUPER workstation OS

Windows Server 2008 is the best OS to be released till date from Microsoft’s stable. And the moment I got hold of the RTM build I could not resist installing it on my workstation. Due to the nature of my work I always prefer running a Server OS on my main workstation… I have been…


Where is ASP.NET 3.5 on IIS ?

Most people on installing .NET 3.5 on the server “expect” an entry for  v3.5 under the ASP.NET version Tab in IIS manager. And not finding that entry start panicking. If you have been one of those read on. The more tech savvy folks try to run aspnet_regiis -i from the v3.5 framework folder… but even…


Using Windows Server 2008 as a SUPER workstation OS … Cont’d

This is a continuation of my previous post  Using Windows Server 2008 as a SUPER workstation OS Here are a couple of things I missed in my previous post 11. Processor Scheduling As pointed out in a comment on my previous post; On Windows Server 2008 background services are given preference over interactive programs. You…


You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.

While trying to install Visual Studio 2008 on a Windows 2008 R2 machine you may get the following error. This is because Windows 2008 R2 ships with the .NET 3.5.1 framework. You just need to enable the feature from Server Manager. So before starting the Visual Studio 2008 Setup install the .NET Framework 3.5.1 Features…


Report Viewer Toolbar does not render properly on IIS 7.0

I was recently working on a reporting web application that uses the Report Viewer ( ReportViewer ) control that ships with SQL Server Reporting Services (SSRS). The Report Viewer control was rendering perfectly when I was developing using Visual Studio 2008. The trouble started when I published the web application to an IIS 7.0 server….


CertEnroll::Cx509Enrollment::p_InstallResponse: ASN1 bad tag value met. 0x8009310b

Recently while installing a SSL certificate on IIS 7.0 I got this error message CertEnroll::Cx509Enrollment::p_InstallResponse: ASN1 bad tag value met. 0x8009310b I could not complete the certificate request via IIS manager. But strangely after this error the certificate was placed in the Other People certificate store. Only certificates that are stored in the Local Computer store…


Disappearing SSL certificates from IIS 7.0 manager

“I install a SSL server certificate using the ‘Complete Certificate Request’ wizard in IIS manager and when I refresh the view the certificate disappears. “ I have heard that a couple of times and every time I used to go “What ?” Until someone showed it to me. If you are one of those who…


IIS 6.0 Recovering websites from a stale metabase.xml

     The metabase is a repository for most IIS configuration settings. It resides as a plaintext XML file metabase.xml in the systemroot\System32\Inetsrv folder. All the websites and their corresponding settings are stored in this file.      The problem with this file is that even though it is plain text xml we cannot copy it over…


IIS 7 Tip # 10 You can generate machine keys from the IIS manager

The machineKey element of the ASP.NET web.config specifies the algorithm and keys that ASP.NET will use for encryption. By default the validationKey and the decryptionKey keys are set to AutoGenerate which means the runtime will generate a random key for use. This works fine for applications that are deployed on a single server. When you…


Setting SMTP RelayIpList from a script.

SMTP service running on IIS 6.0 provides you options to restrict IP addresses of computers that can relay mail messages through this server. The value(list of IP addresses) is stored in the RelayIpList metabase property as an octet string. I was recently contacted by a server administrator to figure out if there is an automatic…