Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT7 cannot run in virtual machine with networked Documents folder?
Collapse
X
-
-
Looks like there is a known limitation.Originally posted by dolomite View PostIs there a known limitation where NT7 cannot run when the Documents folder sits on a network share or on a non-NTFS filesystem?
However, thanks to Koganam's suggestion, surfing through the Google results found me this link.
That link implies that:
SQL CE 3.5 SP1 supports network shares: No
SQL CE 3.5 SP2 supports network shares: Yes
SQL CE 4.0 supports network shares: No
As it turns out, I actually have SQL CE 3.5 SP2 installed (see attached screenshot) and have had it installed from the very beginning. I specifically installed SQL CE before installing NT7, due to some other issues.
I would suggest you completely uninstall NT7, remove the "Documents/NinjaTrader 7" folder to remove all user settings, then first install SQL CE 3.5 SP2, per instructions here, then install NT7.
In that case, using NT7 specifically with SQL CE 3.5 SP2, I wonder if you'd still have the same issues ...
Comment
-
That is the most straight-forward way to do it, and I am presuming that that is what he/she did. It is possible to map a Samba share, especially if the virtual NIC is in "Bridged" mode, and it may even be possible with the virtual NIC in "NAT" mode, but I have not tried either of those, as the UNC name provided by "Shared Folders" means that it is probably just Samba net sharing under the covers anyway.Originally posted by bltdavid View PostIs that what the OP did?
Comment
-
Exactly!Originally posted by koganam View Post... the UNC name provided by "Shared Folders" means that it is probably just Samba net sharing under the covers anyway.
I mean, Microsoft invented SMB anyways, so why would a SMB share necessarily be that different than a local NTFS volume?
Answer: they're probably not.
I suspect most differences regarding local vs shared are builtin into the high level app, for other high level reasons. Aka, it's a product design and/or marketing decision.
Case in point: SQL CE seems to have a specific issue, perhaps with memory mapping files located in a SMB share -- but then how could SQL CE 3.5 SP2 ever have worked? I submit the not-working issue really isn't technical one, but an artificial constraint builtin to SQL CE on purpose. (Which is fine, it seems MS wants you to move to SQL Express Edition if this constraint in SQL CE matters to your product.)
[Edit: Yes, I know a product constraint is just as real to users as a technical one. I'm just pointing out the distinction because the approach to a workaround solution varies based upon knowing if it is a product vs technical limitation.]
It's very curious that SQL CE 3.5 SP2 is reported to be a "one-off" from the high-level constraint of network drives not supported by SQL CE. Strange, don't you think?
But, hey, if it works, it might solve the OP's problem.
Comment
-
-
Not quite. Network drive mapping was invented in the halcyon days of DOS Network Manager and NETBIOS. It was somewhat enhanced with NETBUEI in later versions.Originally posted by bltdavid View PostExactly!
I mean, Microsoft invented SMB anyways, so why would a SMB share necessarily be that different than a local NTFS volume?
Answer: they're probably not.
I suspect most differences regarding local vs shared are builtin into the high level app, for other high level reasons. Aka, it's a product design and/or marketing decision.
Network drive mapping was only later shoe-horned onto TCP/IP, after Microsoft was dragged kicking and screaming into the standardized wide-area networking world when they finally put it in Windows for Workgroups (I believe as late as version 3.11; it was a separate addon installation in earlier versions.)
There is then a translation layer that handles the packet format and translates it to hard-disk file semantics. So no, they are very different beasts.
Then, of course, there are also security permissions, separate for network access and file access, and ACL and other such arcana.
Comment
-
-
SymLinking the NT data folder does work on local drives. As expected, if fails if you try to do it onto a networked drive.Originally posted by bltdavid View PostI just completed some initial testing.
Conclusion: Using MKLINK with SQL CE 3.5 SP2 is not a solution.
See attached screenshot.
Comment
-
Yes, but to be clear, the underlying act of symlinking works great with networked drives.Originally posted by koganam View PostSymLinking the NT data folder does work on local drives. As expected, if fails if you try to do it onto a networked drive.
Specifically, NinjaTrader suffers from the limitation builtin to SQL CE.
My testing tells me:
It is the fault of SQL CE 3.5 SP2 not supporting symlink'ed network shares that makes the access of the db\NinjaTrader.sdf fail. The MKLINK command doesn't hide anything from SQL CE, so it seems.
[But the symlink to the network share itself, in all other respects, seems to work perfectly fine. That is, MKLINK command succeeds, Windows explorer works fine, etc.]Last edited by bltdavid; 06-18-2016, 12:18 AM.
Comment
-
Agreed, but I never said that the symlink was the problem: I said that it was an SQL issue, which NT inherits. ref: your first response, in this thread, to the original post, http://ninjatrader.com/support/forum...56&postcount=1.Originally posted by bltdavid View PostYes, but to be clear, the underlying act of symlinking works great with networked drives.
Specifically, NinjaTrader suffers from the limitation builtin to SQL CE.
My testing tells me:
It is the fault of SQL CE 3.5 SP2 not supporting symlink'ed network shares that makes the access of the db\NinjaTrader.sdf fail. The MKLINK command doesn't hide anything from SQL CE, so it seems.
[But the symlink to the network share itself, in all other respects, seems to work perfectly fine. That is, MKLINK command succeeds, Windows explorer works fine, etc.]
Last edited by koganam; 06-18-2016, 07:22 AM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
44 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment