Storage Migration Service Transfer and Error Log

%3CLINGO-SUB%20id%3D%22lingo-sub-409482%22%20slang%3D%22en-US%22%3EStorage%20Migration%20Service%20Transfer%20and%20Error%20Log%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-409482%22%20slang%3D%22en-US%22%3E%3CP%3EStorage%20Migration%20service%20looks%20great%20and%20I'm%20excited%20to%20have%20an%20alternative%20to%20robocopy!%20That%20said%20I'm%20having%20an%20issue%20downloading%20the%20error%20logs%20or%20transfer%20log%20all%20together%20for%20that%20matter.%20At%20first%20the%20issue%20notes%20pointed%20to%20firewall%20or%20the%20SMS%20timeouts%20so%20I%20went%20ahead%20and%20adjusted%20them%20per%20other%20posts.%20Here's%20what%20was%20done...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EEdit%20%22C%3A%5CWindows%5CSMS%5CMicrosoft.StorageMigration.Service.exe.config%22%20and%20change%20the%20sendTimeout%20from%201%20to%2010%20minutes.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CBINDINGS%3E%3C%2FBINDINGS%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CNETTCPBINDING%3E%3C%2FNETTCPBINDING%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CBINDING%20name%3D%22%26quot%3BNetTcpBindingSms%26quot%3B%26lt%3B%2FP%22%3E%3C%2FBINDING%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20sendTimeout%3D%2200%3A10%3A00%22%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3EAdd%20the%20following%20registry%20key%20to%20change%20the%20WCF%20client%20timeout%20from%201%20to%2010%20minutes%20as%20well.%3CBR%20%2F%3E%3CBR%20%2F%3Ereg%20add%20HKLM%5CSoftware%5CMicrosoft%5CSMSPowershell%20%2Fv%20WcfOperationTimeoutInMinutes%20%2Ft%20REG_DWORD%20%2Fd%2010%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CLI%3ERestart%20the%20SMS%20services%20on%20the%20orchestrator%20server.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20the%20issue%20I'm%20having%20is%20and%20error%20message%20stating...%3C%2FP%3E%3CP%3E%24jobname%20%3A%20Transfer%20log%20%3A%20ajax%20error%20404%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20else%20encountered%20this%3F%20I%20have%2022%20files%20that%20failed%20to%20transfer%20and%20I'm%20trying%20to%20track%20down%20what%20happened%2C%20or%20at%20least%20what%20files%20they%20are.%20I%20can't%20seem%20to%20find%20that%20information%20anywhere%20and%20I'm%20hoping%20I%20can%20find%20it%20in%20the%20Error%20log.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-447475%22%20slang%3D%22en-US%22%3ERe%3A%20Storage%20Migration%20Service%20Transfer%20and%20Error%20Log%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-447475%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F316311%22%20target%3D%22_blank%22%3E%40mtz4718%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi.%20404%20error%20is%20that%20you%20don't%20have%20SMB%20port%20445%20open%20on%20your%20orchestrator%20machine%2C%20outbound.%20This%20is%20how%20Windows%20Admin%20Center%20downloads%20files%20and%20its%20a%20WAC%20error%2C%20not%20an%20SMS%20error%20that%20I%20can%20control%2C%20unfortunately.%20I'll%20make%20sure%20to%20update%20our%20docs%20to%20cover%20it%3B%20though%20the%20guide%20says%20to%20open%20that%20port%2C%20I%20forgot%20to%20include%20the%20error%20in%20case%20you%20forgot%20to%20set%20it!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENed%20Pyle%20%7C%20Principal%20Program%20Manager%2C%20MS%20%7C%20%40nerdpyle%20on%20twitter%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Visitor

Storage Migration service looks great and I'm excited to have an alternative to robocopy! That said I'm having an issue downloading the error logs or transfer log all together for that matter. At first the issue notes pointed to firewall or the SMS timeouts so I went ahead and adjusted them per other posts. Here's what was done...

 

  1. Edit "C:\Windows\SMS\Microsoft.StorageMigration.Service.exe.config" and change the sendTimeout from 1 to 10 minutes.

         <bindings>

               <netTcpBinding>

                 <binding name="NetTcpBindingSms"

                          sendTimeout="00:10:00"

  2. Add the following registry key to change the WCF client timeout from 1 to 10 minutes as well.

    reg add HKLM\Software\Microsoft\SMSPowershell /v WcfOperationTimeoutInMinutes /t REG_DWORD /d 10

  3. Restart the SMS services on the orchestrator server.

 

Now the issue I'm having is and error message stating...

$jobname : Transfer log : ajax error 404

 

 

Has anyone else encountered this? I have 22 files that failed to transfer and I'm trying to track down what happened, or at least what files they are. I can't seem to find that information anywhere and I'm hoping I can find it in the Error log.

1 Reply
Highlighted

@mtz4718 

 

Hi. 404 error is that you don't have SMB port 445 open on your orchestrator machine, outbound. This is how Windows Admin Center downloads files and its a WAC error, not an SMS error that I can control, unfortunately. I'll make sure to update our docs to cover it; though the guide says to open that port, I forgot to include the error in case you forgot to set it!

 

Ned Pyle | Principal Program Manager, MS | @nerdpyle on twitter