Hi,
I'm getting the some error messages while trying to create dataminer services through a connector. The connector makes use of a service template and creates/sends the SLNet message for creating the service. The connector was able to create most of the services, however there are a couple of them that are failing and retrieving the following messages:
- Error: Error creating service: Unable to load the file.
or
- Error: Error creating service: Exception from HRESULT: 0x8004024D
From the dataminer development library I can see that 0x8004024D is "SL_UNABLE_TO_LOAD_FILE - 0x0004024D - File is already loaded".
Anyone as an idea of what the issue might be?
kind regards,
Hi Flavio,
This error gets thrown when SLXml failed to correctly load a particular XML file. The reason for this could be
- The file is encrypted and could not be decrypted
- There is an error in the XML-Syntax
- SLXML does not know the type of the file.
Another reason could be that SLDMS is failing to write the changed files to the SyncInfo file.
SLXml.txt or SLDMS.txt logfiles should provide more info on why this error is thrown.
Hi Brent,
Thank you for your input. From the SLXML file we were able to see that the service creation was failing due to the presence of unicode characters in the services’ properties.
After removing these unicode characters, failing services were successfully created.