Error Initializing Vault in ComInit()
Moderator: SourceGear
-
- Posts: 15
- Joined: Fri Nov 07, 2008 9:58 pm
Error Initializing Vault in ComInit()
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?
Re: Error Initializing Vault in ComInit()
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.
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
SourceGear Technical Support
-
- Posts: 15
- Joined: Fri Nov 07, 2008 9:58 pm
Re: Error Initializing Vault in ComInit()
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.
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.
Re: Error Initializing Vault in ComInit()
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.
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
SourceGear Technical Support
-
- Posts: 15
- Joined: Fri Nov 07, 2008 9:58 pm
Re: Error Initializing Vault in ComInit()
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.
Re: Error Initializing Vault in ComInit()
Thanks for the update. Happy to hear you are working again.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Error Initializing Vault in ComInit()
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
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
Re: Error Initializing Vault in ComInit()
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
SourceGear Technical Support