Welcome to the community forums for Theopenem. All responses are provided by other users that wish to help out. Theopenem will not respond to these posts. If you require more assistance than what the community can provide, we offer various paid support options.

Toec Imageprep - Error on Connection


  • Hi, I have created an image and now just running through the ImagePrep part before sysprep.

    When I click the Connect to Toems button in the Toec-ImagePrep app, I get this error.

    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.ArgumentException: data
       at Toec_Services.Crypto.ServiceDP.DecryptData(Byte[] data, Boolean isSystem, Byte[] entropy)
       at Toec_Services.ApiCall.ApiRequest.ExecuteSymKeyEncryption[TClass](RestRequest request, String body)
       at Toec_Services.ApiCall.ImagePrepAPI.GetDriverList()
       at Toec_ImagePrep.GUI.ToemsConnect_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.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.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    ----------------------------------------
    Toec-ImagePrep
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/Toec/Toec-ImagePrep.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9065.0 built by: NET481REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    Toec-Services
        Assembly Version: 1.5.4.0
        Win32 Version: 1.5.4.0
        CodeBase: file:///C:/Program%20Files/Toec/Toec-Services.DLL
    ----------------------------------------
    Toec-Common
        Assembly Version: 1.5.4.0
        Win32 Version: 1.5.4.0
        CodeBase: file:///C:/Program%20Files/Toec/Toec-Common.DLL
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9065.0 built by: NET481REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    Toec-DataModel
        Assembly Version: 1.5.4.0
        Win32 Version: 1.5.4.0
        CodeBase: file:///C:/Program%20Files/Toec/Toec-DataModel.DLL
    ----------------------------------------
    EntityFramework
        Assembly Version: 6.0.0.0
        Win32 Version: 6.400.420.21404
        CodeBase: file:///C:/Program%20Files/Toec/EntityFramework.DLL
    ----------------------------------------
    log4net
        Assembly Version: 2.0.15.0
        Win32 Version: 2.0.15.0
        CodeBase: file:///C:/Program%20Files/Toec/log4net.DLL
    ----------------------------------------
    System.Data.SQLite
        Assembly Version: 1.0.117.0
        Win32 Version: 1.0.117.0
        CodeBase: file:///C:/Program%20Files/Toec/System.Data.SQLite.DLL
    ----------------------------------------
    System.Data
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9065.0 built by: NET481REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Transactions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    ----------------------------------------
    EntityFramework.SqlServer
        Assembly Version: 6.0.0.0
        Win32 Version: 6.400.420.21404
        CodeBase: file:///C:/Program%20Files/Toec/EntityFramework.SqlServer.DLL
    ----------------------------------------
    System.Data.SQLite.EF6
        Assembly Version: 1.0.117.0
        Win32 Version: 1.0.117.0
        CodeBase: file:///C:/Program%20Files/Toec/System.Data.SQLite.EF6.DLL
    ----------------------------------------
    Anonymously Hosted DynamicMethods Assembly
        Assembly Version: 0.0.0.0
        Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System.Data.Entity
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
    ----------------------------------------
    System.Numerics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
    ----------------------------------------
    System.Data.OracleClient
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data.OracleClient/v4.0_4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
    ----------------------------------------
    System.ComponentModel.DataAnnotations
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
    ----------------------------------------
    System.EnterpriseServices
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    ----------------------------------------
    System.Xml.Linq
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    ----------------------------------------
    System.Runtime.Serialization
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
    ----------------------------------------
    EntityFrameworkDynamicProxies-EntityFramework
        Assembly Version: 1.0.0.0
        Win32 Version: 6.400.420.21404
        CodeBase: file:///C:/Program%20Files/Toec/EntityFramework.dll
    ----------------------------------------
    EntityFrameworkDynamicProxies-Toec-Common
        Assembly Version: 1.0.0.0
        Win32 Version: 6.400.420.21404
        CodeBase: file:///C:/Program%20Files/Toec/EntityFramework.dll
    ----------------------------------------
    RestSharp
        Assembly Version: 106.15.0.0
        Win32 Version: 106.15.0
        CodeBase: file:///C:/Program%20Files/Toec/RestSharp.DLL
    ----------------------------------------
    System.Web
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    ----------------------------------------
    System.Security
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.9032.0 built by: NET481REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    ----------------------------------------
    Newtonsoft.Json
        Assembly Version: 13.0.0.0
        Win32 Version: 13.0.2.27524
        CodeBase: file:///C:/Program%20Files/Toec/Newtonsoft.Json.DLL
    ----------------------------------------
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (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 computer
    rather than be handled by this dialog box.
    
    
    
    
    

    I have had the Toems connection working before, and the unattend and setupcomplete files are available on the server. Everything is off the domain at the moment, so not sure if that makes a difference.

    Any ideas?

    Thanks.