<!DOCTYPE html> <html> <head> </head> <body> <div> <div><span style="color: #010101; font-family: Calibri;">La situazione non è ancora chiara e visto che il problema si è presentato una sola volta e non è stato possibile riprodurlo.</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">È stata eseguita la seguente operazione:</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">La procedura é sperimentale e deve ancora essere testata ulteriormente su casi reali.</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">Se non è urgente attendere da 10 min a qualche ora prima e provare a riaccedere</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">Per individuare il file bloccato:</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">collegarsi a SQL di SPP2016</span><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">Verificare che il file sia bloccato. Cercare lo stato del campo <strong>CheckoutUserID</strong></span></div> <div><span style="color: #010101; font-family: 'Courier New'; font-size: small;"><strong> </strong></span></div> <div><span style="font-size: small;"><strong><span style="color: #010101; font-family: 'Courier New';">SELECT CheckoutUserID FROM [Nome del database].[dbo].[AllDocs] where LeafName like '%NomeDelFIle%'</span></strong></span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">Se il campo non é NULL vuol dire che é bloccato</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">IMPORTANTE: controllare che il files sia solo uno. Se vengono individuati più record nella stessa cartella vuol dire che il vile è stato Estratto prima di essere usato. Quindi prima di tutto eseguire la procedura di “Annulla estrazione”</span></div> <div> </div> <div><img src="https://wiki/images/Immagini/sp081.png" alt="" width="661" height="534" /></div> <div> </div> <div> <div> <div><span style="color: #010101; font-family: Calibri;">Fare una copia del file in locale, almeno per avere una versione, anche se non è la più recente.</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">Impostare il campo</span> <span style="color: #010101; font-family: 'Courier New'; font-size: small;"><strong>CheckoutUserID , CheckoutDate , CheckoutExpires</strong></span> <span style="color: #010101; font-family: Calibri;">a NULL</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: 'Courier New'; font-size: small;"><strong>Update [Intranet.goline.ch].[dbo].[AllDocs] set CheckoutUserID = null where LeafName = 'NomeDelFIle'</strong></span></div> <div><span style="color: #010101; font-family: 'Courier New'; font-size: small;"><strong>Update [Intranet.goline.ch].[dbo].[AllDocs] set CheckoutDate = null where LeafName = 'NomeDelFile'</strong></span></div> <div><span style="color: #010101; font-family: 'Courier New'; font-size: small;"><strong>Update [Intranet.goline.ch].[dbo].[AllDocs] set CheckoutExpires = null where LeafName = 'NomeDelFile'</strong></span></div> <div><span style="color: #010101; font-family: Calibri;"><strong> </strong></span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">La procedura é sperimentale e deve ancora essere testata ulteriormente su casi reali.</span></div> <div><span style="color: #010101; font-family: Calibri;"> </span></div> <div><span style="color: #010101; font-family: Calibri;">Se non è urgente attendere da 10 min a qualche ora prima e provare a riaccedere</span></div> <div> </div> <div> </div> </div> </div> </div> </body> </html>
Subscribe
0 Comments
Oldest