Unhandled exception during import on Users page

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

Moderator: SourceGear

Post Reply
Guest

Unhandled exception during import on Users page

Post by Guest » Mon Sep 27, 2004 2:00 pm

I'm using latest version of vault with demo license, VSS 6.0C. Vault and VSS are on the same machine. During the import where you select how to handle user accounts, i get the error below.. any help would be appreciated. Screenshot @ http://scansoftware.com/jn/error.bmp (big).

Jon

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at VSSImport.WizardForm.PopulateUserView(Boolean bActiveUsers)
at VSSImport.WizardForm.wizard1_NextButtonClick(Object sender, WizardPageCancelEventArgs e)
at ActiproSoftware.Wizard.Wizard.?(WizardPageCancelEventArgs )
at ActiproSoftware.Wizard.Wizard.?(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.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.573
CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
VSSImport
Assembly Version: 2.0.6.2219
Win32 Version: 2.0.6.2219
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VSSImport.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/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.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 2.0.6.2219
Win32 Version: 2.0.6.2219
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
ActiproSoftware.Wizard
Assembly Version: 1.4.60.0
Win32 Version: 1.4.60.0
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/ActiproSoftware.Wizard.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 2.0.6.2219
Win32 Version: 2.0.6.2219
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VaultClientNetLib.DLL
----------------------------------------
VaultLib
Assembly Version: 2.0.6.2219
Win32 Version: 2.0.6.2219
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VaultLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
Interop.SourceSafeTypeLib
Assembly Version: 5.1.0.0
Win32 Version: 5.1.0.0
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/Interop.SourceSafeTypeLib.DLL
----------------------------------------
VaultPresentationLib
Assembly Version: 2.0.6.2219
Win32 Version: 2.0.6.2219
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VaultPresentationLib.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
npumwufq
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
6b_hheoh
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
dgdgpls9
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
CustomMarshalers
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/custommarshalers/1.0.5000.0__b03f5f7f11d50a3a/custommarshalers.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.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Tue Sep 28, 2004 7:50 am

Is there any information in your import log file

Give me an email, and I will send a version of the import that may log more information.

jnewton
Posts: 2
Joined: Tue Sep 28, 2004 10:43 am

Post by jnewton » Fri Oct 01, 2004 6:32 am

I sent you an email several days ago but haven't heard back yet.. here is the last log file.


---

Opening: E:\vss_for_import\srcsafe.ini
User: admin
VSS database open: True
Connected to Vault.
Logged out of the Vault Server.
There are 636 files and projects selected for import.
**Failed** to get the VSSItem for: '$//ScanSoftware/CampusCafeWeb'
System.InvalidCastException
QueryInterface for interface SourceSafeTypeLib.IVSSDatabase failed.

Refreshing SourceSafe connection...
Opening: E:\vss_for_import\srcsafe.ini
User: admin
VSS database open: True
Connected to Vault.
Connected to Vault.
VSS Database closed.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Oct 01, 2004 1:40 pm

Sorry that I didn't reply to your email. Please send me another with your phone number, and I'll give you a call.

jnewton
Posts: 2
Joined: Tue Sep 28, 2004 10:43 am

Post by jnewton » Thu Oct 07, 2004 11:19 am

Just to complete this thread - the error was due to the fact that i was running the import against a corrupted VSS install (vss program files were not 100% there). Ran fine against our production server.

Post Reply