У вас не стоит Flash Player
Настройки
#39735 - Mon Apr 02 2012 05:58 PM Невозможно найти csc.exe
Вася Offline
newbie

Registered: Fri Mar 30 2012
Записи: 47
Поставил TSLab 1.1.24.0 на Win XP SP3 Corporate выдала ошибку при запуске (не сохранил окно, но похоже на перехваченное исключение) далее переустановил NET 3.5 SP1 программа стала запускаться, думал уже всё хорошо, ан нет. Добавив в "Провайдера данных" файл текстовый и заменив источник данных скрипта идущего в комплекте на RTS из моего файла и интервал с 60 на 5 минут (пятиминутки в файле), получаю при попытке запуска:
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
Проверил наличие csc.exe он лежит в C:\WINXP\Microsoft.NET\Framework\v3.5 (размер 1.47 МБ).
TSLab почему-то его не видит.
Что делал:
Создал на всякий случай копию с C:\WINXP\Microsoft.NET\Framework\v3.5 в C:\Windows\Microsoft.NET\Framework\v3.5
Ещё раза два-три переустанавливал NET 3.5 SP 1 (удалял и ставил вновь).
Загрузил и установил все обновления windows update касающиеся net 3.5 да и почти все остальные.
Отключал перед запуском TSLab антивирус (каспер, да и он не ругался, а значит ничего не должен блокировать).
Бросал файл csc.exe из C:\WINXP\Microsoft.NET\Framework\v3.5 в папку C:\Program Files\TSLab\
Накатил NET 4 для разнообразия.
На компе установлена WMware8 в ней работает TSLab, видать потому что Win почти "чистая" там, только вот переставлять основную Win крайне неприятное дело - много настраивать придётся.
Параметры компа: проц AMD Athlon II, память 4 ГБ.
Как победить ошибку с csc.exe можно?

