Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 21070

SP2013 Issue with Machine Translation Service - translation of pages not working:

$
0
0

Issue with Machine Translation Service - translation of pages not working:

  1. Configured the Machine translation service as per this : http://technet.microsoft.com/en-us/library/jj553772.aspx
    1. One item that is not clear is the prerequisite : “You must configure server-to-server authentication and app authentication. For more information, see Configure server-to-server authentication in SharePoint 2013 and Configure app authentication in SharePoint Server 2013. “ What is that specifically for Machine Translation Service that this setting needs to be setup to?
  2. Steps:
    1. I created English site as source and it has some pages in the pages library.
    2. The French site is created as a target site.
    3. The French site is created fine and I see the pages in the pages library that got copied over.
    4. When I go to one of these pages in the French site and in the variations tab click on “machine translate” , it initiates the translation process
    5. In the translation status page I see the page translation in progress.
    6. In the variation log the export completes successfully. I can even see the translation package that is created.
    7. However the import throws an error:  Machine translation of package /Translation Packages/bmsad_devuser1/fr-fr-Pages-20130103T0757070000Z-0/fr-fr-Pages-0001.xlf failed with error message: The file could not be downloaded from the SharePoint library because the user's permissions have changed. Please contact your system administrator to determine how permissions can be restored..
    8. I have tried with administrator(system) account and a non- system – site collection admin account. It fails every time in import.
  3. Event Log: Currently do not see any errors in the event log. 
    1. Configured certs as per this blog post: http://blogs.msdn.com/b/weslbo/archive/2012/11/07/sharepoint-2013-machine-translations-the-translation-failed-because-the-online-translation-service-was-unavailable.aspx
  4. ULS Logs : In ULS logs I see below:
    1. ImportProcessor.ShouldRejectPackage: Machine translation for package failed. (Id: 19)
    2. ImportProcessor.Process: Package was rejected. (Id: 19)
    3. UserAgent not available, file operations may not be optimized.  

 at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb)   

 at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult)   

 at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres)   

 at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres)   

 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)   

 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)   

 at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)   

 at Microsoft.SharePoint.SPFile.GetFileStream(SPWeb web, String fileUrl, Boolean honorLevel, SPFileLevel level, OpenBinaryFlags openOptions, String etagNotMatch, SPFileStreamManager spMgr, SPFileRightsManagementSettings rightsManagementSettings, String& etagNew, String& contentTagNew, SPFileInfo& fileprops)   

 at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)   

 at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions, String etagNotMatch, String& etagNew)   

 at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions)   

 at Microsoft.SharePoint.Translation.ImportProcessor.DeleteMachineTranslationBinaryFiles(TranslationPackage package)   

 at Microsoft.SharePoint.Translation.ImportProcessor.DeleteCurrentPackage(TranslationPackage package)   

 at Microsoft.SharePoint.Translation.ImportProcessor.Process(TranslationPayload& updatedPayload, Guid& packageGroupId)   

 at Microsoft.SharePoint.Translation.TranslationImportTimerJobDefinition.ProcessWorkItemCore(SPWorkItem workItem, SPWorkItemCollection workItems, SPJobState jobState, SPWeb web, DateTime yieldTime, RecordCollection records, TranslationPayload& payload)   

 at Microsoft.SharePoint.Translation.TranslationTimerJobDefinition.ProcessWorkItems(SPContentDatabase contentDatabase, SPWorkItemCollection workItems, SPJobState jobState)   

 at Microsoft.SharePoint.Administration.SPWorkItemJobDefinition.HandleOneContentDatabase(SPContentDatabase db, SPJobState jobState)   

 at Microsoft.SharePoint.Administration.SPWorkItemJobDefinition.Execute(SPJobState jobState)   

 at Microsoft.SharePoint.Translation.TranslationTimerJobDefinition.Execute(SPJobState jobState)   

 at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)   

at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)


Rajeswari Malladi


Viewing all articles
Browse latest Browse all 21070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>