02-06-2014 06:26 AM
Hi all,
All my applications that I have developed recently had the same exception when it reached to the designer class file(COM EXCEPTION OCCURED : Unknown error.)
on line :((System.ComponentModel.ISupportInitialize)(this.axEntryPoint1Button)).EndInit();
It happend suddenly when I haven't been using the applications for a couple of days.
Also my licence is activate.
Please someone can help???
Tnx
02-06-2014 09:11 AM
Settings for the activex controls are saved in your .resx files that go along with your .cs files. Did those perhaps get deleted or modified externally to the visual studio designer? Does TestStand (i.e. the sequence editor) generally still work?
-Doug
02-06-2014 09:31 AM
Hi Doug,
The NI teststand editor is working also ,all the GUI examples are working too.
As far as I know the relevant files haven't been modified.
The strange thing that all the applications have the same exception.So it isn't an individuall problem.
Tnx
02-07-2014 09:47 AM
Do you have the platform set to x86 for your .NET exe projects? You must set them to x86, rather than AnyCPU, or they will run as 64-bit programs on a 64-bit OS, which will not work with TestStand's 32-bit ActiveX controls.
-Doug
02-09-2014 12:40 AM
Hi Doug,
Yes I have set all the project to x86 and my OS is 32bit.
02-09-2014 11:27 AM
Do you have this problem with any of the C# projects that ship with TestStand such as the Full-Featured user interface? What verison of Visual Studio are you using? Have you updated visual studio recently? (for example, installed new service packs or patches?)
-Doug