Go Back   NinjaTrader Support Forum > NinjaTrader 8 > Platform Technical Support

Platform Technical Support General platform technical support for NinjaTrader 8.

NinjaTrader
Reply
 
Thread Tools Display Modes
Old 01-08-2017, 12:57 PM   #1
misova
Senior Member
 
Join Date: Feb 2013
Posts: 420
Thanks: 239
Thanked 42 times in 36 posts
Default NT8 fails to start on Windows Server 2012 R2

This is exception in the Windows Event log.
  • no visible exception. You click on NT8 icon (64bit version), but nothing starts. The only evidence can be found in Windows Event Log. - see screenshot below.
  • there are no logs in the NT8 directory. It fails even before it can start.
  • .NET 4.5 is installed and allowed. (older version like NT8 v.8.0.014 works fine - This probelm happens on v8.0.1.0 and also v8.0.2.0)
  • I already tried fresh new install (and delete old folder in Documetns) - it does not help, and fails on the same error.

Copy and paste stacktrace (from event log):
Code:
Application: NinjaTrader.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Windows.Markup.XamlParseException Stack: at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties) at NinjaTrader.App.LoadResources() at lbU=.abc=.hrc=(Object& h7c=, Object[] iLc=, Boolean ibc=, MethodBase irc=, Boolean i7c=) at lbU=.Lr0=.NL0=(Arc= ) at lbU=.yrY=.z7Y=(Arc= 0LY=) at lbU=.yrY=.z7Y=(lbU=.Arc=) at VMRuntime.Libraries.CSVMRuntime.QrY=(lbU=.tbY=, lbU=.Arc=) at VMRuntime.Libraries.CSVMRuntime.PrY=(System.Reflection.Assembly, System.String, System.Object[]) at VMRuntime.Libraries.CSVMRuntime.RunMethod(System.String, System.Object[]) at NinjaTrader.AppHelper.OnStartup(NinjaTrader.App, System.Windows.StartupEventArgs) at NinjaTrader.App.OnStartup(System.Object, System.Windows.StartupEventArgs) at System.Windows.Application.<.ctor>b__1(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run() at NinjaTrader.App.Main()
Just to see, how it looks like:
Attached Images
File Type: png 2017-01-08_195836.png (32.5 KB, 42 views)
Last edited by misova; 01-08-2017 at 03:10 PM.
misova is offline  
Reply With Quote
Old 01-08-2017, 06:15 PM   #2
NinjaTrader_DrewO
NinjaTrader Customer Service
 
NinjaTrader_DrewO's Avatar
 
Join Date: Aug 2014
Location: Denver, CO
Posts: 1,131
Thanks: 64
Thanked 167 times in 161 posts
Default

Hello,

Thanks for posting.

The below link outlines the NinjaTrader 8 Minimum PC Requirements.

http://ninjatrader.com/support/helpG...quirements.htm

The event viewer error itself seems to relate to .NET. Are there any pending updates available from Windows Update?
Last edited by NinjaTrader_DrewO; 01-12-2017 at 02:41 PM.
NinjaTrader_DrewO is offline  
Reply With Quote
The following user says thank you to NinjaTrader_DrewO for this post:
Old 01-09-2017, 04:25 AM   #3
misova
Senior Member
 
Join Date: Feb 2013
Posts: 420
Thanks: 239
Thanked 42 times in 36 posts
Default

Yes, there are some Windows Updates pending - not much, but some from the last 2 months.
I will try to apply them in the evening.

I just want to note, that, NT8 v8.0.014 (and all versions below) work completely fine.
I will let you know about the result - whether Windows Update helped.

You know, that:
  • Windows 2008 is too old now. It reached end-of-life in 2015 for the mainstream. It has just extended support until 2020.
  • Windows Server 2012 reached end-of-life a few day ago. It finished 2016-12-31.

It is real problem, because Win Server 2008 is too old. It is not offered anymore by most VPS hosting companies. The only option we have is Windows 2012 or 2016.

I would say it is really best time to improve this

I hope, it is not much work, because many older version of NT8 run fine. Just fix the inital crashing, that was introduced in NT8 v8.0.1.0
  • v8.0.0.9 runs fine on Win Server 2012
  • v8.0.0.14 runs fine on Win Server 2012
  • just last 2 versions are failing at start = v8.0.1.0 and v8.0.2.0. It means, that release v.8.0.1.0 introduced code change, that causes all this crashing. As it was introduced just now, it should be easy to fix.

Best regards
misova
Last edited by misova; 01-09-2017 at 04:35 AM.
misova is offline  
Reply With Quote
Old 01-11-2017, 01:37 PM   #4
misova
Senior Member
 
Join Date: Feb 2013
Posts: 420
Thanks: 239
Thanked 42 times in 36 posts
Default

Hi DrewO,

I am bringing good news:
After all updates for Win Server 2012 R2 were applied, then NT8 v8.0.2.0 started successfully.

So everything is fine now.
Thank you for you help.

Best regards
misova
misova is offline  
Reply With Quote
Old 01-11-2017, 09:09 PM   #5
bltdavid
Senior Member
 
Join Date: Dec 2013
Location: Silicon Valley, California
Posts: 603
Thanks: 26
Thanked 205 times in 173 posts
Default

Quote:
Originally Posted by NinjaTrader_DrewO View Post
Please note this version of Windows Server would not be a supported Operating System.
Really?

What does "Windows Server 2008 R2 or later" mean, exactly?

Doesn't "or later" mean that Windows Server 2012 is supported?
bltdavid is offline  
Reply With Quote
The following 2 users say thank you to bltdavid for this post:
Old 01-12-2017, 04:18 AM   #6
misova
Senior Member
 
Join Date: Feb 2013
Posts: 420
Thanks: 239
Thanked 42 times in 36 posts
Default

Based on the link, it really looks like Win Server 2008 R2 or later is supported.
That means also Win Server 2012 and Server 2016 are supported too.
Good point

NT guys/ladies, can you put more light onto this ?
Last edited by misova; 01-12-2017 at 04:20 AM.
misova is offline  
Reply With Quote
Old 01-12-2017, 02:41 PM   #7
NinjaTrader_DrewO
NinjaTrader Customer Service
 
NinjaTrader_DrewO's Avatar
 
Join Date: Aug 2014
Location: Denver, CO
Posts: 1,131
Thanks: 64
Thanked 167 times in 161 posts
Default

Hello,

Thanks for posting and raising this point.

I have confirmed that "or later" is to imply that subsequent versions of Windows Servers would be supported.
NinjaTrader_DrewO is offline  
Reply With Quote
The following user says thank you to NinjaTrader_DrewO for this post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2012 r2 server + NT maaz1598 Strategy Development 2 12-06-2016 11:02 AM
GRID COMPUTING windows server 2012 R2 hpc bomberone1 Suggestions And Feedback 3 05-04-2016 03:52 PM
Will not install on Windows Server 2012 R2 Datacenter john.rosenbaum Version 8 Beta 2 06-13-2015 05:44 PM
Windows Server 2008 R2 AnotherTrader Platform Technical Support 3 01-13-2015 11:18 AM
NinjaTrader 6.5 fails to start on Windows Server 2003 64 bit vxxxv Platform Technical Support 3 03-01-2010 03:08 PM


All times are GMT -6. The time now is 12:51 PM.

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations, unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is an affiliated company to NinjaTrader Brokerage (“NTB”), which is a NFA registered introducing broker (NFA #0339976) providing brokerage services to traders of futures and foreign exchange products. This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate and the information made available on this Web site is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly. The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. 

Vendors along with their websites, products and services, collectively referred to as (“Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any if its affiliates. NT or any of its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website and it’s your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content. Visit the CFTC resources for education regarding the industry and signs of fraud.