<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>RC-WinTrans - RC-WinTrans Support - MSBuild Task with CO_E_SERVER_EXEC_FAILURE - Messages</title>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=264</link>
<description>RC-WinTrans - RC-WinTrans Support - MSBuild Task with CO_E_SERVER_EXEC_FAILURE - Messages</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Jitbit AspNetForum</generator>
<pubDate>Tue, 24 Feb 2015 11:00:06 GMT</pubDate>
<lastBuildDate>Tue, 24 Feb 2015 11:00:06 GMT</lastBuildDate>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=264</link>
<title>Message from Support</title>
<description><![CDATA[To register the RC-WinTrans 7 Application (COM object) use the following command in the command box: <br/>  <br/><b><i>Rct70.exe /Register <br/></i></b><br/>RC-WinTrans will start and will be registered. <br/><br/>Regards, <br/>Support, Schaudin.com<br/><em>edited by Support on 24.02.2015</em>]]></description>
<pubDate>Tue, 24 Feb 2015 11:00:06 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=264</link>
<title>Message from criebopt</title>
<description><![CDATA[Hello Support,<br/>The Build system is a Winows 2008 R2 Server (64bit), here the error occurs.<br/>On a 32bit Windows 7 installation the error doesn't occour<br/>Regards,<br/>criebopt]]></description>
<pubDate>Mon, 23 Feb 2015 15:53:42 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=264</link>
<title>Message from criebopt</title>
<description><![CDATA[Hello Support,<br/>on my local pc the code is running succesful without any issue.<br/><br/>searching the web for similar issues I found following link:<br/><a href="http://stackoverflow.com/questions/22062284/server-execution-failed-exception-from-hresult-0x80080005-co-e-server-exec-fa" target="_blank" rel="nofollow">http://stackoverflow.com/questions/22062284/server-execution-failed-exception-from-hresult-0x80080005-co-e-server-exec-fa</a><br/><br/>At my local pc there is a DCOM entry for RC-Wintrans.Application, on the TFS Build machine this entry is missing.<br/>Howto register the DCOM entry for RC-Wintrans.Application ?<br/>Regards,<br/>criebopt]]></description>
<pubDate>Mon, 23 Feb 2015 15:32:32 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=264</link>
<title>Message from Support</title>
<description><![CDATA[Hello,<br/><br/>1. try:  run this automation code not using the  Microsift TFS Build System.<br/><br/>2. try:  reduce the code to find the out where it happens or what it causes.<br/><br/>Regards,<br/>Support, Schaudin.com]]></description>
<pubDate>Mon, 23 Feb 2015 12:59:31 GMT</pubDate>
</item>
<item>
<link>https://www.rc-wintrans.com/forum_srv/messages.aspx?TopicID=264</link>
<title>Message from criebopt</title>
<description><![CDATA[Hello, we are using RC-Wintrans 7.3.95.1 with our automated Microsift TFS Build System based on MSBuild 4.0.<br/>recently we notice the following error Message when running the RC-Wintrans Application from the Build Task.<br/><br/>BuildStep TeamFoundationServerUrl="<a href="http://***.corp:8080/tfs/DefaultCollection" target="_blank" rel="nofollow">http://***.corp:8080/tfs/DefaultCollection</a>" <br/>BuildUri="vstfs:///Build/Build/9995" ID="-1" <br/>Message="***language packets started." <br/>Name="WinTrans" <br/>Status="InProgress"<br/>    Exception catched!    <br/>  Message:<span style="color:#cc0000"> <span style="color:#ff0000">Retrieving the COM class factory for component with CLSID {FFCD3AE7-16B2-48D3-85BC-6FEFFB4870FA} failed due to the following error: <br/>    80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))</span>. </span><br/>  Source: task_wintrans  <br/>  ExceptionString: <span style="color:#ff0000">System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {FFCD3AE7-16B2-48D3-85BC-6FEFFB4870FA} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)). at task_wintrans.x_wintrans.Execute() </span><br/>  StackTrace:    at task_wintrans.x_wintrans.Execute()<br/>  DBFile: d:\**\*_rc.mdb<br/><br/>How to solve the issue ???<br/>Thanks in advance.<br/><br/>We using following code to control the Application from the msbuild task:<br/><span style="color:#0000ff"><span style="color:#0000ff"><span style="color:#0000ff"><br/>public</span></span></span> <span style="color:#0000ff"><span style="color:#0000ff"><span style="color:#0000ff">override</span></span></span> <span style="color:#0000ff"><span style="color:#0000ff"><span style="color:#0000ff">bool</span></span></span> Execute()<br/>{<br/>          try<br/>          {<br/>           _rc_wintrans = new RCWinTransLib.Application();<br/>           _rc_wintrans.WindowState = 0;<br/>            // Run<br/>            RunWintrans(strDBFile,strRCFile);<br/>            // clean up<br/>            _rc_wintrans = null;<br/>            GC.Collect();  // ensure the Wintrans resource is removed by the GarbageCollector.<br/>          }<br/>          catch (System.Runtime.InteropServices.COMException ex)<br/>          {<br/>            // can't create a RCWinTrans instance<br/>            _rc_wintrans = null;<br/>            Log.LogMessage(MessageImportance.High, string.Format("Exception catched! \t\t Message: {0} Source: {1}  ExceptionString: {2} StackTrace: {3} DBFile: {4}", ex.Message, ex.Source, ex.ToString(), ex.StackTrace, strDBFile));<br/>            Log.LogMessage(MessageImportance.High, string.Format("Run RCWintrans \t\t {0}, {1} failed", strDBFile, strRCFile));<br/>          }<br/> }         <br/>          <br/>    protected bool RunWintrans(string strDBFile, string strRCFile)<br/>    {<br/>      bool bOk = true;<br/>            <br/>      bOk = _rc_wintrans.IsUpToDate(strRCFile, strDBFile);<br/>      bOk = _rc_wintrans.UpdateDatabase(strRCFile, strDBFile);<br/>      short[] langidarray = {0};<br/>      object LangIDAry = new System.Runtime.InteropServices.VariantWrapper(langidarray);<br/>      int nRet = _rc_wintrans.GetTargetLanguages(strDBFile, ref LangIDAry);<br/>      foreach (object obj in (object[])LangIDAry)<br/>      {<br/>        int langID = (short)obj;<br/>        bOk = _rc_wintrans.HasTargetLanguage(strDBFile, langID);<br/>        if (bOk == true)<br/>        {<br/>            // returns always zero ?<br/>            short Percent = 0;<br/>            Percent = _rc_wintrans.IsTranslated(strDBFile, langID);<br/>            // Write Targt File Character Encoding<br/>            //#define CODING_MBCS         1    // ASCII/MBCS<br/>            //#define CODING_UTF8         2    // UTF-8<br/>            //#define CODING_UNICODE      3    // Unicode<br/>            //#define CODING_JAVA_NATIVE  4    // Java Native ASCII (with Unicode escape sequences)<br/>            bOk = _rc_wintrans.WriteTargetFile(<br/>              "",<br/>              strDBFile,<br/>              "",<br/>              langID,<br/>              0x01,      // Options, <br/>              iEncoding, // Encoding,<br/>              "1.0.0.0", // Version,<br/>              "",<br/>              "");<br/>        }<br/>      }<br/>      return true;<br/>    }]]></description>
<pubDate>Thu, 19 Feb 2015 11:32:49 GMT</pubDate>
</item>
</channel>
</rss>
