Friday, March 07, 2008

Follow Up: Failed to access IIS metabase.

As a quick followup post, if you need to do this procedure on a x64 system run this command instead: "%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i"

Tuesday, February 26, 2008

Failed to send SMTP (2AFC) for CA BrightStor ARCServe Back

This error was getting thrown after every backup my system does. BrightStor used to send me emails when it finished a backup job but at some point in time it started failing.

The simple fix for this is to add in a hosts entry for the SMTP server. Even though I specified an IP address for my SMTP server this fix worked.

To add in a hosts record open Notepad or whatever text editor you love and then open the file "C:\Windows\System32\Drivers\Etc\hosts". Notice there is no extension on this file.

If you have your \Windows directory located on a partition other than "C:" use "%windir%\System32\Drivers\Etc\hosts".

Monday, February 18, 2008

Failed to access IIS metabase.

This error typically occurs when you install IIS after you have asp.net installed. It is a very simple fix.

Copy and paste this into the Run Command from the Start Menu.
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

This will reinstall asp.net for use with IIS and in most cases fixes the error stated above.

Thursday, February 07, 2008

The operation failed due to a registry or installation problem. Restart Outlook and try again. If the problem persists, please reinstall.

I have seen this error "The operation failed due to a registry or installation problem. Restart Outlook and try again. If the problem persists, please reinstall." pop up twice in the past few weeks. After researching the error online I found numerous posts pointing to Microsoft Knowledge Base Article KB315048.



The solution as told in KB315048 is to create a new Outlook profile with for the user. This however did not fix my problem. I tried doing a "Repair" on Microsoft Office XP once and did a full uninstall, reboot, install of Microsoft Office the second time in an effort to fix the issue (as that is what the error clearly states). Neither of these options worked.



After searching and searching for a solution I tried something different. I rebooted the Microsoft Exchange 2007 server. That did the trick. First I had tried to restart the Microsoft Exchange Information Store Service, but when that failed to stop I had no choice but to restart the entire server.



From what I can tell the problem we had started when the power kicked out and back in really quick. Our Microsoft Exchange 2007 server stayed on due to its UPS as did the workstation, but something went wonky somewhere along the line.

Thursday, January 03, 2008

Fixing a bad Master Boot Record (MBR) in Microsoft Vista

A few months ago I installed CentOS on my laptops second hard drive. During this process it installed GRUB as my boot loader. Since the inital installation I have not booted back in to CentOS at all, so I removed the linux partitions from the second drive and hoped for the best. I was so wrong.

Removing those partitions removed GRUB as well, so my laptop (now my main computer) would no longer boot into Microsoft Vista Home Premium. To fix this I used the Vista DVD to boot into Windows Recovery Environment (Windows RE) and used a tool new to me Bootrec.exe.

Microsoft has a very handy article on how to use Bootrec.exe to fix just such an occasion. For my situation I had to use the /fixMBR switch and reboot. It was literally that simple!

Tuesday, December 18, 2007

App-Domain could not be created. Error: 0x80131902

Failed to execute request because the App-Domain could not be created. Error: 0x80131902
Event-ID: 1088
Source: ASP.NET 2.0.50727.0

I was getting this error in Event Viewer while trying to run a web app. This was fresh install of IIS, but on an older server. The problem is that after IIS is installed you need to re-install the .Net framework.

Step one is to un-install the .Net framework.
  • Open a Command Prompt
  • run "net stop w3svc"
  • cd %windir%\Microsoft.Net\Framework\v2.0.50727\
  • run "aspnet_regiis.exe -ua"
  • run "aspnet_regiis.exe -i "
  • run "net start w3svc"

aspnet_regiis.exe -r may have worked instead of the two step uninstall / reinstall based on it's discription but I didn't try that option.

Friday, November 09, 2007

Handy Microsoft related blogs

Over time I have found some Microsoft team web sites to be very handy. These include the Microsoft Exchange Team, the IIS team and most recently the Open Source Software lab team. Below I have the links to these sites so you can check them out and add them to your favorites.

Port 25 The Open Source Software Lab at Microsoft

Microsoft Exchange Team Blog (You had me at EHLO...)

Microsoft Internet Information Services Homepage
Also if you have sites that you find useful please leave them in the comments so I can addt them.