NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Connecting

Connecting Support for establishing connections to your broker or market data service provider.

Reply
 
Thread Tools Display Modes
Old 07-09-2012, 11:29 AM   #1
Frederic
Member
 
Join Date: Sep 2009
Posts: 52
Thanks: 0
Thanked 0 times in 0 posts
Send a message via MSN to Frederic
Default Unable to connect to database....

?Hello all,

today i reinstalled my windows 7, enterprise X64 and ninjatrader 7. (last version). i gave the key and direclty happear an error:
unable to connec tot database 'data source="c:.... db\Ninjatrader.sdf": objectspace: connection string is invalid - exception has been thrown by the target of an invocation.
what is the problem? windows7 is fresh installed with all updates, no antivirus.

thanks for help

Frederic
Frederic is offline  
Reply With Quote
Old 07-09-2012, 11:32 AM   #2
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,781
Thanks: 159
Thanked 565 times in 556 posts
Default

NinjaTrader requires various Microsoft components to run, one of which is SQL compact Edition. Currently you may not have SQL Compact Edition or possibly have the incorrect version of SQL Compact Edition installed.

Please follow the below steps to ensure the correct version of SQL Compact Edition is installed on your PC. If you are not entirely comfortable performing the steps below, please let me know and we can setup a time for a remote support session.
  • Navigate to the Windows Control Panel
  • Add and remove software/programs
  • Uninstall any SQL Compact Editions you see, if none are present you may ignore this step and continue onto the next step
  • Install latest SQL Compact Edition 3.5. SP2 which is available here: Download Here
  • Once you run the downloaded file it will ask you for a directory to extract the installer to. Point this to a temporary directory that you will be able to quickly locate later, such as the desktop
  • Navigate to the aforementioned directory in which the files have been extracted to (there will be two files)
  • SSCERuntime_x86-ENU.msi - Run this one first
  • SSCERuntime_x64-ENU.msi - No need to run this if you are on a 32 bit system, if you are on a 64 bit system you will also need to run this file, if you are not sure if you have a 64 bit system go ahead and run this file. If you are not using a 64 Bit operating system, the installer will cancel itself automatically
  • Follow the installation steps outlined in the installation wizard
  • Once installed you will need to restart your PC
  • You will now be able to launch NinjaTrader 7

If you are unable to launch NinjaTrader 7, please let me know and provide me with your phone number so that I may call you to further assist.
Last edited by NinjaTrader_Matthew; 11-08-2012 at 04:15 PM.
NinjaTrader_Matthew is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Matthew for this post:
Old 07-09-2012, 11:41 AM   #3
Frederic
Member
 
Join Date: Sep 2009
Posts: 52
Thanks: 0
Thanked 0 times in 0 posts
Send a message via MSN to Frederic
Default

done it made the trick. thanks for help

Frederic
Frederic is offline  
Reply With Quote
Old 09-19-2012, 04:27 PM   #4
icemanmelb
Junior Member
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default

Ive just got a new 64 bit Windows 7 running on a new laptop and i have the same issue. Installing the latest version of MS SQL Compact edition 4 64 bit without success. Please help.

Paul
icemanmelb is offline  
Reply With Quote
Old 09-20-2012, 06:50 AM   #5
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,781
Thanks: 159
Thanked 565 times in 556 posts
Default

Hello Paul,

Welcome to our forums!

If you're unable to install the 32-bit and 64-bit version of SQL from the link above, please email us at support[at]ninjatrader[dot]com and include a reference to this thread and a telephone you can be reached. We can setup a call to resolve your issue.
NinjaTrader_Matthew is offline  
Reply With Quote
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
Unable to connect to database Sunrise Version 7 Beta General Questions & Bug Reports 9 10-01-2010 12:16 AM
Unable to connect to database lawyse Installation and Licensing 11 09-17-2010 12:42 AM
Unable to connect to database... Ragingbull Version 7 Beta General Questions & Bug Reports 1 06-21-2010 01:26 PM
Unable to Connect to Database Emmeric Installation and Licensing 13 05-19-2010 08:13 AM
Unable to connect to database error veetek Miscellaneous Support 10 12-16-2009 11:51 AM


All times are GMT -6. The time now is 09:54 PM.