Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

SerializationException: OPC.Ua.Core 1.3.342.0 Not Found

More
09 Jun 2020 15:43 #8558 by support
Hello.

Have you serialized the UAEventData with the same, or different version of QuickOPC?

Do you know what is inside the UAEventData, in terms of the actual fields? That is, are there just simple types (such as integers, floats, strings), or are there any more complex types such as structures?

Thank you

Please Log in or Create an account to join the conversation.

More
09 Jun 2020 15:39 #8557 by goosvanbeek
Hello support,

I'm trying to deserialize an UAEventData object in a webapi service and get an serializationException (Could not load file or assembly 'Opc.Ua.Core, Version=1.3.342.0), see the attachment.

I am not able to find where Opc.Ua.Core Version=1.3.342.0 is referenced. I use NuGet for the project references.

Windows 2012
QuickOPC 5.58.192.1 (NuGet)
OPC Unified Architecture .NET Standard 1.4.360.0 (NuGet)
private static UAEventData GetUaEventDataFromByteArray(byte[] input){
            try{
                var bf = new BinaryFormatter();
                using(var stream = new MemoryStream(input)){
                    return (UAEventData)bf.Deserialize(stream);
                }
            }
            catch(Exception exception){
                LocalExceptionProcessor.Process(exception);
            }
 
            return null;
        }

Deserializing an UAAttributeData object has no issues.

Can you help me any further?

Best regards,
Goos van Beek
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.043 seconds