Error Initializing Vault in ComInit()

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Noble Bell
Posts: 15
Joined: Fri Nov 07, 2008 9:58 pm

Error Initializing Vault in ComInit()

Post by Noble Bell » Wed Jan 14, 2009 9:07 pm

I am using Vault Client version 4_1_2_18185. I have been using it without any problems since September of last year. Today, I started getting the following error when loading Visual Studio: A dialog box pops up when I start loading my project that is under source control and says: "Error Initializing Vault in ComInit(): Configuration system failed to initialize.". I tried to load the Vault Client and it would not load and run either. It popped up a window wanting to send an error report to Microsoft. I have un-installed and re-installed three times and I get the same results. I am using XP Pro SP-3 and the latest version of the .Net Framework on Visual Studio 2005. I am at a loss can someone offer me some suggestions here please?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Error Initializing Vault in ComInit()

Post by Beth » Thu Jan 15, 2009 1:59 pm

Here's another user that had the same issue: Error Initializing Vault in ComInit().

Start with first running the following commands at a command line and then try Vault again.
C:\Windows\Microsoft.NET\framework\v2.0.50727\aspnet_regiis -u
and
C:\Windows\Microsoft.NET\framework\v2.0.50727\aspnet_regiis -i

If that fails, then try a repair install of your 2.0 .NET framework.
Beth Kieler
SourceGear Technical Support

Noble Bell
Posts: 15
Joined: Fri Nov 07, 2008 9:58 pm

Re: Error Initializing Vault in ComInit()

Post by Noble Bell » Thu Jan 15, 2009 9:31 pm

None of these options worked. I tried them all. I also uninstalled the client and reinstalled twice. When I try and run the client program from the desktop I get a messagebox almost immediately after clicking on the shortcut icon that says "SourceGear Vault Windows Client has encountered a problem and needs to close. We are sorry for the inconvenience." When I try to use the client through visual studio I get the ComInit error.

I looked at the earlier post and it did not help either.

Anymore suggestions please? I need to get this working so that I can work from home.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Error Initializing Vault in ComInit()

Post by Beth » Fri Jan 16, 2009 5:43 pm

Could you look in your Event Viewer logs for errors? What are you seeing there?

If it's not working as a stand alone client, then it isn't going to work with Visual Studio. Let's focus on first getting the Vault GUI client working.
Beth Kieler
SourceGear Technical Support

Noble Bell
Posts: 15
Joined: Fri Nov 07, 2008 9:58 pm

Re: Error Initializing Vault in ComInit()

Post by Noble Bell » Mon Jan 19, 2009 10:57 am

Thanks for your help. I decided that it would be much easier to just blow out my machine and reload everything. That fixed the problem obviously. I can only think that when I uninstalled Delphi from Codegear from my machine that it removed some required components needed by Vault. Upon further inspection of other applications I found that quite a few applications quit working after the uninstall. They were all developed on .Net framework.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Error Initializing Vault in ComInit()

Post by Beth » Mon Jan 19, 2009 1:39 pm

Thanks for the update. Happy to hear you are working again.
Beth Kieler
SourceGear Technical Support

neversaid
Posts: 3
Joined: Thu May 14, 2009 4:15 pm

Re: Error Initializing Vault in ComInit()

Post by neversaid » Fri Nov 12, 2010 2:39 am

Hello,
just for giving more Information on this topic:
I have received this error message:
---------------------------
SourceGear Vault Professional
---------------------------
Error Initializing Vault in ComInit():
Unrecognized configuration section system.data (c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config line 4047)
---------------------------
OK
---------------------------
After some search i found out that the SQLite Installer added a wrong line at the end of the File,
<system.data>....</system.data>
I am not sure where this should go but after removing this line Vault is working fine!

Bernhard

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Error Initializing Vault in ComInit()

Post by Beth » Fri Nov 12, 2010 8:43 am

I hadn't seen anything like that before. What operating system is this installed on? Is it the server machine that had the problem or the client machine?
Beth Kieler
SourceGear Technical Support

Post Reply