Error running Vault Admin on Server

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

Moderator: SourceGear

Post Reply
Carlos
Posts: 13
Joined: Tue Mar 08, 2005 11:40 pm

Error running Vault Admin on Server

Post by Carlos » Thu Nov 17, 2005 9:32 pm

We received the following error:


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS0117: 'System.Array' does not contain a definition for 'Lelgth'

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at VaultClientNetLib.ClientService.VaultService..ctor()
at VaultClientNetLib.VaultConnection.InitService(AccessLevelType accessLevel)
at VaultClientOperationsLib.ClientInstance.Init(AccessLevelType accessLevel)
at VaultClientPresentationLib.GUIClientInstance.Init(FormShiftQuery dialogOwner, AccessLevelType accessLevel)
at VaultAdmin.FormMain.FormMain_Activated(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnActivated(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
VaultAdmin
Assembly Version: 3.1.2.3511
Win32 Version: 3.1.2.3511
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultAdmin.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 3.1.2.3511
Win32 Version: 3.1.2.3511
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
VaultLib
Assembly Version: 3.1.2.3511
Win32 Version: 3.1.2.3511
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultLib.DLL
----------------------------------------
VaultClientUILib
Assembly Version: 3.1.2.3511
Win32 Version: 3.1.2.3511
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientUILib.DLL
----------------------------------------
VaultPresentationLib
Assembly Version: 3.1.2.3511
Win32 Version: 3.1.2.3511
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultPresentationLib.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 3.1.2.3511
Win32 Version: 3.1.2.3511
CodeBase: file:///C:/Program%20Files/SourceGear/Admin%20Tool/VaultClientNetLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2300
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

Carlos
Posts: 13
Joined: Tue Mar 08, 2005 11:40 pm

Vault Server Version

Post by Carlos » Thu Nov 17, 2005 9:36 pm

My vault Server and client version is:

3.1.2.3511

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Nov 17, 2005 10:33 pm

Is there a typo in the error message for System.Array.Lelgth?

If not, then something might be wrong with the Vault Admin assemblies or the .Net framework itself. In a case like this, can you try the Admin Tool from a completely different machine?
Jeff Clausius
SourceGear

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Nov 18, 2005 8:11 am

One follow-up note. If you do test the Vault Admin Tool from another machine, I would recommend using a new download of the file in case the installation file you used became corrupt on download.
Jeff Clausius
SourceGear

Carlos
Posts: 13
Joined: Tue Mar 08, 2005 11:40 pm

Post by Carlos » Sun Nov 20, 2005 10:23 am

There were no typos, that was copied directly from the exception.
We tried the Vault Admin on another machine and works fine. We will format our server then.

Thanks.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Sun Nov 20, 2005 7:20 pm

Yes, it was rather odd that a .Lelgth property was showing up, as an assembly wouldn't even compile if this was actually in the code.

I'm glad you discovered this, as something like this on your server could be harmful in other ways.
Jeff Clausius
SourceGear


Post Reply