Comments (5)
Hello! I really need some help. The issue seems to be that it cannot load the MDYMOBarcode.dll, which is in the folder and is the proper version, so it is not clear why it will not load. I tried to check dependencies but found none.
What do I need to do to get this working?
InnerException: Could not load file or assembly 'MDYMOBarcode.dll' or one of its dependencies. The specified module could not be found.
from dymo-connect-framework.
Here is the full exception I get in my log:
InnerException: There is an error in XML document (10, 4).
StackTrace: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at DYMO.Common.XMLSerializationHelpers.Deserialize[T](Stream mStream)
at DYMO.DLS.Runtime.Label.Load(Stream stream, Boolean wrapException)
at DYMO.DLS.Runtime.Label.Load(XmlDocument doc, Stream responseStream)
at DYMO.DLS.Runtime.Label.Load(String uri, IWebProxy webProxy)
InnerException: There is an error in XML document (10, 4).
StackTrace: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at DYMO.DLS.Runtime.DieCutLabel.ReadXml(XmlReader reader)
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDieCutLabel.Read1_DieCutLabel()
InnerException: There is an error in XML document (10, 4).
StackTrace: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at DYMO.DLS.Runtime.DieCutLabel.ObjectInfo.ReadXml(XmlReader reader)
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderObjectInfo.Read1_ObjectInfo()
InnerException: Exception has been thrown by the target of an invocation.
StackTrace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAddressObject.Read10_AddressObject(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAddressObject.Read11_AddressObject()
InnerException: Could not load file or assembly 'MDYMOBarcode.dll' or one of its dependencies. The specified module could not be found.
StackTrace: at DYMO.DLS.Runtime.BarcodeLib..ctor()
at DYMO.DLS.Runtime.BarcodeRenderer..ctor(BarcodeType type, String text, BarcodeSize barcodeSize, HumanReadablePosition hrtPosition, Int32 ecLevel)
at DYMO.DLS.Runtime.AddressObject..ctor()
Unable to load label template 'C:\BTPro\Labels\DymoBookLandscape.label'
at DYMO.DLS.Runtime.Label.Load(String uri, IWebProxy webProxy)
at DYMO.Label.Framework.Label.Open(String uri)
at LabelPrinter.DymoLabel.Print() in G:\Ubix\LabelPrinter\DymoLabel.cs:line 331
from dymo-connect-framework.
Hey @booktrakker, could you please check you have DYMO Label Software correctly installed on your PC? Since you are using DYMO Label Framework then you will need all the components from DLS installed.
from dymo-connect-framework.
Hello,
We verified that they have the latest version of Dymo Label Framework installed. I have reproduced this issue on a system here, and it also has the full Dymo Label Framework installed. Nothing I do resolves the problem, and not knowing what the dependency issue relates to is hampering my efforts. What would cause the dll to fail to load, and what would cause the Report Load method to fail when there is no permission or security issue?
Please advise, the client is being very patient but needs a solution ASAP.
from dymo-connect-framework.
With both Dymo Connect and the SDK installed this error is produced, indicating that it cannot read the Label Definition file, which I have code that opens and reads. Why can't the SDK open the file when my code can?
InnerException: There is an error in XML document (10, 4).
StackTrace: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at DYMO.Common.XMLSerializationHelpers.Deserialize[T](Stream mStream)
at DYMO.DLS.Runtime.Label.Load(Stream stream, Boolean wrapException)
at DYMO.DLS.Runtime.Label.Load(XmlDocument doc, Stream responseStream)
at DYMO.DLS.Runtime.Label.Load(String uri, IWebProxy webProxy)
InnerException: There is an error in XML document (10, 4).
StackTrace: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at DYMO.DLS.Runtime.DieCutLabel.ReadXml(XmlReader reader)
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDieCutLabel.Read1_DieCutLabel()
InnerException: There is an error in XML document (10, 4).
StackTrace: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at DYMO.DLS.Runtime.DieCutLabel.ObjectInfo.ReadXml(XmlReader reader)
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderObjectInfo.Read1_ObjectInfo()
InnerException: Exception has been thrown by the target of an invocation.
StackTrace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAddressObject.Read10_AddressObject(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAddressObject.Read11_AddressObject()
InnerException: Could not load file or assembly 'MDYMOBarcode.dll' or one of its dependencies. The specified module could not be found.
StackTrace: at DYMO.DLS.Runtime.BarcodeLib..ctor()
at DYMO.DLS.Runtime.BarcodeRenderer..ctor(BarcodeType type, String text, BarcodeSize barcodeSize, HumanReadablePosition hrtPosition, Int32 ecLevel)
at DYMO.DLS.Runtime.AddressObject..ctor()
Unable to load label template 'C:\BTPro\Labels\DymoBookLandscape.label'
at DYMO.DLS.Runtime.Label.Load(String uri, IWebProxy webProxy)
at DYMO.Label.Framework.Label.Open(String uri)
at LabelPrinter.DymoLabel.Print() in G:\Ubix\LabelPrinter\DymoLabel.cs:line 331
Here is what I see just prior to the above error when I try to read the same label definition file one line prior to the call to the SDK:
Attempted to open Label File C:\BTPro\Labels\DymoBookLandscape.label:
Landscape Small30336 30336 1 in x 2-1/8 in StoreName Rotation0 False True Left Top ShrinkToFit True False StoreName False AboveAddress Price Rotation0 False True Left Top ShrinkToFit True False Price False AboveAddress AuthorTitle Rotation0 False True Left Top None True False Author/Title False AboveAddress Location Rotation0 False False Left Top ShrinkToFit True False Location Barcode Rotation0 False True 123456789123 Code128Auto Small Bottom None 0 Centerfrom dymo-connect-framework.
Related Issues (20)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Possibility directly print from JS lib, avoid Dymo Connect Software installation and maintenance. (node.js e.g.)
- DYMO Connect (1.4.3.131) Mac Ventura slow printing. HOT 2
- dymo.label.framework.openLabelFile() Fails opening chrome-extension file due to unknown URI PreFix
- Emoji support
- 450 label printer connected to dymo connect web service randomly goes to error mode HOT 1
- DYMO Connect (Version 1.4.3.103) - Issue with QR Code Data Nodes During Label Printing
- openLabelXML not working in WKWebView on macOS Ventura 13.4
- PrintLabel leads to `The object is owned by another thread: Bad request`
- need a typescript version of this framework HOT 1
- Print queue job isn't removed once printing is complete and multiple prints are performed
- To print specific text in bold.
- What is the latest version to be used? HOT 1
- Does not JS framework support LabelSetBuilder anymore?
- QR code not reflecting setObjectText value
- Windows Installer error 1719
- Global secure Access, DYMO printers are disconnected with it
- DYMO Connect DOSing network print spooler
- Unable to connect to DYMO Connect
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 dymo-connect-framework.