Content Management and Capture

 View Only
  • 1.  Datacap 9.1.9 iFix 005 OOB Compile Issue

    Posted 29 days ago

    I have Datacap 9.1.9.iFix005 installed on my system.  I have the IBM-Datacap-DDK-9.1.9-ifix-005.zip downloaded from the Datacao Developer Kit on GitHub.  When I open the solution with Visual Studio and try to compile it with zero changes, it gives errors about dcDTlib and dotPanelBase not being found.  

    The actual error message is below.  I have two questions:  

    Why would I get any error at all when it is out of the box and no changes made?

    How do I fix it?

    Error (active) CS0246 The type or namespace name 'dcDTlib' could not be found (are you missing a using directive or an assembly reference?)
    DotEditPanels \\lrd1fil3\imaging\admin\Datacap\VStudio\Datacap-DDK-DCDesktop-Custom-Panels-9.1.9-ifix-005\DotEditPanels\Universal.cs 17
     
    Error (active) CS0246 The type or namespace name 'dotPanelBase' could not be found (are you missing a using directive or an assembly reference?)
    DotEditPanels \\lrd1fil3\imaging\admin\Datacap\VStudio\Datacap-DDK-DCDesktop-Custom-Panels-9.1.9-ifix-005\DotEditPanels\Universal.cs 21



    ------------------------------
    Danny Mann
    ------------------------------


  • 2.  RE: Datacap 9.1.9 iFix 005 OOB Compile Issue

    Posted 28 days ago

    Hi

    To resolve your first error, please remove the dcDTlib reference and re-add it from the dcDesktop directory.

    Regards

    RP



    ------------------------------
    RP
    ------------------------------



  • 3.  RE: Datacap 9.1.9 iFix 005 OOB Compile Issue

    Posted 28 days ago

    Thank you very much!  Yes, when I remove the reference and re-add it from the dcdesktop directory it does compile.  Of course now I have other issues.  Now if I try to open the Universal.cs (or any other) in design view, it gives a "Class not registered..." error.  See attachments for the snippets of the error and call stack. From researching I know that this means there is something that is not registered or installed or something.  However, how can I find out what needs to be registered?  The Call Stack is below:

    at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
    at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
    at System.Windows.Forms.AxHost.CreateInstance()
    at System.Windows.Forms.AxHost.GetOcxCreate()
    at System.Windows.Forms.AxHost.set_Site(ISite value)
    at System.ComponentModel.Container.Add(IComponent component, String name)
    at System.ComponentModel.Design.DesignerHost.PerformAdd(IComponent component, String name)
    at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
    at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
    at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
    at System.ComponentModel.Design.Serialization.ComponentCodeDomSerializer.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)
    at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
    at System.ComponentModel.Design.Serialization.CodeDomSerializer.DeserializeStatementToInstance(IDesignerSerializationManager manager, CodeStatement statement)
    at System.ComponentModel.Design.Serialization.CodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
    at System.Windows.Forms.Design.ControlCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
    at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.DeserializeName(IDesignerSerializationManager manager, String name, CodeStatementCollection statements)

    Any help or guidance is greatly appreciated.



    ------------------------------
    Danny Mann
    ------------------------------