Tag Archives: metabase

Repro metabase COM Exceptions

Our project uses IIS to host custom web applications. We received an issue: when creating a web application some COM Exception is logged. To reproduce the issue we created a console application that connects to IIS metabase. The Find method … Continue reading

Posted in Development | Tagged , , | Leave a comment

Repro metabase corruption

Our project uses IIS to host custom web applications. We received an issue where sometimes the application pool wouldn’t start because of an corrupt configuration. To reproduce the issue we run the software to install the web application. This way … Continue reading

Posted in Development | Tagged , | 1 Comment

Lessons learned while solving a software issue on a client’s laptop

“This laptop has the latest version of the software and it’s not working”. That is how it ended up on my desk. After two days of debugging, crashing and reading log files I solved the problem. I’m hired to get … Continue reading

Posted in Development | Tagged , , | Leave a comment

Disable LoadUserProfile on IIS Applicationpool

We’re using IIS Metabase (6.0) to administer IIS from our application. For IIS 7 and above we use the IIS Metabase and IIS 6 configuration compatibility Windows feature. After introducing the creation of an application pool per web application we … Continue reading

Posted in Development | Tagged , , | Leave a comment

ApplicationPool creation in Metabase with Csharp

In our project we create IIS application pools from code. For this we connect to the metabase with DirectoryEntry. This is COM and the exceptions are ridiculous somewhat cryptic. Below is code to create an Application Pool. The comments describe … Continue reading

Posted in Development | Tagged , , , | Leave a comment