Login Page - Create Account

Support Board


Date/Time: Sun, 22 Jun 2025 06:25:29 +0000



File not found or may be missing SCDLLName

View Count: 1000

[2022-03-30 00:28:21]
onnb - Posts: 663
We have the following happening:

1. We build a custom study
2. We upload the dll to an account for distribution
3. The user then restarts the SC and the new dll file is downloaded
4. The existing chartbooks and Add Custom Studies show "File not found or may be missing SCDLLName"
5. We then manually copy the same dll file from step 1 into the Data folder and it works ok

We are seeing this for some users, not all. We can reproduce this as needed.
Do you have any idea what might cause this?
[2022-03-30 00:52:35]
Sierra Chart Engineering - Posts: 104368
We do not know what the problem is. You are in possession of more information and knowledge about this than we are. What is the specific cause of the problem? We would like to know.

Logically if the custom studies DLL file is in the data folder, why is it the operating system is a having a problem loading it?

If you update to the latest Sierra Chart version, there is more logging information given in the Message Log with loading a DLL file. This may give you more of a clue about this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-03-30 01:03:39]
onnb - Posts: 663
I will update to latest and check the log.

Logically if the custom studies DLL file is in the data folder, why is it the operating system is a having a problem loading it?

Agree but have a questions about this: notice that the message speaks of the SCDLLName. Seeing that I was suspicious it is something that SC having an issue with and not at the OS level. Do you have any insight what can cause that specific message to come up?
[2022-03-30 01:09:36]
Sierra Chart Engineering - Posts: 104368
No. And we would need to see if the newer version is producing any additional log messages relating to this DLL loading.

We would think so.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-03-30 04:00:40]
onnb - Posts: 663
I see this in the Message Log, does it give a clue?

InternalVersionNumberToFileNameMap is empty for PolarisTradingGroup | 2022-03-29 21:26:54.692 *
Error loading: C:\SierraChart_New\Data\PolarisTradingGroup.dll. File not found or may be missing SCDLLName line. | 2022-03-29 21:26:54.692

[2022-03-30 07:50:44]
Sierra Chart Engineering - Posts: 104368
Need full log.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-03-30 16:25:08]
onnb - Posts: 663
Full log attached
Private File
[2022-03-30 17:13:09]
Sierra Chart Engineering - Posts: 104368
This log does not even show that file as present:

DLLs: PolarisTradingGroupATABeta_2151_64.dll, PolarisTradingGroupATA_2151_64.dll, PolarisTradingGroupFree_2151_64.dll, PolarisTradingGroupTTTLines_2151_64.dll, PolarisTradingGroup_DV_Strategy_64.dll, PTGAtrRangeProjectionsAutoUpload_2151_64.dll, PtgAutoTrader.dll, PTGTradeAlerts - Copy.dll, PTGTradeAlerts.dll, RipePlum_ReversalBarPredictor.dll, RipePlum_VarReversalBarPredictor.dll, T29-AverageVolumeAtTimeOfDay_64.dll, T29DevTools.dll, Trade29.dll, TradeMomentumStrategy(backup).dll, TradeMomentumStrategy.dll, TradeMomentumStrategy_64.dll | 2022-03-29 21:26:49.776

So it makes sense you would get these:
InternalVersionNumberToFileNameMap is empty for PolarisTradingGroup | 2022-03-29 21:26:54.692 *
Error loading: C:\SierraChart_New\Data\PolarisTradingGroup.dll. File not found or may be missing SCDLLName line. | 2022-03-29 21:26:54.692

And then it is downloaded here subsequently:
File has been written to: C:\SierraChart_New\Data\PolarisTradingGroup_2151_64.dll. File Size: 1543680 bytes. | 2022-03-29 21:27:02.221
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-03-30 17:21:48]
onnb - Posts: 663
Got it, that makes sense

They reproduced it like this:

1. Close SC
2. Delete the dll file (so to force a download of the file from the server)
3. Open SC
4. Navigate to Add Custom Study and get the error message that SC cannot load the dll
[2022-03-30 17:32:07]
Sierra Chart Engineering - Posts: 104368
The question is whether the DLL exists at the time they are trying to add it? Maybe they are not waiting enough time.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2022-03-30 17:32:14
[2022-03-30 17:54:23]
User719512 - Posts: 316
Side question here for onnb:
How many studies do you have in your dll? Are you building a release build (vs debug)? I have 65 studies in my "development" DLL (26962 lines of code) and it's half the size of yours (737kb vs 1543kb), and our "customer" version with 16 studies is 314kb.

For Sierra:
If Sierra Chart knows it needs to download DLLs, should the program block before allowing users to open charts? Most users do not watch the message log for this, so this might be an opportunity to increase usability and customer satisfaction.
[2022-03-30 18:18:26]
Sierra Chart Engineering - Posts: 104368
should the program block before allowing users to open charts?
There is already a pause for the files to first download before Chartbooks which are set automatically open, do open.

So this has already been implemented but we are not going to prevent charts or Chartbooks from being manually opened.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-04-02 01:09:32]
onnb - Posts: 663
There is already a pause for the files to first download before Chartbooks which are set automatically open, do open.
So this has already been implemented but we are not going to prevent charts or Chartbooks from being manually opened.

From what we observe the issue is with the above. The chartbooks that opened automatically give this error when the dll is downloaded.

I tested the following: I disable automatically opening, wait enough time (confirm the dll is downloaded) and then manually open chartbooks it works fine.

The current workaround we suggested to users is that when this happens, close SC and then reopen it. That is the easiest and when they do that it then works ok.

For what its worth, since we understand the issue and found a workaround, the urgency for us is reduced.
[2022-04-02 02:19:55]
onnb - Posts: 663
Side question here for onnb:Are you building a release build (vs debug)?

Release
[2022-04-04 13:53:23]
Sierra Chart Engineering - Posts: 104368
We will check on this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account