DuaScriptGen Error

T

twicave

When I used duascriptgen(A tool for DUA),I got a pop up window:

An unhandled exception has occurred in your application.If you click
continue, the application will ignore this error and attempt to continue. if
you click quit, the application will be shut down immediately.

Index was outside the bounds of the array.

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

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at DUAScriptGen.Form1.WriteRegistryEntryToDusFile(DUARegistryEntry
dEntry, StreamWriter sw)
at DUAScriptGen.Form1.GenerateDUAScript(String strFileName, Boolean
bSilent)
at DUAScriptGen.Form1.GenerateDUAScript()
at DUAScriptGen.Form1.button4_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
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:///e:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///e:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.d
ll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///e:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/
system.drawing.dll
----------------------------------------
DUAScriptGen
Assembly Version: 1.0.1910.29157
Win32 Version: 1.0.1910.29157
CodeBase: file:///D:/Work/DUA/duascriptgen_v11/DUAScriptGen.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///e:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c56193
4e089/system.windows.forms.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///e:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/a
ccessibility.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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top