My colleagues and I have been getting the same error message for a long time every time we use the "Edit material" function to choose a material from our libraries (see attached file).
We don't know how to correct this error, since we already don't understand its meaning...
Is it still possible to access the materials after the message has been validated?
I suggest you check if all your material libraries listed in the Solidworks options (system options / File locations / Material databases) point to existing folders and if they correspond to those listed in the windows registry (search on the "Material Database Folders" key).
I actually forgot to specify that this error is not blocking, you just have to close it, and the materials window opens normally. All functions are operational.
We use SolidWorks 2016 SP3 on Windows 7 and 10 (same problem).
Attached is our configuration of the locations.
The first link, which cannot be removed in Solid, points to an existing folder that contains only a shader_mapping.dat file .
The 2nd link points to an existing folder on a server common to all our PCs. It is in this folder that we have created our own library of materials.
The 3rd link always comes back automatically, even after deletion. It points to an existing folder that contains only a Custom Materials.sldmat file
Regarding the Windows registry, my computer skills being limited, I can't answer.
Normally the first folder should contain the standard Solidworks databases:
For the second folder you should not put the path with a letter because if it is not the same on all PCs then it's dead, you should put something like \\server\Solidworks\materials.
The third folder is indeed a folder that comes back by itself (programData)
We get into the habit of deleting the 3 .sldmat libraries from the C disk folder every time we install a PC since we don't use them and it's impossible to ask SolidWorks not to point to this folder.
For the second file, I do not know how to write the address without indicating a letter. But the fact is that many file locations (materials, plans, nomenclatures, revision tables) have a link on this disk P, a letter that is dedicated to a specific server, some evening the company's pc. And we have no problem with all our other features.
For the first point, it allows you to avoid cluttering up useless libraries if not used, so be it.
For the second point, it certainly works if each PC has the same drive letter for this server, it just forces you to connect the network drive identically on each PC and stick to it, it's a choice. To put the path without a letter, just navigate in Windows Explorer to the desired folder but go through "Network" and then recover the path by copying and pasting:
Have you ever checked that it didn't come from your library file, to do this you just have to close Solidworks, rename your library file by putting .old after the extension, restart Solidworks, create an empty part, edit its material and see if you get the message.
New manipulation this morning, with a strange result...
This morning I tried to put the 3 original SolidWorks .sldmat files back in their C:/ directory. For this, I have temporarily requested the administrator rights from my IT department. And against all odds: no more error messages!
To check, I delete these 3 files again to find myself in the initial state. The error message does not return... On the other hand, I still have this "Sustainaly Extras" library line in my Materials window (see screenshot attached) even though I just deleted this library from the C:// directory. I restart the PC just in case, same.
I ask that I be removed from the administrator rights of the C disk, sometimes this is the cause of the error massage. Of course not. I don't have the error message, and still this fake green library.
I don't understand the result. My directories and options are as they were yesterday, but the result is different.
I'm not sure but I wouldn't be surprised if it comes from an inconsistency between the folders, libraries and the windows registry, hence my remark earlier in the posts. It seems to me that the "Sustainaly Extras" library is reserved for the Premium license and if it still appears in the list it must be present in the registry.
The registry keys on the attached image are those of the favorite materials, this is not where you find the paths of the material libraries, you have to look for the "Material Database Folders" keys by the registry search function.
WARNING : playing with the registry is dangerous for the stability of the system and programs so if you don't know anything about it, give it up or ask your IT department.
And far be it from me to go and touch computer functions that I do not master. Consulting the registry is within my reach and does not involve any risk. Whatever happens, I don't change anything.
What I see on your image seems correct to me. As far as I know, it will not be possible for you to delete the "Sustainaly Extras" library line in your Materials window (this is the one that triggers the error message). Delivering the original .sldmat files created the "Sustainability Extras.sldmat" file in the "C:\ProgramData\SOLIDWORKS\SOLIDWORKS xxxx\Sustainability" folder and thus removed the error. On other PCs, I think you just have to put this file in this folder to remove the error message.