Derek Price
|
|
Group: Forum Members
Posts: 51,
Visits: 376
|
Has anyone had issues displaying RequiredFields from the Design view of a BO? Whenever we try clicking on the UI Editor for the collection, we get this message (also attached as image):
---------------------------
MicroFour StrataFrame Extensibility
---------------------------
An error occurred while attempting to load this type editor:
Exception has been thrown by the target of an invocation.
---------------------------
OK
---------------------------
Any ideas?
Thanks,
Derek
|
|
|
Ivan George Borges
|
|
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
|
Also, if you open 1 specific BO that throws you the error and you know which fields should be required, if you right-click the RequiredFields on the Properties sheet and choose Reset, does it then work to mark them back?
|
|
|
Derek Price
|
|
Group: Forum Members
Posts: 51,
Visits: 376
|
I never even knew that Reset existed! I tried it and now get this error message when clicking on the required fields:
---------------------------
MicroFour StrataFrame Extensibility
---------------------------
An error occurred while attempting to load this type editor:
Error HRESULT E_FAIL has been returned from a call to a COM component.
---------------------------
OK
---------------------------
I checked the BO designer file and it definitely wiped out the required fields, though... I also rebuilt all BOs and was back to my original error message:
---------------------------
MicroFour StrataFrame Extensibility
---------------------------
An error occurred while attempting to load this type editor:
Index was outside the bounds of the array.
---------------------------
OK
---------------------------
|
|
|
Edhy Rijo
|
|
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
|
Hi Derek, Did you ever try reinstalling .Net 2.0 runtimes? it would not hurt anything in your configuration by re-installing the correct version for your OS and see if that fix this uncommon problem.
Edhy Rijo
|
|
|
Derek Price
|
|
Group: Forum Members
Posts: 51,
Visits: 376
|
Hi Edhy,
I was a little apprehensive to try this, but figured I'd give it a try since nothing else is working. I tried doing a repair, but clicking on the "Change" button in the Add/Remove dialog did nothing. I tried removing, but got the attached dialog. So it looks like it's not very easy to uninstall earlier frameworks. I checked the link the dialog pointed to, but it goes to the readme file of the NET3 framework. It looks like I need to uninstall NET3 first, then NET2? I also tried downloading the NET2 FX from MSDN, but when I run that it tells me it can't do anything and to remove it from the Add/Removed app. All this for RequiredFields...
Any suggestions?
|
|
|
Edhy Rijo
|
|
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
|
Hi Derek, From your image, I noticed you are trying to uninstall the SP2 of .Net 2.0. I was referring to .Net 2.0 (no service pack), I know it can be confusing, so I look at some links that will help find the correct one for your OS: Microsoft .NET Framework Version 2.0 Redistributable Package (x86)Microsoft .NET Framework Version 2.0 Redistributable Package (x64).Net Framework 2.0 (All)In my case since I have a 64bit OS, I use the x64 one. Download the one you need and try again.
Edhy Rijo
|
|
|
Derek Price
|
|
Group: Forum Members
Posts: 51,
Visits: 376
|
Hi Edhy,
Thanks for the links. I tried the x86 (just WinXP 32-bit here), but got no further:
---------------------------
Microsoft .NET Framework 2.0 Setup
---------------------------
Setup cannot continue because this version of the .NET Framework is incompatible with a previously installed one. For more information, see http://support.microsoft.com/support/kb/articles/q312/5/00.asp
---------------------------
OK
---------------------------
According to the link, I need to uninstall NET2.0 SP1 first. I'm getting nervous again! I checked my Add/Remove app and there's no SP1. In fact, I only have the .NET 2.0 SP2 listed (attached).
Thanks,
Derek
|
|
|
Edhy Rijo
|
|
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
|
Hi Derek, From the same download page try this one .NET Framework 2.0 Software Development Kit (SDK) (x86) Looking at your image and comparing it with mine ( see attached image), I have above version but x64, so in your case x86 should do the job. And do not worry about uninstalling/re-installing the runtime, it should not trash your OS as long as you are able to re-install them.
Edhy Rijo
|
|
|
Derek Price
|
|
Group: Forum Members
Posts: 51,
Visits: 376
|
Well, I tried the SDK link and that installed with no errors, but made no difference in showing required fields.
Thanks anyway!
|
|
|
Ivan George Borges
|
|
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
|
That is really strange... Have you tried setting up a Virtual Machine from scratch and then installing the basics to test it over there? If it works, then you could go on adding other stuff till you got an idea of what could be the issue.
|
|
|
Derek Price
|
|
Group: Forum Members
Posts: 51,
Visits: 376
|
We'll probably do that at some point. Right now it's just an annoyance for us and we do have a workaround. If we ever figure it out, I'll post my findings.
Thanks all for the help
|
|
|
Ivan George Borges
|
|
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
|
You're welcome, Derek. We will be around when you get some time to investigate this further.
|
|
|