- ago
How can I prevent this error message from appearing in the Log Viewer?

QUOTE:
4/11/2024 05:48:12:941
WL8
Exception creating StreamingProviderBase AlpacaStreaming: Exception has been thrown by the target of an invocation.
TargetInvocationException
Exception has been thrown by the target of an invocation. Inner Exception: Could not load file or assembly 'Alpaca.Markets, Version=7.0.0.10, Culture=neutral, PublicKeyToken=16fb7a27ac3b9689'. The system cannot find the file specified.
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at WealthLab.Core.TypeLoader.CreateInstance(Type t)
at WealthLab.Core.FactoryBase`1.Initialize()
0
132
Solved
15 Replies

Reply

Bookmark

Sort
Cone8
 ( 25.44% )
- ago
#1
No idea.
We don't know anything about your account, configuration, or even the version of the Alpaca provider you have installed.
0
Glitch8
 ( 11.81% )
- ago
#2
If you don't use Alpaca, go into the WL8 installation folder and delete WealthLab.Alpaca.dll.
0
Best Answer
- ago
#3
This is what I get in the Log Viewer upon startup of WL, after deleting Alpaca DLL and folder

QUOTE:
4/12/2024 07:25:36:173
WL8
Exception creating StreamingProviderBase AlpacaStreaming: Exception has been thrown by the target of an invocation.
TargetInvocationException
Exception has been thrown by the target of an invocation. Inner Exception: Could not load file or assembly 'Alpaca.Markets, Version=7.0.0.10, Culture=neutral, PublicKeyToken=16fb7a27ac3b9689'. The system cannot find the file specified.
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at WealthLab.Core.TypeLoader.CreateInstance(Type t)
at WealthLab.Core.FactoryBase`1.Initialize()
0
- ago
#4
You deleted a different file and not the right one.
0
Glitch8
 ( 11.81% )
- ago
#5
It looks like you deleted the Alpaca FOLDER in the WL8 user data folder, not the WealthLab.Alpaca.dll file from the WL8 INSTALLATION folder as instructed.

You can easily get to the installation folder by right clicking on the WL8 desktop icon and selecting "Open File Location" from the popup menu.
0
- ago
#6
He's probably deleted just Alpaca.Markets.dll.
0
- ago
#7
This is what I get opening folder from right-click WL icon. Is this where you want me to be? No Alpaca here. Please provide a path to the folder.

0
- ago
#8
Care to Search the folder in Explorer or scroll down?
0
- ago
#9
That's the right folder, but the file name of the extension may not start with "Alpaca". For example, the IQFeed extension is called "WealthLab.IQFeed.dll".
0
Glitch8
 ( 11.81% )
- ago
#10
Please read Post #2 for instructions.
0
- ago
#11
QUOTE:
That's the right folder, but the file name of the extension may not start with "Alpaca".

You're right @superticker. Thanks. Would have been helpful to know the name of the file I was looking for.
0
Glitch8
 ( 11.81% )
- ago
#12
I specified the name of the file precisely in Post #2
0
- ago
#14
QUOTE:
I specified the name of the file precisely in Post #2

I'm sorry, Glitch. I somehow missed that :(
0
- ago
#15
Please ignore/ delete Post #13

There was a hidden Windows dialog that indicated a WL shutdown was required to delete the file. Done. Starts up without error now. Thanks.
1

Reply

Bookmark

Sort