Code Monkey home page Code Monkey logo

Comments (6)

thelsing avatar thelsing commented on July 28, 2024

The path to the dlls is probably wrong. You need to use C:\Program Files (x86)\ETS5\CV\4.0.1997.50261 or something similar. Or you can try the dev branch with the ETS5 dlls.

from createknxprod.

thelsing avatar thelsing commented on July 28, 2024

BTW you can copy the content of a message box by pressing CTRL+C when the message box is open.

from createknxprod.

mjm987 avatar mjm987 commented on July 28, 2024

The Exception is not because of a wrong path: I tried with all available Directories
from C:\Program Files (x86)\ETS5\CV\4.0.1477.15773
up to recent C:\Program Files (x86)\ETS5\CV\5.6.241.33672
and always get the same Error.
If I define a invalid path there is another error because of missing Convert DLL.
Possibly it is because I have .NET 4.8 installed but can't revert to 4.7.2 because Windows does not allow to revert to older releases.

from createknxprod.

thelsing avatar thelsing commented on July 28, 2024

I don't think that the .net framework version is the issue. You can try the dev branch. It uses the dlls in the main ETS folder. But you need the update the schema version in the old xml files in order to open them.

from createknxprod.

mjm987 avatar mjm987 commented on July 28, 2024

I compiled the dev branch with .NET 4.7.2 Developnent tools but get the same Error below.
Btw: The localisation of my Windows is swiss (DE-CH) but I also tried to change UICulture and Culture in App.config to "en" but this neither solves the problem.

System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.InvalidOperationException: Fehler im XML-Dokument (2,2). ---> System.InvalidOperationException: wurde nicht erwartet.
bei Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderKNX.Read239_KNX()
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
bei Knx.Ets.Xml.ObjectModel.Document.Load(Stream stream, Type documentType)
bei Knx.Ets.Xml.ObjectModel.Document.Load(String filename, Type documentType)
bei Knx.Ets.Xml.ObjectModel.DocumentSet.LoadDocument(String filename)
bei Knx.Ets.Converter.ConverterEngine.ConverterEngine.BuildUpRawDocumentSet(String[] inputFiles)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bei CreateKnxProd.MainWindowViewModel.Export(Object param) in d:\a\1\s\MainWindowViewModel.cs:Zeile 608.

from createknxprod.

mjm987 avatar mjm987 commented on July 28, 2024

The problem seems to be the ETS5 DLL Version.
With following one (of five) version directories exporting of knxprod works successfully!

C:\Program Files (x86)\ETS5\CV\4.0.1997.50261

Thx for help!

from createknxprod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.