Click to reveal..
Лог:
Code:
17:18:42.06[1]DEBUG:Start logging... LocalTime 04/02/2012 17:18:42
17:18:43.43[1]DEBUG:Show splash...
17:18:43.85[1]INFO :OS=Microsoft Windows NT 5.1.2600 Service Pack 3
17:18:43.85[1]INFO :Render tier=2 is64Bit=False procCnt=3 .net=2.0.50727.3625
17:18:43.85[1]INFO :Init object container
17:18:43.87[1]INFO :Load Application settings
17:18:43.87[1]INFO :Load ResourceManager for ru-RU
17:18:43.87[1]DEBUG:Load DBManager
17:18:44.17[1]DEBUG:Initalize DS Settings
17:18:44.17[1]DEBUG:dstype=TSLab.RicomTrustDataSource.RicomTrustDataSource
17:18:44.71[1]DEBUG:Scheduler for RicomTrust: enabled=False defined=False. Nearest work=Not defined
17:18:44.87[1]DEBUG:InternalRegistered RicomTrust
17:18:44.87[1]DEBUG:dstype=TSLab.TextDS.TextDS
17:18:44.87[1]DEBUG:InternalRegistered txt
17:18:44.87[1]DEBUG:Data Sources loaded
17:18:44.89[1]DEBUG:DBManager loaded
17:18:44.89[1]DEBUG:Call Data Sources initialize
17:18:44.89[5]DEBUG:Data Sources initialize
17:18:45.10[1]DEBUG:ProviderManager:Init AddDS RicomTrust
17:18:45.10[1]DEBUG:ProviderManager:Init AddDS txt
17:18:45.28[1]DEBUG:MainWindow OnInitialized
17:18:45.39[5]DEBUG:Load DBManager
17:18:45.39[5]DEBUG:Register Data Sources
17:18:45.56[1]DEBUG:MainWindow OnApplyTemplate
17:18:45.78[1]DEBUG:MainWindow Loaded.Version=1.1.24.0
17:18:46.39[6]INFO :90 handlers found.
17:18:47.10[1]DEBUG:After ds loaded
17:18:47.10[1]DEBUG:Try to load workspace
17:18:47.12[1]DEBUG:try to load workspace=C:\Documents and Settings\Vasya\My Documents\TSLab\Demo_RicomTrust.tlw
17:18:48.10[1]DEBUG:14 items is ready to initalization after load
17:18:48.10[1]DEBUG:Start RealtimeScriptManager
17:18:48.10[1]DEBUG:Start initialization finished
17:18:48.12[Init Update]DEBUG:Start updating. Try to update manifest file.
17:18:48.12[Init Update]DEBUG:Request url http://www.tslab.ru/files/update/manifest.xml?ver=1.1.24.0&days=0&compid=e864fda2-dcfb-4269-****&appid
17:18:48.89[Init Update]DEBUG:Manifest updated
17:18:48.89[Init Update]DEBUG:Updater:Compare versions:cur 1.1.24.0 - new 1.1.24.0
17:18:48.90[Init Update]DEBUG:Updater:Manual update version:1.1.4.0
17:18:48.90[Init Update]DEBUG:Updater:Critical update version:1.1.0.0
17:18:48.90[Init Update]DEBUG:Updater:build version:1.1.24.29
17:18:48.90[Init Update]DEBUG:Load text file http://www.tslab.ru/files/update/details.html
17:18:48.90[Init Update]DEBUG:Request url http://www.tslab.ru/files/update/details.html
17:18:49.23[10]DEBUG:State 5. Initialization is started.
17:18:49.25[10]DEBUG:GetMinuteBars for GAZP interval=1 from=06/22/2010 02:55:50 to 04/03/2012 00:02:00
17:18:49.28[10]DEBUG:GetMinuteBars end for GAZP interval=1 from=06/22/2010 02:55:50 to 04/03/2012 00:02:00
17:18:49.28[10]DEBUG:State 5. Last cached date 01/21/2011 14:27:00 for GAZP:ММВБ 1M
17:18:49.28[10]DEBUG:State 5, Adding 0 trades to GAZP:ММВБ. startTime=03/30/2012 00:01:00 endTime=04/03/2012 00:02:00
17:18:49.29[10]DEBUG:State 5, UpdateData finished to GAZP:ММВБ. bars=9198
17:18:49.29[10]DEBUG:State 5. Attach update to 'GAZP:ММВБ'
17:18:49.31[6]DEBUG:m_starting false
17:18:49.31[6]DEBUG:State 6. Initialization is started.
17:18:49.31[6]DEBUG:GetMinuteBars for GAZP interval=60 from=05/22/2010 02:59:17 to 04/03/2012 02:00:00
17:18:49.31[6]DEBUG:GetMinuteBars end for GAZP interval=60 from=05/22/2010 02:59:17 to 04/03/2012 02:00:00
17:18:49.31[6]DEBUG:State 6. Last cached date 01/21/2011 13:00:00 for GAZP:ММВБ 60M
17:18:49.31[6]DEBUG:State 6, Adding 0 trades to GAZP:ММВБ. startTime=03/30/2012 01:00:00 endTime=04/03/2012 02:00:00
17:18:49.31[6]DEBUG:State 6. Make cache GAZP:ММВБ bars=696, removelast=False, date=13:00:00.00, server=17:18:49.31(17:18:49.31)
17:18:49.31[6]DEBUG:State 6, UpdateData finished to GAZP:ММВБ. bars=696
17:18:49.31[6]DEBUG:State 6. Attach update to 'GAZP:ММВБ'
17:18:49.37[6]ERROR:State 6. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:49.37[10]ERROR:State 5. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:49.40[10]DEBUG:System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:49.40[6]DEBUG:System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:49.40[10]INFO :System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:49.40[6]INFO :System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:49.40[6]DEBUG:State 6. Initialization is stopped.
17:18:49.40[10]DEBUG:State 5. Initialization is stopped.
17:18:49.40[10]DEBUG:State 7. Initialization is started.
17:18:49.40[10]DEBUG:GetMinuteBars for SBER interval=1 from=06/22/2010 00:00:00 to 04/03/2012 00:02:00
17:18:49.42[1]ERROR:State 6. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:49.42[10]DEBUG:GetMinuteBars end for SBER interval=1 from=06/22/2010 00:00:00 to 04/03/2012 00:02:00
17:18:49.42[10]DEBUG:State 7. Last cached date 01/21/2011 14:27:00 for SBER:ММВБ 1M
17:18:49.42[10]DEBUG:State 7, Adding 0 trades to SBER:ММВБ. startTime=03/30/2012 00:01:00 endTime=04/03/2012 00:02:00
17:18:49.42[10]DEBUG:State 7, UpdateData finished to SBER:ММВБ. bars=9198
17:18:49.42[10]DEBUG:State 7. Attach update to 'SBER:ММВБ'
17:18:49.46[10]ERROR:State 7. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:49.46[1]ERROR:State 5. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:49.46[10]DEBUG:System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:49.46[10]INFO :System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:49.46[10]DEBUG:State 7. Initialization is stopped.
17:18:49.46[10]DEBUG:State 8. Initialization is started.
17:18:49.46[10]DEBUG:GetMinuteBars for SBER interval=60 from=05/22/2010 00:00:00 to 04/03/2012 02:00:00
17:18:49.48[10]DEBUG:GetMinuteBars end for SBER interval=60 from=05/22/2010 00:00:00 to 04/03/2012 02:00:00
17:18:49.48[10]DEBUG:State 8. Last cached date 01/21/2011 13:00:00 for SBER:ММВБ 60M
17:18:49.48[10]DEBUG:State 8, Adding 0 trades to SBER:ММВБ. startTime=03/30/2012 01:00:00 endTime=04/03/2012 02:00:00
17:18:49.48[10]DEBUG:State 8. Make cache SBER:ММВБ bars=696, removelast=False, date=13:00:00.00, server=17:18:49.48(17:18:49.48)
17:18:49.48[10]DEBUG:State 8, UpdateData finished to SBER:ММВБ. bars=696
17:18:49.48[10]DEBUG:State 8. Attach update to 'SBER:ММВБ'
17:18:49.50[10]ERROR:State 8. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:49.51[10]DEBUG:System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:49.51[10]INFO :System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:49.51[10]DEBUG:State 8. Initialization is stopped.
17:18:49.64[1]ERROR:State 7. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:49.64[1]ERROR:State 8. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:51.04[10]DEBUG:State 10. Initialization is started.
17:18:51.12[1]ERROR:State 9. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:51.45[10]DEBUG:State 10. Last cached date 03/30/2012 23:50:00 for RTS_FUT_5MIN_01012010_01042012:FORTS 5M
17:18:51.46[10]DEBUG:State 10, Adding 0 trades to RTS_FUT_5MIN_01012010_01042012:FORTS. startTime=03/30/2012 23:55:00 endTime=04/03/2012 00:10:00
17:18:51.46[10]DEBUG:State 10, UpdateData finished to RTS_FUT_5MIN_01012010_01042012:FORTS. bars=90158
17:18:51.48[10]ERROR:State 10. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:51.50[10]DEBUG:System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:51.50[10]INFO :120:Error:Script::System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:51.50[10]INFO :System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.UpdatedProperties(TemplateData templ, IEnumerable`1 parameters, Boolean checkExec)
   в TSLab.ScriptEngine.TemplateContext.Execute(TemplateData templ, IEnumerable`1 parameters, Boolean clearCaches)
