Issue with Machine Translation Service - translation of pages not working:
- Configured the Machine translation service as per this :
http://technet.microsoft.com/en-us/library/jj553772.aspx
- 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?
- Steps:
- I created English site as source and it has some pages in the pages library.
- The French site is created as a target site.
- The French site is created fine and I see the pages in the pages library that got copied over.
- 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
- In the translation status page I see the page translation in progress.
- In the variation log the export completes successfully. I can even see the translation package that is created.
- 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..”
- I have tried with administrator(system) account and a non- system – site collection admin account. It fails every time in import.
- Event Log: Currently do not see any errors in the event log.
- ULS Logs : In ULS logs I see below:
- ImportProcessor.ShouldRejectPackage: Machine translation for package failed. (Id: 19)
- ImportProcessor.Process: Package was rejected. (Id: 19)
- 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