RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        



Exception Error in Build 23 Expand / Collapse
Message
Posted 10/2/2010 10:34:11 Post #12300
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
Just installed build 23 and none of my systems will now execute - getting the exception error below


An exception of type System.IO.FileNotFoundException was thrown.
Could not load file or assembly 'Indicators, Version=2010.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at MySymbolScript.IndicatorInitiationUsed()
at MySymbolScript.Startup() in C:\Users\Stephen\AppData\Roaming\Corn2-ED2010-V5\Corn2-ED2010.vb:line 679
at MySystemBase.Startup(SystemData data) in C:\Users\Stephen\AppData\Roaming\Corn2-ED2010-V5\BaseClasses.vb:line 22
at RightEdge.Common.Internal.SystemRunner.Startup() in c:\Build\RightEdge2008Ed2\Common\Internal\SystemRunner.cs:line 132
at RightEdge.Shared.SystemWrapper.InitializeModule(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory) in c:\Build\RightEdge2008Ed2\RightEdge.Shared\TradingModuleWrapper.cs:line 1264
at RightEdge.Shared.SystemWrapper.RunSystem(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory) in c:\Build\RightEdge2008Ed2\RightEdge.Shared\TradingModuleWrapper.cs:line 1493
at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings) in c:\Build\RightEdge2008Ed2\RightEdge.Shared\TradingModuleWrapper.cs:line 1467
at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings)
at RightEdge.Shared.TradingModuleWrapper.Run(String filename) in c:\Build\RightEdge2008Ed2\RightEdge.Shared\TradingModuleWrapper.cs:line 350
at RightEdge.Shared.TradingModuleWrapper.RunSystem(SharedSystemRunData systemRunData) in c:\Build\RightEdge2008Ed2\RightEdge.Shared\TradingModuleWrapper.cs:line 305
at RightEdge.SystemProgress.InitAndRunSystem() in c:\Build\RightEdge2008Ed2\SystemProgress.cs:line 256


Also went back to version 21 which now doesnt work either need this worjking again by Monday to resume live trading - HELP PLEASE

An exception of type System.Configuration.ConfigurationErrorsException was thrown.
Configuration system failed to initialize
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
at System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(InternalConfigEventArgs e)
at System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
at System.Configuration.SettingsBase.get_Item(String propertyName)
at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
at RightEdge.Properties.Settings.get_NeedsSettingsUpgrade()
at RightEdge.AppMain.Main(String[] args)

Inner Exception:
An exception of type System.Configuration.ConfigurationErrorsException was thrown.
Unrecognized configuration section userSettings. (C:\Users\Stephen\AppData\Local\Yye_Software\RightEdge.exe_StrongName_tzopmoluzdyjreykcjm2jskkq1rnwoju\2010.1.0.0\user.config line 4)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
Posted 10/3/2010 08:59:15 Post #12303
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
Got build 21 working again - had to delete user.config file.
Posted 10/3/2010 16:46:00 Post #12306
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
We had some similar issues when we were testing build 23, and wrote some code to detect and try to fix the problem on startup. You probably have a slightly different config issue which the code wasn't able to successfully fix.

The problems are related to conflicts between the RightEdge.exe.config (in the installation folder) and the user.config file. The problem we saw was that there would be an error if the same sectionGroup (under configSections) was defined in both files and there was any difference between them. The fix we did was just to try deleting the configSections from the user.config file if there was an error loading the configuration.

I'd recommend making a backup of both files before upgrading, then trying to manually edit them if you still have the problem after upgrading.

EDIT: Oops, I didn't realize that the initial error you got after upgrading wasn't a configuration issue. The first error looks like it's an issue with the reference from your system to the Indicator DLL. Try removing and re-adding that reference in your project.

Thanks,
Daniel
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: billb, young, dplaisted

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 4:52pm

2005-2007 © RightEdge Systems