Missing Assembly Reference 10.1.400 upgrade to 10.2.300

Hello,

We are attempting to get a form customization upgraded on our DEV server for testing.
We are testing an upgrade from 10.1.400 to 10.2.300…

Error: CS0246 - line 104 (1640) - The type or namespace name ‘UD02Impl’ could not be found (are you missing a using directive or an assembly reference?)

Here is line 104:

private static UD02Impl UD02BO;

and additionally…

UOMClassBO = WCFServiceSupport.CreateImpl((Ice.Core.Session)oTrans.Session, UOMClassImpl.UriPath);

I have dealt with similar errors in past upgrades and have read a some other KB(s) on this topic.
They usually are focused on the Assembly References in the customization.

In Custom Assembly Reference Manager we have included both of these as Custom Assebmlies:

Ice.Adapters.UD02
Ice.Contracts.BO.UD02

(Both of these references are in our PROD (10.1.400) and DEV (10.2.300) where the code passes successfully.

If anyone has any hints on what may of changed between the above versions please let me know.
Any help is much appreciated.
If these is more information needed, I can supply.

In general the routine that is run on this is that when someone chooses (or changes) the Plant in POEntry… we reach out to the UD02 table and pull in some data to the form.

Thanks,
JM

Have you tried removing the assemblies, saving, then adding them back in?

There is a bug that will remove a using (see below) each time you validate a customization and I’m guessing this is what you are running into. Just add the namespace in front of the UD02Impl class for each instance.

using Ice.Proxy.BO;

So

private static UD02Impl UD02BO;

becomes

private static Ice.Proxy.BO.UD02Impl UD02BO;
2 Likes

Thanks,

I just tried the remove/re-add trick with no luck.
I removed all the assemblies (even the ones that work).
Saved and logged out.
Re-added all and still just get the one error for UD02

Thanks Mr. Koch.

That did it.

There is a new error now… but it related to something entirely different.

I appreciate the help.

I am also testing out 10.2.300 form 10.1.400. For use it was pretty smooth, but we don’t have a lot of customizations. How is the process going for you at this point? Anything to watch for that you have experienced?