不用理会。但分发时需要cellctrl5.ocx以及其他控件的注册

解决方案 »

  1.   

    利用的是VS.NET自带的安装与部署
      

  2.   

    的确是不用理会
    但是利用制作好的安装程序 到其他机器上安装后 运行软件 有部分功能有异常
    关调用实时(JIT)调试而不是此对话框的详细信息,
    请参阅此消息的结尾。************** 异常文本 **************
    System.IO.FileNotFoundException: 找不到指定的模块。
       at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
       at System.Windows.Forms.AxHost.CreateWithoutLicense()
       at System.Windows.Forms.AxHost.CreateWithLicense(String license)
       at System.Windows.Forms.AxHost.CreateInstance()
       at System.Windows.Forms.AxHost.GetOcxCreate()
       at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
       at System.Windows.Forms.AxHost.CreateHandle()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.AxHost.EndInit()
       at XypjMis.bgsc.tzql.InitializeComponent() in D:\Program Files\XypjMislatest\XypjMis\bgsc\tzql.cs:line 424
       at XypjMis.bgsc.tzql..ctor() in D:\Program Files\XypjMislatest\XypjMis\bgsc\tzql.cs:line 64
       at XypjMis.MDIChild_Bxbg..ctor() in D:\Program Files\XypjMislatest\XypjMis\MDIChild_Bxbg.cs:line 41
       at XypjMis.MainFrm.OpenBxbgWindow(String sel_nf) in D:\Program Files\XypjMislatest\XypjMis\MainFrm.cs:line 783
       at XypjMis.MainFrm.menu_bxbg_Click(Object sender, EventArgs e) in D:\Program Files\XypjMislatest\XypjMis\MainFrm.cs:line 762
       at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.MenuItem.PerformClick()
       at Sunisoft.IrisSkin.xa427f1b2281f554b.x546a75e1b51ff744(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc)
       at Sunisoft.IrisSkin.InternalControls.x63b674d7043ca4f7.OnClick(EventArgs e)
       at Sunisoft.IrisSkin.InternalControls.x39553bc85694d7b9.x0760506d6abf77a2(x3c147cb3670a915a xd2a8bb4342ab4ef6, Boolean xacc37ebdd71fcc44, Boolean xec106df5fe2fbc8e)
       at Sunisoft.IrisSkin.InternalControls.x39553bc85694d7b9.xa9f9739090793818(Message& x6088325dec1baa2a)
       at Sunisoft.IrisSkin.InternalControls.x39553bc85694d7b9.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)
    ************** 已加载的程序集 **************
    mscorlib
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.2300
        基本代码: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
    ----------------------------------------
    XypjMis
        程序集版本: 1.0.2743.28021
        Win32 版本: 1.0.2743.28021
        基本代码: file:///C:/Program%20Files/dqpi/XypjMisSetup/XypjMis.exe
    ----------------------------------------
    System.Windows.Forms
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.2300
        基本代码: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
    ----------------------------------------
    System
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.2300
        基本代码: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    ----------------------------------------
    System.Drawing
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.2300
        基本代码: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
    ----------------------------------------
    IrisSkin
        程序集版本: 2005.9.25.10
        Win32 版本: 2005.9.25.10
        基本代码: file:///C:/Program%20Files/dqpi/XypjMisSetup/IrisSkin.DLL
    ----------------------------------------
    System.Xml
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.2300
        基本代码: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
    ----------------------------------------
    System.Data
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.2300
        基本代码: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
    ----------------------------------------
    System.EnterpriseServices
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.2300
        基本代码: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
    ----------------------------------------
    mscorlib.resources
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.573
        基本代码: file:///c:/windows/assembly/gac/mscorlib.resources/1.0.5000.0_zh-chs_b77a5c561934e089/mscorlib.resources.dll
    ----------------------------------------
    System.Windows.Forms.resources
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.573
        基本代码: file:///c:/windows/assembly/gac/system.windows.forms.resources/1.0.5000.0_zh-chs_b77a5c561934e089/system.windows.forms.resources.dll
    ----------------------------------------
    AxInterop.MSChart20Lib
        程序集版本: 2.0.0.0
        Win32 版本: 2.0.0.0
        基本代码: file:///C:/Program%20Files/dqpi/XypjMisSetup/AxInterop.MSChart20Lib.DLL
    ----------------------------------------
    MSDATASRC
        程序集版本: 7.0.3300.0
        Win32 版本: 7.00.9466
        基本代码: file:///c:/windows/assembly/gac/msdatasrc/7.0.3300.0__b03f5f7f11d50a3a/msdatasrc.dll
    ----------------------------------------
    Interop.MSChart20Lib
        程序集版本: 2.0.0.0
        Win32 版本: 2.0.0.0
        基本代码: file:///C:/Program%20Files/dqpi/XypjMisSetup/Interop.MSChart20Lib.DLL
    ----------------------------------------
    System.resources
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.573
        基本代码: file:///c:/windows/assembly/gac/system.resources/1.0.5000.0_zh-chs_b77a5c561934e089/system.resources.dll
    ----------------------------------------
    Accessibility
        程序集版本: 1.0.5000.0
        Win32 版本: 1.1.4322.573
        基本代码: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
    ----------------------------------------
    AxInterop.CELL50Lib
        程序集版本: 1.0.0.0
        Win32 版本: 1.0.0.0
        基本代码: file:///C:/Program%20Files/dqpi/XypjMisSetup/AxInterop.CELL50Lib.DLL
    ----------------------------------------************** JIT 调试 **************
    计算机的配置文件(machine.config)的 
     system.windows.forms 节中必须设置 jitDebugging 值。
    编译应用程序时还必须启用\r\n调试。\r\n\r\n例如: \r\n\r\n<configuration>\r\n    <system.windows.forms jitDebugging="true" />\r\n</configuration>\r\n\r\n启用 JIT 调试后,任何未处理的异常\r\n都将被发送到此计算机上注册的 JIT 调试器,\r\n而不是由此对话框处理。\r\n
      

  3.   

    cellctrl5.ocx需要打包的里面,而且可能还要执行以下regsvr32注册一下,才能正常使用。
    http://blog.csdn.net/zhzuo/archive/2005/05/31/385140.aspx
      

  4.   

    第一个OCX需要添加到安装项目中,并设置注册属性为Com注册.与OFFICE相关的可能需要客户端安装OFFICE环境.