17:18:51.50[10]DEBUG:State 10. Initialization is stopped.
17:18:51.51[1]ERROR:State 10. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()
17:18:51.57[1]ERROR:State 10. Can't update template mappings
System.InvalidOperationException: Невозможно найти исполняемый файл компилятора csc.exe.
   в System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   в Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   в Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
   в System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
   в TSLab.Utils.AssemblyGenerator.MakeAssemblyFromFiles(String dllFile, String[] scriptFiles, String[] refAssemblies, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Compile(LogDelegate log, String[] dependences, Boolean genDebug)
   в TSLab.DataModel.TemplateExecutor.Rebuild(LogDelegate log, Boolean genDebug)
   в TSLab.ScriptEngine.TemplateContext.CheckExecutor()
   в TSLab.ScriptEngine.TemplateContext.GetProperties(TemplateData templ, Boolean checkExec)
   в TSLab.LabView.Script.ScriptDataManager.State.UpdateTemplateMappings()



Отредактировано ViL (Mon Apr 02 2012 07:57 PM)

Наверх
#39737 - Mon Apr 02 2012 06:29 PM Re: Невозможно найти csc.exe [Re: Вася]
Nektodron Offline

Carpal Tunnel

Registered: Thu Oct 23 2008
Записи: 5492
Такая проблема проявлялась при "кривой" инсталляции NET 3.5 у некоторых пользователях. Попробуйте сделать repair для NET, обычно это помогает.
Так же, не совсем понятно, как вы поставили программу, когда NET отсутствовал?

Наверх
#39738 - Mon Apr 02 2012 06:40 PM Re: Невозможно найти csc.exe [Re: Nektodron]
Вася Offline
newbie

Registered: Fri Mar 30 2012
Записи: 47
Originally Posted By: Nektodron
Такая проблема проявлялась при "кривой" инсталляции NET 3.5 у некоторых пользователях. Попробуйте сделать repair для NET, обычно это помогает.
Так же, не совсем понятно, как вы поставили программу, когда NET отсутствовал?


Repair т. е. "восстановление" в установка и удаление программ далее NET 3.5? Делал несколько раз, щас ещё раз сделаю.
NET 3,5 до TSLab уже был установлен, а когда "не запело" т.е. программа не запустилась я его (NET) удалил и вновь поставил.

Наверх
#39762 - Tue Apr 03 2012 10:40 AM Re: Невозможно найти csc.exe [Re: Вася]
Вася Offline
newbie

Registered: Fri Mar 30 2012
Записи: 47
По восстанавливал и "Языковой пакет NET 3.5" и сам NET 3.5 запускал через "Установка и удаление" и запускал через сам файл инсталла - результат тот же. frown
Перед этим все NET поудалял, т.е. удалил/поставил/восстановил, после "поставил" пробовал запускал TSLab и после "восстановил" - не хочет он видет csc.exe.

Наверх


Moderator:  ViL, sar