Aller directement à la fin des métadonnées
Aller au début des métadonnées

Vous regardez une version antérieure (v. /wiki/spaces/CARDOC/pages/812253186/Activer+un+seul+serveur+de+synchronisation) de cette page.

afficher les différences View Version History

« Afficher la version précédente Vous regardez la version actuelle de cette page. (v. 6) afficher la version suivante »

Si il y a beaucoup d'utilisateurs CarPack Classic, il peut être intéressant de configurer un seul serveur de synchronisation avec CarPack Mobile.

Pour cela, il faut créer le fichier serverName.cfg dans le répertoire data_carpack\carpackapi\config\serverName.cfg

Dans ce fichier indiquer le nom du serveur + "_" + le nom de l'utilisateur.

Cette information est affichée dans le synchroniseur lorsqu'il démarre:

Donc, ici, ce serait "Asus-JLS_JLS"

Dépannage

Si les photos ne sont plus synchronsées toutes seules

Vérifier les éléments suivants:

1) voir si IGSoft.CarPack.CarPackSyncWPF.exe tourne bien en mémoire

2) voir dans data_carpack\carpackAPI\ErrorsLogs si pas d'erreur récentes (en profiter pour nettoyer ce répertoire)

3) vérifier le nom du serveur indiqué dans le fichier W:\Data_CarPack\CarPackAPI\Config\serverName.cfg

  3) a) prendre le nom du serveur dans l'écran de la boule bleue, comme indiqué si dessus, puis exécuter à nouveau la tâche planifiée manuellement

  3) b) si il ne démarre toujours pas vérifier le fichier log: D:\Apps\CarPack\CarPackAPILogs\RunSync_0, il indiquera la raison pourquoi le boule bleue n'a pas été lancée

4) si cela ne fonctionne toujours pas, renommer le fichier serverName en old et lancer CarPack => la boule bleue doit se lancer

5) voir dans les fichiers D:\Apps\CarPack\CarPackAPILogs\RunSync_0 les logs du jour

6) si non: voir dans l'eventview si des erreurs ne sont pas présentes dans journaux de windows > application

dans ce cas ci

Application: IGSoft.CarPack.CarpackSyncWPF.exe

CoreCLR Version: 5.0.721.25508

.NET Version: 5.0.7

Description: The process was terminated due to an unhandled exception.

Exception Info: System.Windows.Markup.XamlParseException: L'invocation du constructeur sur le type 'IGSoft.CarPack.CarPackSync.MainWindow' qui correspond aux contraintes de liaison spécifiées a levé une exception.

 ---> System.IO.FileNotFoundException: Could not load file or assembly 'Notification.Wpf, Version=5.0.0.0, Culture=neutral, PublicKeyToken=1acac493089262b5'. Le fichier spécifié est introuvable.

File name: 'Notification.Wpf, Version=5.0.0.0, Culture=neutral, PublicKeyToken=1acac493089262b5'

   at IGSoft.CarPack.CarPackSync.MainWindow..ctor()

   --- End of inner exception stack trace ---

   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)

   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)

   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)

   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)

   at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)

   at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)

   at System.Windows.Application.DoStartup()

   at System.Windows.Application.<.ctor>b__1_0(Object unused)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

   at System.Windows.Threading.DispatcherOperation.InvokeImpl()

   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)

   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

--- End of stack trace from previous location ---

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Windows.Threading.DispatcherOperation.Invoke()

   at System.Windows.Threading.Dispatcher.ProcessQueue()

   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.Run()

   at System.Windows.Application.RunDispatcher(Object ignore)

   at System.Windows.Application.RunInternal(Window window)

   at System.Windows.Application.Run()

   at IGSoft.CarPack.CarPackSync.App.Main()


7) réinstaller le CarPackSyncSetup.exe qui doit se trouver dans le c:\carpack











  • Aucune étiquette