Comments (6)
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.
BTW you can copy the content of a message box by pressing CTRL+C when the message box is open.
from createknxprod.
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.
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.
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.
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)
- English version HOT 4
- Add DatapointType to knxprod HOT 1
- Add support for KNX data secure
- Interaction between Parameters and knx stack. HOT 4
- Parameters Values. HOT 4
- Please, make new .zip release HOT 1
- "ReplacesVersions" not working in Release_23 HOT 6
- Show the version number and currently edited file name/path in the headline
- Behavior of "MediumTypes"
- Check for not allowed characters HOT 1
- "I" flag (Init Read / Initialisieren) is missing HOT 1
- New version issues HOT 1
- problems with my sonoff has a physical participant address
- xml to knxprog
- Export fails with MissingMethod Exception HOT 3
- Question: Where does the limit (50) for "Max SecurityGroupKeyTable Entries" come from?
- Program failed to download to device (ETS tried to write a protected or a non existing memory block) .
- how to assigned the dpt to specfied sub-dpt type HOT 4
- Question regarding DIY Arduino solutions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from createknxprod.