我有一个相当奇怪的问题,我在我的机器上部署了2个.NET应用程序。两者都在v2.0上运行。应用程序不启动
现在,虽然其中一个工作顺利,另一个甚至没有开始!而且,它不会抛出任何错误,在事件查看器中看不到任何错误列表。
难以调试。在其他机器上,这两个exe的工作都非常好!
任何已知问题?
编辑: 我发现一个未处理的异常,这是一个例外;
System.Runtime.InteropServices.COMException(0x80040154的):没有注册类(从HRESULT异常:0x80040154的(REGDB_E_CLASSNOTREG)) 在System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(GUID & CLSID,对象punkOuter,的Int32上下文, GUID & IID) 在System.Windows.Forms.AxHost.CreateWithoutLicense(GUID CLSID) 在System.Windows.Forms.AxHost.CreateWithLicense(字符串许可证,GUID CLSID) 在System.Windows.Forms.AxHost.CreateInstanceCore(GUID clsid) at System.Windows.Forms.AxHost.CreateInstance() at System.Windows.Forms.AxHost.GetOcxCreate() at System.Windows.Forms.AxHost.Transit ionUpTo(的Int32状态) 在System.Windows.Forms.AxHost.CreateHandle() 在System.Windows.Forms.Control.CreateControl(布尔fIgnoreVisible) 在System.Windows.Forms.Control.CreateControl(布尔fIgnoreVisible) 在System.Windows.Forms.AxHost.EndInit() 在BrowsingFiles.Form1.InitializeComponent() 在BrowsingFiles.Form1..ctor() 在BrowsingFiles.Program.Main(字串[] args)
由于
对,我使用的是一个COM的AxShowkwave Flash对象。问题是,在任何其他机器上它正确注册。只有少数机器会造成错误!那我怎么去注册COM? 感谢您的帮助! – Jayesh 2010-06-13 06:57:15