<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>RC-WinTrans - RC-WinTrans Support - Executing RCWinTrans 11 in parallel throws error - Messages</title>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<description>RC-WinTrans - RC-WinTrans Support - Executing RCWinTrans 11 in parallel throws error - Messages</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Jitbit AspNetForum</generator>
<pubDate>Sun, 28 Feb 2021 20:33:38 GMT</pubDate>
<lastBuildDate>Sun, 28 Feb 2021 20:33:38 GMT</lastBuildDate>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello AllexC,<br/><br/><br/>maybe it is not the palalel processing (?). The "Update Database" process is the most  expensive RC-WinTrans function in  time, RAM usage and creating/using a huge amount of .Net objects, each wrapped as COM object.<br/><br/><br/>You wrote:<br/>  -  "...<i>run the script from a command line: Each process does an update and writes the target files</i>.."<br/>  - " Task Scheduler: <i> it starts to fail</i>"<br/><br/><br/>The  scheduler task priorities/resources could make the difference (?)<br/> I do not know your project (MzChart_rc.rwtproject) but maybe it is size of this project and it would run with a smaller project (? )<br/> Note:  RC-WinTrans needs to load and hold all data (whole project) in memory while updating the project database.<br/><br/><br/>Your questions  <br/>1) "<i>Why cant WinTrans create the main windows.?</i>"<br/><br/><br/> I do not know. I think something is out of "resources" to create another main window with all its requirments (?).<br/><br/><br/><br/><br/>2) "<i>It cant be safe for running in parallel to have such a file all instances of RcWintrans is writing to?</i>"<br/><br/><br/>It is true, the log file is made for writing infos from/by a single application instance. <br/>Also: The log file is placed in the installation folder  where it usually can be written only when RC-WinTrans is started with "Start as administrator"<br/>  -- it is wrong the log file is in the installatin folder.<br/>But:  Opening and writing the log file is not forced and no error is created/thrown by RC-WinTrans if it is not possible.<br/><br/><br/><br/><br/>Regards,  Support Schaudin.com]]></description>
<pubDate>Sun, 28 Feb 2021 20:33:38 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello AlexC,<br/> <br/> we need a few more time to answer you. <br/><br/>Regards, Support  Schaudin.com]]></description>
<pubDate>Mon, 22 Feb 2021 21:52:30 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from AlexC</title>
<description><![CDATA[Hi<br/><br/>I have been debugging this parallel problem a lot more the last week.<br/>My OS is windows server 2012 R2 version 6.3 Build 9600<br/>My RC-WinTrans version is 11.5.2.74 and I am using the new command line interface.<br/><br/>I have a script that runs two processes in parallel. Each process works on their own database so it is not multiple access to the same database, but running RCWintrans.exe in parallel and each instance of RCWintrans.exe has exclusive access to the database it is working on.<br/>Each process does an update and writes the target files.<br/><br/>When I run the script from a command line it works fine and I can see the two instances of RCWinTrans running when I monitor it in Process Explorer, so this is as expected.<br/><br/>But when I try to run the script as a scheduled task it starts to fail. Then scheduled task has the feature "Run whether user is logged on or not" enabled. I see that it is the update that is failing. And when I am monitoring it in Process Explorer I can that the WerFault.exe is started so there is some error reporting going on.<br/>From my log files I have some times see error messages like these:<br/>=========<br/><br/>  RCWinTrans.exe /Update /proj MzChart_rc.rwtproject /lang ja-JP -all /log C:\Users\MZSERV~1\AppData\Local\Temp\wtout_4908.log <br/>  <br/>  Date: Thursday, February 18, 2021   Time: 12:07<br/>  <br/><br/><br/>  Update database...  <br/>  Project/Database: "c:\f-share\latest\Source\MZ\Util\MzChart\MzChart_rc.rwtproject"  <br/>  Language: Japanese (Japan) (ja-JP)  <br/>  Number of files: 1  <br/>  Data file error!  Language: "ja-JP"; Source file: "c:\f-share\latest\Source\MZ\Util\MzChart\MzChart.rc"<br/><br/><br/>  Temp. file: C:\Users\mzservices\AppData\Local\Temp\mzchart\RC-WinTrans\RCT11681.rwtxlf<br/><br/><br/>  Not enough storage is available to complete this operation.<br/><br/><br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvProp",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvRC",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvIni",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvXliff",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvWin32EXE",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvSHL",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvXML",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvTABSep",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvXML",  Function: "SupportedDatatypes"<br/><br/><br/>  Error: Failed to run VBA function. VBA macro: "ConvCHeader",  Function: "SupportedDatatypes"<br/><br/><br/>  Error (401): The file "c:\f-share\latest\Source\MZ\Util\MzChart\MzChart.rc" could not be converted to the internal processing format.<br/><br/>=========<br/><br/>Further more I see error messages in the windows application logs:<br/>First there is Application error:<br/>=====<br/><br/>  Faulting application name: RCWinTrans.exe, version: 11.5.2.74, time stamp: 0x5eb863b3<br/>  Faulting module name: ntdll.dll, version: 6.3.9600.19678, time stamp: 0x5e82c0f7<br/>  Exception code: 0xc0000374<br/>  Fault offset: 0x000e5d84<br/>  Faulting process id: 0x1100<br/>  Faulting application start time: 0x01d705e4b15fe62b<br/>  Faulting application path: c:\Program Files (x86)\RC-WinTrans\RC-WinTrans 11\Program\RCWinTrans.exe<br/>  Faulting module path: C:\Windows\SYSTEM32\ntdll.dll<br/>  Report Id: ef3733b4-71d7-11eb-890c-00155d140905<br/>  Faulting package full name: <br/>  Faulting package-relative application ID: <br/><br/>=====<br/>And after that there is an Windows Error Reporting event<br/>=====<br/><br/>  Fault bucket , type 0<br/>  Event Name: APPCRASH<br/>  Response: Not available<br/>  Cab Id: 0<br/><br/><br/>  Problem signature:<br/>  P1: RCWinTrans.exe<br/>  P2: 11.5.2.74<br/>  P3: 5eb863b3<br/>  P4: StackHash_44b4<br/>  P5: 6.3.9600.19678<br/>  P6: 5e82c0f7<br/>  P7: c0000374<br/>  P8: PCH_4C_FROM_ntdll+0x0003C62C<br/>  P9: <br/>  P10: <br/><br/><br/>  Attached files:<br/>  C:\Users\mzservices\AppData\Local\Temp\WERA87F.tmp.appcompat.txt<br/>  C:\Users\mzservices\AppData\Local\Temp\WERAEAA.tmp.WERInternalMetadata.xml<br/>  C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_RCWinTrans.exe_6f8c68d45b968877b57a86c6481a462889f66be9_4e70d803_cab_0c62aeb8\memory.hdmp<br/>  C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_RCWinTrans.exe_6f8c68d45b968877b57a86c6481a462889f66be9_4e70d803_cab_0c62aeb8\triagedump.dmp<br/><br/><br/>  These files may be available here:<br/>  C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_RCWinTrans.exe_6f8c68d45b968877b57a86c6481a462889f66be9_4e70d803_cab_0c62aeb8<br/><br/><br/>  Analysis symbol: <br/>  Rechecking for solution: 0<br/>  Report Id: ef3733b4-71d7-11eb-890c-00155d140905<br/>  Report Status: 4<br/>  Hashed bucket: <br/><br/>=====<br/><br/>There are different version of there Error Logs. some time it is ntdll.dll that is the Faulting module and I have also seen MSVCR100.dll as the faulting module.<br/><br/>Hope this can help you closing in on the problem.<br/>Best regards<br/>  Alex<br/><br/>By the way, forgot the tell I have made sure that each instance of RcWintrans.exe have its own temporary directory, I modify then TMP and TEMP environments variables before calling RCWintrans.exe to a unique directory.<br/>edited by AlexC on 18.02.2021<br/><br/><br/>just noticed this logfile : "C:\Program Files (x86)\RC-WinTrans\RC-WinTrans 11\LoggingFile.log" it had this error message:<br/><br/>  Starting RC-WinTrans...Date: Thursday, February 18, 2021   Time: 15:20<br/>  ApcOleInit<br/>  InitATL<br/>  LoadSettingFromINIFile<br/>  CSftTree::RegisterApp<br/>  Creating document templates<br/>  Creating main frame window...<br/>  Error: Creating main frame window failed!<br/>  Exit.<br/><br/><br/><br/>To me that seems like several problems here. This gives at least 2 questions:<br/>  1) Why cant WinTrans create the main windows.?<br/>  2) It cant be safe for running in parallel to have such a file all instances of RcWintrans is writng to?<br/>edited by AlexC on 18.02.2021<br/><em>edited by AlexC on 19.02.2021</em>]]></description>
<pubDate>Thu, 18 Feb 2021 13:39:27 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[No Alex. Sorry. It still hasn't been done.<br/><br/>Regards, <br/>Support, Schaudin.com]]></description>
<pubDate>Wed, 26 Feb 2020 11:38:10 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from AlexC</title>
<description><![CDATA[Hi,<br/>Is there is news regarding changing the output from the console to stardard output?<br/>Best regards<br/>  Alex]]></description>
<pubDate>Tue, 25 Feb 2020 14:21:43 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Alex,<br/><br/><i><span style="color:#999999">&gt; Is the conclusion on this thread then that there is an issue on running RCWinTrans.exe </span></i><br/><i><span style="color:#999999">&gt; in parallel and it will not be fixed?</span></i><br/><span style="color:#999999">&gt;</span><br/>No.<br/><br/><i><span style="color:#999999">&gt; ... run NightTest.cmd from a Windows scheduled task and then the problems start to occur. </span></i><br/><i><span style="color:#999999">&gt; If the scheduled task option “Run only when user is logged on” is checked things seems to work fine.</span></i><br/><i><span style="color:#999999">&gt; If the option “Run whether user is logged on or not” is checked I start to have problems with running</span></i><br/><i><span style="color:#999999">&gt;  RcWinTrans.exe in parallel, and in my case, I need this option to be checked. My guess is that the problems </span></i><br/><i><span style="color:#999999">&gt; is related to not having a console when this option is checked.</span></i><br/><i><span style="color:#999999">&gt;</span></i><br/>This is a concrete evidence and observation. Very helpful.  <br/>Writing to the standard output we have to fix first.<br/><br/>Thank you for your cooperation and your input up to now.<br/><br/>Regards, <br/>Support, Schaudin.com]]></description>
<pubDate>Wed, 17 Jul 2019 12:54:46 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from AlexC</title>
<description><![CDATA[Is the conclusion on this thread then that there is an issue on running RCWinTrans.exe in parallel and it will not be fixed?<br/><br/><br/>  I also get problems with RcWinTrans.exe when I try to do some operation on different databases simultaneously.<br/>  My setup is a windows command script, lets call it NighTest.cmd. NightTest.cmd kicks off a perl script that does work on different databases simultaneously. So, I will have eg. 4 instances of RCWinTrans.exe running at the same time doing work on 4 different databases. No database is accessed by more than 1 instance of RCWinTrans.exe at the same time.<br/>  When I run NightTest.cmd from a windows command prompt there don’t seem to be any issues with running RcWinTrans.exe in parallel except from the output to the console is off course messed up due to that 4 instances of RcWinTrans.exe is writing to the same console.  <br/>  But I need to run NightTest.cmd from a Windows scheduled task and then the problems start to occur.  If the scheduled task option “Run only when user is logged on” is checked things seems to work fine.<br/>  If the option “Run whether user is logged on or not” is checked I start to have problems with running RcWinTrans.exe in parallel, and in my case, I need this option to be checked. My guess is that the problems is related to not having a console when this option is checked.<br/>  In general, it is a bit of a mess to write to the console in stead of writing to standard output and standard error especially when a program can (should be able to) be run in parallel.<br/><br/><br/>Best regards<br/>  Alex]]></description>
<pubDate>Tue, 09 Jul 2019 16:19:25 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[No.  We could not find something. We canceled forcing to find the reason.<br/><br/>Regards,  Support Schaudin.com]]></description>
<pubDate>Mon, 08 Jul 2019 12:07:23 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from AlexC</title>
<description><![CDATA[Any news or updates regarding this?]]></description>
<pubDate>Thu, 04 Jul 2019 15:15:08 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johannes,<br/> <br/>when running parallel "/Update" processes there are (or can be) file access errors with no definitively identifiable cause. I'm unable to say when these problems can be solved. <br/><br/>I'm very sorry I cannot give you a better reply at the moment.<br/> <br/>Regards,<br/>Support, Schaudin.com]]></description>
<pubDate>Tue, 09 Jan 2018 22:57:35 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from johannes</title>
<description><![CDATA[Hello,<br/><br/>may I ask if these bugs will be fixed in the next version and when it will be released?<br/><br/>Kind regards,<br/>Johannes]]></description>
<pubDate>Mon, 08 Jan 2018 14:42:25 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johannes,<br/><br/>right.  The errror you've described under 2) and 3) can be reproduced.<br/><br/>Regards,<br/>Support, Schaudin.com]]></description>
<pubDate>Tue, 02 Jan 2018 14:07:54 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from johannes</title>
<description><![CDATA[Hello,<br/><br/>thank you for your answer.<br/>I set up a new machine and installed RCWinTrans Demo version 11.1 from 17th December 2017.<br/>I was able to to run the commands "Update" and "WriteAllTarget" for the .NET sample project without any problem.<br/>I have installed and enabled .NET Framework 2.0 and 3.5.<br/><br/>The errors listed as 2.) and 3.) in my previous post still occur. It doesn't matter if I run the commands in the RCWinTrans CmdLineTester or with my script: same flawed result.<br/><br/>We are eager to contribute as much help as possible to narrow down these errors.<br/>We REALLY need to run RCWinTrans in parallel!<br/><br/>Kind regards,<br/>Johannes]]></description>
<pubDate>Thu, 21 Dec 2017 14:13:42 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johanes,<br/><br/>something may be wrong with the installation of RC-WinTrans and/or components.<br/>Also: Make sure the Window Feature  ".NET 3.5 (2.0)" is enabled.<br/><br/>1)...<br/>&gt; after some seconds the application Microsoft Visual Basic for Applications - NetFilesConverter <br/>&gt; opens and an error message ...<br/>&gt;<br/>"RWTResxConv.IRWTRESXConverter" is a COM object which cannot be created or is<br/>not registered correctly in the Windows registry.   The VBA editor opens for this reason.<br/><br/>Remove RC-WinTrans and install the Demo newly.  Start the setup with "Run as administrator".<br/><br/>Then...<br/>- Start RC-WinTrans normally (GUI) to check if all is OK.  Open  e.g. the .NET Sample<br/> (Sample View)  project, check "Update Database" and "Write Target File".  <br/><br/>- Use the RC-WinTrans Command Line Editor to check the command line -- or PowerShell.  <br/>   I cannot use VMWare to support you.<br/><br/>Regards,<br/>Support, Schaudin.com]]></description>
<pubDate>Wed, 20 Dec 2017 22:39:32 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from johannes</title>
<description><![CDATA[Hello,<br/><br/>thank you for releasing the RCWinTrans 11.1 Demo version.<br/>Unfortunately, we still get some errors while running the projects in parallel:<br/><br/>1.)<br/>If I run RCWinTrans by my PowerShell script (or command line or CmdLineTester.exe) and don't open the GUI before, after some seconds the application <i>Microsoft Visual Basic for Applications - NetFilesConverter</i> opens and an error message pops up:<br/><br/>Compile error:<br/>Automation error<br/><br/>In the background the following file is shown with the highlighted area "New CRCTResxConverter":<br/><br/>Public Function RESX_to_XLIFF(ProjName As String, SrcFile As String, TargetFile As String, _<br/>                            LangCode As String) As Long<br/>    On Error GoTo ErrorHandler<br/><br/>    Dim converter As RWTResxConv.IRWTRESXConverter<br/>    Set converter = <b>New CRCTResxConverter</b><br/>    Dim Progress As ProgressView<br/>    Set Progress = Application.Windows.ProgressView<br/>    Dim hres As Long<br/>    Dim ErrMsg As String<br/>    ...<br/><br/>Since you are working on the RWTResxConv.DLL as mentioned in the release notes, I think there are still some bugs in the processing.<br/><br/>Since I am working with VMWare (virtual machines) I can definetly reproduce this error. If I open the RCWinTrans before this error message does not appear.<br/>If I open and close RCWinTrans the upper error message never appears, but I get the following errors:<br/><br/>2.)<br/>During execution of the Update command I get the following error messages from time to time:<br/><br/>a) Database access error.<br/>Error: -2146825284 Msg: Unknown error 0x800A0BBC Description: Write to file failed.<br/>Data file could not be extracted from database!  Language: "de"; File: "C:\RCWinTrans\***.dll"<br/>Error (305): The data file (DOM) could not be loaded: "de."<br/>Error (402): Conversion tool: NETFilesConverter.ConvNetAsm.FormatFileToXliff, Exit code: 4017<br/>Failed.<br/><br/>b) Data file error!  Language: "de"; Source file: "C:\RCWinTrans\***.exe"<br/>Temp. file: C:\Users\***\AppData\Local\Temp\RC-WinTrans\RCT06801.rwtxlf<br/>The system cannot locate the resource specified.<br/><br/>3.)<br/>During execution of the WriteAllTarget command I get the following error messages from time to time:<br/><br/>a)  Target file: C:\RCWinTrans\***.resources.dll<br/>Error (105): The source file has changed. The target file "C:\RCWinTrans\***.dll" cannot be written.<br/><br/>b)  Target file: C:\RCWinTrans\***.resources.dll  <br/>Database access error.<br/>Error: -2146825284 Msg: Unknown error 0x800A0BBC Description: Write to file failed.<br/>Data file could not be extracted from database!  Language: "de"; File: "C:\RCWinTrans\***.dll"<br/>Error (305): The data file (DOM) could not be loaded: "de."<br/><br/>I am willing to test further versions. Please let me know if you need any help to localize the errors.<br/><br/><br/>Regards,<br/>Johannes<br/>edited by johannes on 13.12.2017<br/><em>edited by johannes on 14.12.2017</em>]]></description>
<pubDate>Wed, 13 Dec 2017 13:56:41 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johannes,<br/><br/>the command line is updated:  RC-WinTrans 11.1<br/><br/>Multiple running instances: See the <a href="http://www.releasenotes.schaudin.com/#Version_11_Release_Notes.htm" target="_blank" rel="nofollow">release notes #36</a>.<br/>Command line improvements:  Help topic <a href="http://rc-wintrans.schaudin.com/help/#Command_Line_Processing/CommandLineCommands.htm" target="_blank" rel="nofollow">"Command Line Commands</a>" (yellow note for V11.1).<br/><br/>The<a href="http://www.schaudin.com/download/download_public.aspx" target="_blank" rel="nofollow"> Demo version</a> (V11.1) can be <a href="http://www.schaudin.com/download/download_public.aspx" target="_blank" rel="nofollow">downloaded</a> already (Dec. 11, 2017).  The Prof. Edition follows.<br/><br/>Regards,<br/>Support, Schaudin.com]]></description>
<pubDate>Mon, 11 Dec 2017 12:00:44 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johannes,<br/><br/>the next service release, including the fix for the "parallel executing", should be available in November 2017.<br/>When ready I will inform you.   ...or before to ask you if you like to test the fix.  Thank you.<br/><br/>Regards,<br/>Support, Schaudin.com]]></description>
<pubDate>Tue, 12 Sep 2017 23:29:46 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from johannes</title>
<description><![CDATA[Hello,<br/><br/><br/>I'm glad I was able to help you narrow down the error.<br/>As I said, we are very interested in running RCWinTrans projects in parallel. If I can test anything, don't hesitate to contact me.<br/><br/>Without wanting to pin you on a date: Can you speak of an approximate schedule? Are you talking about a period of days/weeks/months?<br/><br/><br/>Regards,<br/>Johannes]]></description>
<pubDate>Mon, 11 Sep 2017 14:48:31 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johannes,<br/><br/>thank you for the details and for your testing.<br/><br/>We found the processing for .NET assemblies is not save when RC-WinTrans is running parallel. <br/><br/>The .NET module uses one and the same temporary folder.  Extracting resources files out of a .NET assembly, as well as creating a .NET assembly (satellite DLL),  a resource file has (must have) a specific resources file name and is not (cannot) named unique when placed in the temp folder.  This causes (or can cause) conflicts.<br/><br/>We need to make the .NET assembly processing multi-processable. <br/><br/>Regards,<br/>Support, Schaudin.com]]></description>
<pubDate>Mon, 11 Sep 2017 14:16:28 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from johannes</title>
<description><![CDATA[Hi,<br/><br/>okay, maybe I was a little misleading. We don't want to run the update and the WriteAllTarget command in parallel, we want to run several projects at the same time. The code block of a single project encloses the two commands /Update and /WriteTargetFile, which wait for each other and are not executed in parallel.<br/><br/>But to make it clear: I start the CmdLineTester.exe twice.<br/><br/>CmdLineTester 1:<br/>Command: /Update<br/>Working Directory: C:\RCWinTrans<br/>/proj: Project1.rwtproject<br/>/lang: de<br/>/log: C: \RCWinTrans\Project1.log<br/>Command line application: C:\Program Files (x86)\RC-WinTrans\RC-WinTrans 11 Demo\Program\RCWinTrans-Demo. exe<br/><br/>CmdLineTester 2:<br/>Command: /Update<br/>Working Directory: C:\RCWinTrans<br/>/proj: Project2.rwtproject<br/>/lang: de<br/>/log: C: \RCWinTrans\Project2.log<br/>Command line application: C:\Program Files (x86)\RC-WinTrans\RC-WinTrans 11 Demo\Program\RCWinTrans-Demo. exe<br/><br/>If I click the two Execute buttons at once (with a delay of less than 1 second), 1 out of 4 execution leads to the following error:<br/><br/><i>Erzeuge Zieldatei fuer die Sprache "de"...</i><br/><i>Datenbank Zugriffsfehler.</i><br/><i>Error: -2146825284 Msg: Unknown error 0x800A0BBC Description: Write to file failed.</i><br/><i>Die Datendatei konnte nicht aus der Datenbank extrahiert werden!  Sprache: "de"; Datei: "C:\RCWinTrans\*****.dll"</i><br/><br/>In order to exclude subsequent errors, I executed the update command for both projects again one after the other, which works without any problems. Afterwards, I entered the /WriteTargetFile command in the CmdLineTester.exe for the two projects and clicked Execute again directly one after the other (more or less parallel). This leads to the already described error message:<br/><br/><i>User break: premature end.</i><br/><i>Error (404): The converter "NETFilesConverter.ConvNetAsm.XliffToFormatFile" returned exit code 53.</i><br/><br/>Again: I can definitely exclude that we translate the same project in parallel.<br/><br/>Maybe it is a timing problem and you have just the right timing and I don't.<br/><br/>Regards,<br/>Johannes<br/>edited by johannes on 11.09.2017<br/><em>edited by johannes on 11.09.2017</em>]]></description>
<pubDate>Fri, 08 Sep 2017 15:10:03 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johanes,<br/><br/><br/>I can reproduce the same error output ...<br/><br/><br/><i>"User break: premature end.</i><br/><i>Error (404): The converter "NETFilesConverter. ConvNetAsm. XliffToFormatFile" returned exit code 53.</i><br/><i>Error (105): The source file has changed. The target file "********. dll" cannot be written."</i><br/><br/><br/><br/>The output is from /WriteTargetFile when two processes have started RC-WinTrans with /WriteTargetFile<br/>for the same project and the files for the same target language.  I have a .bat file started twice with a Windows command box.<br/><br/><br/>Regards,<br/>Support, Schaudin.com<br/><em>edited by Support on 08.09.2017</em>]]></description>
<pubDate>Fri, 08 Sep 2017 14:25:18 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johannes,<br/><br/><br/>&gt; Apart from that, errors also occur when I just run the update command.<br/>&gt;<br/>This is a new information.  <br/>In your first posting  you wrote:<br/>   <i>"If I run the rwtproject file commands one after the other, everything works without a problem.</i> "<br/><br/>Then we have to check running the update command only (!?).<br/>Please clarify.<br/><br/>Is the update working when using the GUI (not the command line)?  <br/><br/><br/>&gt; Are there any restrictions on demo.exe compared to the normal exe?<br/>No.  But: We've tested the command line only with the full version.<br/><br/>&gt; Please post an example script (*.bat, *.ps1, ...) with which independent projects can be run in parallel.<br/>&gt;<br/>Sorry, no example available.<br/>To start two processes you can start e.g.  two .bat files where each is starting an RC-WinTrans with an /Update command.<br/><br/><br/>&gt; We start the translation with the following commands:<br/>&gt; "RCWinTrans /Update /proj %PROJPATH% /long %TGTLANG% /log %LOGFILE%"<br/>&gt; "RCWinTrans /WriteTargetFile /proj %PROJPATH% /long %TGTLANG% /log %LOGFILE%"<br/>&gt;<br/>This is perfect (and simple) as sample and for testing. Does this produces an error?<br/><br/><br/>&gt; RCWinTrans uses system tools to convert from BAML to XAML. <br/>&gt; Could one of these tools cause ConvNetAsm to fail because they cannot be run in parallel?<br/>&gt;<br/>An instance of RC-WinTrans is loading/using  an own instance of a tool/module (like e.g. our BAML component).<br/><br/><br/><br/>Regards,<br/>Support, Schaudin.com<br/><em>edited by Support on 08.09.2017</em>]]></description>
<pubDate>Fri, 08 Sep 2017 13:23:29 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from johannes</title>
<description><![CDATA[Hello,<br/><br/>thank you for your answer.<br/><br/><strong>Support</strong> wrote:<br/><div class=quote>Multiple access to a project is not supported. </div><br/>Good, we're not doing this. We access multiple (independent) projects in parallel.<br/><br/><strong>Support</strong> wrote:<br/><div class=quote>Also: You are running an Update Database (/Update) changing the data in the database. At the same time /WriteTargetFile is used which requires valid and ready to use data (!). </div><br/>That's NOT true.<br/><br/><strong>Support</strong> wrote:<br/><div class=quote>Make your script is running /Update first. When ready: /WriteTargetFile </div><br/>We're doing exactly this.<br/><br/><strong>johannes</strong> wrote:<br/><div class=quote>Start-Process RCWinTrans-Demo.exe -ArgumentList "/Update", "/proj", $args[0], "/lang", "de", "/log", $("C:\RCWinTrans\RCWinTrans_" + [System.IO.Path]::GetFileNameWithoutExtension($args[0]) + ".log") -<b>Wait</b></div><br/>The last parameter prevents further processing before this command is completed.<br/><br/>Each project is processed only once, in such a way that the update command is started first and waits until it is finished. Only then the WriteTargetFile command is executed. This ensures that the WriteTargetFile command is not executed until the update has been completed.<br/><b>Apart from that, errors also occur when I just run the update command.</b><br/><br/>All our RCWinTrans projects are independent of each other and do not influence each other. Could you please clarify what can be done in parallel and how exactly? This is really important to us. <br/>I also started the <b>CmdLineTester.exe</b> twice with different projects and ran the update command in parallel. Same result.<br/><br/>We're translating .NET Assemblies. As far as we know, RCWinTrans uses system tools to convert from BAML to XAML. Could one of these tools cause ConvNetAsm to fail because they cannot be run in parallel?<br/><br/>Are there any restrictions on demo.exe compared to the normal exe?<br/><br/><br/>To cut a long story short: Please post an example script (*.bat, *.ps1, ...) with which independent projects can be run in parallel.<br/><br/><br/>Regards,<br/>Johannes]]></description>
<pubDate>Fri, 08 Sep 2017 09:28:55 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johannes,<br/><br/>&gt;  our goal is to run RCWinTrans in parallel. Therefore, we were very pleased that the Release Notes of version 11 listed the following <br/>&gt; feature: "Multiple instances of RC-WinTrans 11 can be started.<br/>&gt;<br/>This is correct. Multiple instances of RC-WinTrans can be started but a translation project should be entered/processed by only one "user" (process) at a time.  Multiple access to a project is not supported. <br/><br/><br/>Also: You are running an Update Database (/Update) changing the data in the database. At the same time /WriteTargetFile is used which requires valid and ready to use data (!).   <br/><br/><br/>&gt; Error (105): The source file has changed. The target file "********. dll" cannot be written."<br/>&gt;<br/>Maybe this error come because /WriteTargetFile does not find the data ready updated or not ready to access at this time.<br/><br/><br/><br/>You can start multiple instances of RC-WinTrans 11 but do not access one and the same project at a time. This is not supported.<br/>Make your script is running /Update first. When ready:  /WriteTargetFile <br/><br/><br/>Regards,<br/>Support, Schaudin.com<br/><em>edited by Support on 07.09.2017</em>]]></description>
<pubDate>Thu, 07 Sep 2017 21:04:06 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from AlexC</title>
<description><![CDATA[Hi,<br/>I am very interested to hear if you get this working.<br/>We are doing something similar and if we could do wintrans translation in paralle it would speed up our builds significantly.<br/>Best regards and good luck<br/>Alex]]></description>
<pubDate>Thu, 07 Sep 2017 12:57:50 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from johannes</title>
<description><![CDATA[Hi,<br/><br/>thanks for your answer. For us, parallel execution is very important and would be a strong argument to upgrade from version 9, for which we have a license to the new version 11. At the moment we are still testing version 11 with the Demo version. <br/>We can rule out the possibility of multiple processes running the same projects.<br/>As far as we know, RCWinTrans uses system tools to convert from BAML to XAML. Could one of these tools cause ConvNetAsm to fail?<br/><br/>If it's helpful, here's our PowerShell script that we use to call all rwtproject files from a folder in parallel. The actual script is limited that only a maximum of four projects are processed at the same time, but this code snippet is to get you the idea of what we're doing:<br/><br/>Get-ChildItem "C:\RCWinTrans" -Filter *.rwtproject |<br/>ForEach-Object {<br/>    Start-Job -ScriptBlock {<br/>		Start-Process RCWinTrans-Demo.exe -ArgumentList "/Update", "/proj", $args[0], "/lang", "de", "/log", $("C:\RCWinTrans\RCWinTrans_" + [System.IO.Path]::GetFileNameWithoutExtension($args[0]) + ".log") -Wait<br/>		Start-Process RCWinTrans-Demo.exe -ArgumentList "/WriteTargetFile", "/proj", $args[0], "/lang", "de", "/log", $("C:\RCWinTrans\RCWinTrans_" + [System.IO.Path]::GetFileNameWithoutExtension($args[0]) + ".log") -Wait<br/>	} -ArgumentList $_.FullName<br/>}<br/><br/>Is the execution correct? Do you have any sample script that we can use as a guide?<br/><br/>Regards<br/>Johannes]]></description>
<pubDate>Thu, 07 Sep 2017 12:45:37 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from Support</title>
<description><![CDATA[Hello Johannes,<br/><br/>&gt; Are there known issues with this procedure?<br/>No.<br/><br/><br/>Note:  A project database supports only single user access.<br/>Maybe the problem comes by processing the project by multiple processes at the same time?<br/><br/><br/><br/><br/>More specific for the error output...<br/><br/>&gt; Error (404): The converter "NETFilesConverter. ConvNetAsm. XliffToFormatFile" returned exit code 53<br/>&gt;<br/>This is the RC-WinTrans module which is processing (reading/writing) .NET assemblies. The function "ConvNetAsm" fails and returns with an error.<br/>Could be a problem with loading one of your source files (a .NET assembly) (source file to be translated) <br/>twice (by a second process).  Maybe this failed at this time (?).<br/><br/><br/>This are my first ideas.<br/><br/><br/>Regards,<br/>Support, Schaudin.com]]></description>
<pubDate>Wed, 06 Sep 2017 22:59:13 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=298</link>
<title>Message from johannes</title>
<description><![CDATA[Hello,<br/><br/>our goal is to run RCWinTrans in parallel. Therefore, we were very pleased that the Release Notes of version 11 listed the following feature: <br/><br/>"Multiple instances of RC-WinTrans 11 can be started.  Prior to this only one instance of RC-WinTrans could be used at a time."<br/><br/>We start the translation with the following commands:<br/><br/>"RCWinTrans /Update /proj %PROJPATH% /long %TGTLANG% /log %LOGFILE%"<br/>"RCWinTrans /WriteTargetFile /proj %PROJPATH% /long %TGTLANG% /log %LOGFILE%"<br/><br/>If I run the rwtproject file commands one after the other, everything works without a problem. However, if I run more than 2 in parallel, the process aborts and the following error message appears in the log file:<br/>"User break: premature end.<br/>Error (404): The converter "NETFilesConverter. ConvNetAsm. XliffToFormatFile" returned exit code 53.<br/>Error (105): The source file has changed. The target file "********. dll" cannot be written."<br/><br/>Are there known issues with this procedure? Is there any resources that cannot be accessed at the same time?<br/><br/>Thanks,<br/>Johannes]]></description>
<pubDate>Tue, 05 Sep 2017 11:10:14 GMT</pubDate>
</item>
</channel>
</rss>
